Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Running Maven war Packaging Project Without POM Config

DZone's Guide to

Running Maven war Packaging Project Without POM Config

· Java Zone ·
Free Resource

"I love writing authentication and authorization code." ~ No Developer Ever. Try Okta Instead.

Use Jetty (latest 9.x requires JDK7)

bash> mvn org.eclipse.jetty:jetty-maven-plugin:run -Djetty.port=8081

Or use Jetty on JDK 6

bash> mvn org.mortbay.jetty:jetty-maven-plugin:8.1.12.v20130726:run -Djetty.port=8081

Or use Tomcat

bash> mvn org.apache.tomcat.maven:tomcat7-maven-plugin:run -Dmaven.tomcat.port=8081

"I love writing authentication and authorization code." ~ No Developer Ever. Try Okta Instead.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}