Any update guys. 
i know if i am in a hurry

darniz wrote:
> 
> Hi All
> I figured out how  to start jetty on default port on 80 with http  and
> https.
>          <plugin>
>                 <groupId>org.mortbay.jetty</groupId>
>                 <artifactId>maven-jetty-plugin</artifactId>
>                 <version>6.1.16</version>
>                 <configuration>
>                     <scanIntervalSeconds>10</scanIntervalSeconds>
>                    
> <jettyEnvXml>${basedir}/src/test/resources/jetty-env.xml</jettyEnvXml>
>                     <connectors>
>                         <connector
> implementation="org.mortbay.jetty.nio.SelectChannelConnector">
>                             <port>80</port>
>                             <maxIdleTime>60000</maxIdleTime>
>                         </connector>
> 
>                         <connector
> implementation="org.mortbay.jetty.security.SslSocketConnector">
>                             <port>443</port>
>                             <maxIdleTime>60000</maxIdleTime>
>                             <keystore>c:/xxx-ssl.keystore</keystore>
>                             <password>xxx</password>
>                             <keyPassword>xxx</keyPassword>
>                         </connector>
>                     </connectors>                    
>                 </configuration>
>             </plugin>
> The issue is that i want to change the jetty port only for my machine. So
> i came accorss setting profiles.i can activate a specific profile using
> maven jetty:run -Denvironment=mylocaljetty then that profile is pulled in
> something like this
>   <profile>
>     <activation>
>       <property>
>         <name>environment</name>
>         <value>mylocaljetty</value>
>       </property>
>     </activation>
>     ...
>   </profile>
> 
> the issue is that in profile element how can i speciy the jetty:port and
> the https credential detail. any examples.
> Thanks
> darniz
> 

-- 
View this message in context: 
http://old.nabble.com/Configure-jetty-port-in-profiles-tp28394619p28403509.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to