This project is MuleSoft's community contribution and effort to provide several very fresh Maven archetypes for web applications that leverage the Tomcat Maven plugin (preconfigured).
On one line, type the following command, replacing com.mysamplecompany, my-sample-webapp and 1.0-SNAPSHOT as you desire.
mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate -DarchetypeGroupId=org.mulesoft.archetypes -DarchetypeArtifactId=tomcat-webapp-archetype -DarchetypeVersion=1.0.4-SNAPSHOT -DgroupId=com.mysamplecompany -DartifactId=my-sample-webapp -Dversion=1.0-SNAPSHOT
Change directories into the newly minted folder, and then type
mvn tomcat:run. This will build your code and launch the embedded tomcat.
- Open your web browser to
This project is hosted in the MuleForge Maven Repository at: http://admin.muleforge.org/projects/maven2
Add this to your Maven settings.xml or repository manager proxies.
We'll accept community feedback and open source contributions via GitHub forks and pull requests. You can email us comments at email@example.com
Tomcat Maven Plugin Homepage
Tomcat Maven Plugin Deployment Options
The developer (WebDAV) access to the downloads (where we keep the archetype catalog) is: https://dav.muleforge.org/dist/maven2/ The read only equivalent for use as a public URL is: http://dist.muleforge.org/maven2/
The developer (WebDAV) access to the repository where the archetype artifacts are hosted is: https://dav.muleforge.org/repository/maven2 and the read only equivalent is: http://repository.muleforge.org/org/mule/tools/maven2/