Create Java project with Maven archetype maven-archetype-webapp

An archetype which contains a sample Maven Webapp project.

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

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

Details about maven archetype maven-archetype-webapp

License

License

GroupId

GroupId

org.apache.maven.archetypes
ArtifactId

ArtifactId

maven-archetype-webapp
Version

Version

1.4
Type

Type

maven-archetype
Description

Description

Maven Webapp Archetype
An archetype which contains a sample Maven Webapp project.
Project URL

Project URL

https://maven.apache.org/archetypes/maven-archetype-webapp/
Project Organization

Project Organization

The Apache Software Foundation
Source Code Management

Source Code Management

https://github.com/apache/maven-archetypes/tree/maven-archetype-bundles-1.4/maven-archetype-webapp

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-webapp -DarchetypeVersion=1.4 -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.