Create Java project with Maven archetype liberty-archetype-ear

An archetype that generates a Java EE 8 multi-module project that includes an EJB module, a web application module and an EAR module

Create a Java Project by archetype liberty-archetype-ear with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DgroupId="My-groupId"   -DartifactId="My-artifactId"   -DruntimeGroupId="My-runtimeGroupId"   -DruntimeArtifactId="My-runtimeArtifactId"   -DruntimeVersion="My-runtimeVersion"   -DlibertyPluginVersion="My-libertyPluginVersion"   -DarchetypeGroupId="io.openliberty.tools"   -DarchetypeArtifactId="liberty-archetype-ear"   -DarchetypeVersion="3.6.1"   -DinteractiveMode=false 

Required parameters for generate java project:

groupId
validationRegex: none
artifactId
validationRegex: none
runtimeGroupId
validationRegex: none
runtimeArtifactId
validationRegex: none
runtimeVersion
validationRegex: none
libertyPluginVersion
validationRegex: none

Generated Project modules

  • ${rootArtifactId}-ejb
  • ${rootArtifactId}-war
  • ${rootArtifactId}-ear

Details about maven archetype liberty-archetype-ear

License

License

GroupId

GroupId

io.openliberty.tools
ArtifactId

ArtifactId

liberty-archetype-ear
Version

Version

3.6.1
Type

Type

maven-archetype
Description

Description

Archetype - liberty-archetype-ear
An archetype that generates a Java EE 8 multi-module project that includes an EJB module, a web application module and an EAR module

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=io.openliberty.tools -DarchetypeArtifactId=liberty-archetype-ear -DarchetypeVersion=3.6.1 -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.