Create Java project with Maven archetype tomcat-maven-archetype

The Tomcat Maven Plugin provides goals to manipulate WAR projects within the Tomcat servlet container.

Create a Java Project by archetype tomcat-maven-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DarchetypeGroupId="org.apache.tomcat.maven"   -DarchetypeArtifactId="tomcat-maven-archetype"   -DarchetypeVersion="2.2"   -DinteractiveMode=false 

Generated Project modules

  • ${rootArtifactId}-api
  • ${rootArtifactId}-api-impl
  • ${rootArtifactId}-webapp
  • ${rootArtifactId}-webapp-exec
  • ${rootArtifactId}-webapp-it

Details about maven archetype tomcat-maven-archetype

License

License

GroupId

GroupId

org.apache.tomcat.maven
ArtifactId

ArtifactId

tomcat-maven-archetype
Version

Version

2.2
Type

Type

maven-archetype
Description

Description

Apache Tomcat Maven Plugin :: Archetype
The Tomcat Maven Plugin provides goals to manipulate WAR projects within the Tomcat servlet container.
Project URL

Project URL

http://tomcat.apache.org/maven-plugin-trunk/tomcat-maven-archetype
Project Organization

Project Organization

The Apache Software Foundation

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.apache.tomcat.maven -DarchetypeArtifactId=tomcat-maven-archetype -DarchetypeVersion=2.2 -DinteractiveMode=false

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.