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.
Permalink
Failed to load latest commit information.
maven-archetype-webapp
maven-archetype-wicket
.gitignore
README.md
archetype-catalog.xml
generate-webapp-from-archetype.sh
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.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/

Repo

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.

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

Developer Info

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/