Home > Maven > Running Maven jetty plugin with a different port

Running Maven jetty plugin with a different port

May 29, 2011

Running a Maven Web application with jetty plugin is a very easy process.

But if you want to run the jetty with a different port ???

Use this maven switch

mvn -Djetty.port=8900 jetty:run

 

Advertisements
Categories: Maven
%d bloggers like this: