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
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
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
__