Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A very fresh set of Maven web application archetypes brought to you by MuleSoft
Java Shell

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
maven-archetype-webapp
.gitignore
README.md
pom.xml

README.md

The MuleSoft Maven Tomcat Web App Archetypes

Goals

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

Usage

  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-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/

Feedback

We'll accept community feedback and open source contributions via GitHub forks and pull requests. You can email us comments at code-contrib@mulesoft.com

References

Tomcat Maven Plugin Homepage

http://mojo.codehaus.org/tomcat-maven-plugin/

Tomcat Maven Plugin Deployment Options

http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html

Something went wrong with that request. Please try again.