Create Java project with Maven archetype maven-archetype-j2ee-simple

An archetype which contains a simplified sample J2EE application.

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

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

Generated Project modules

  • ear
  • ejbs
  • primary-source
  • projects
  • servlets

Details about maven archetype maven-archetype-j2ee-simple

License

License

GroupId

GroupId

org.apache.maven.archetypes
ArtifactId

ArtifactId

maven-archetype-j2ee-simple
Version

Version

1.4
Type

Type

maven-archetype
Description

Description

Maven Simple J2EE Archetype
An archetype which contains a simplified sample J2EE application.
Project URL

Project URL

https://maven.apache.org/archetypes/maven-archetype-j2ee-simple/
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-j2ee-simple

How to add to project

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