Re: [jetty-users] how to specify the port when using mvn:run-forked

2011-12-11 Thread Jan Bartel
http://wiki.eclipse.org/Jetty/Feature/Jetty_Maven_Plugin#jetty:run-forked__:__Running_an_unassembled_webapp_in_a_separate_jvm Either a jetty.xml file, or try passing the -Djetty.port=9090 in the . Jan On 12 December 2011 13:16, Tommy Chheng wrote: > If i'm using mvn:run-forked to run my webapp

Re: [jetty-users] how to specify the port when using mvn:run-forked

2011-12-11 Thread Tommy Chheng
To set a custom port when running mvn jetty:run-forked, i had to add a jetty.xml to the project and specify this file in the pom.xml org.mortbay.jetty jetty-maven-plugin 7.6.0.RC1 src/main/webapp/WEB-INF/jetty.xml On Sun, Dec 11, 2011 at 6:16 PM, Tommy

[jetty-users] how to specify the port when using mvn:run-forked

2011-12-11 Thread Tommy Chheng
If i'm using mvn:run-forked to run my webapp, how can i specify the port my project is running on? If i specify the following, mvn:run-forked still uses the default 8080 port. 9090 -- @tommychheng http://tommy.chheng.com __