Create Java project with Maven archetype liberty-plugin-archetype

Parent pom for Maven tools supporting development with Websphere Liberty and Open Liberty

Create a Java Project by archetype liberty-plugin-archetype 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-plugin-archetype"   -DarchetypeVersion="3.5.2"   -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}-web
  • ${rootArtifactId}-test
  • ${rootArtifactId}-assembly

Details about maven archetype liberty-plugin-archetype

License

License

GroupId

GroupId

io.openliberty.tools
ArtifactId

ArtifactId

liberty-plugin-archetype
Version

Version

3.5.2
Type

Type

maven-archetype
Description

Description

Archetype - liberty-plugin-archetype
Parent pom for Maven tools supporting development with Websphere Liberty and Open Liberty

How to add to project

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