maven-jetty-plugin run container at default port 8080.
if we want change the port,we can start jetty like this mvn jetty:run -Djetty.port=9090
or add following code inside pom's maven-jetty-plugin configuration tag
<systemProperties>
<systemProperty>
<name>jetty.port</name>
<value>9090</value>
</systemProperty>
</systemProperties>
No comments:
Post a Comment