Fetching contributors…
Cannot retrieve contributors at this time
51 lines (34 sloc) 2.05 KB

The MuleSoft Maven Tomcat Web App Archetypes


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).


  1. 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

  2. Change directories into the newly minted folder, and then type mvn tomcat:run. This will build your code and launch the embedded tomcat.

  3. Open your web browser to http://localhost:8080/my-sample-webapp/


This project is hosted in the MuleForge Maven Repository at:

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


Tomcat Maven Plugin Homepage

Tomcat Maven Plugin Deployment Options

Developer Info

The developer (WebDAV) access to the downloads (where we keep the archetype catalog) is: The read only equivalent for use as a public URL is:

The developer (WebDAV) access to the repository where the archetype artifacts are hosted is: and the read only equivalent is: