Create Java project with Maven archetype maven-archetype-bundle

A maven archetype that incorporates common artifacts for OSS development and OSGi compatibility

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dpackage="My-package"   -Dversion="My-version"   -DarchetypeGroupId="org.rauschig"   -DarchetypeArtifactId="maven-archetype-bundle"   -DarchetypeVersion="0.2.0"   -DinteractiveMode=false 

Required parameters for generate java project:

package
validationRegex: none
version
validationRegex: none

Details about maven archetype maven-archetype-bundle

GroupId

GroupId

org.rauschig
ArtifactId

ArtifactId

maven-archetype-bundle
Version

Version

0.2.0
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.rauschig -DarchetypeArtifactId=maven-archetype-bundle -DarchetypeVersion=0.2.0 -DinteractiveMode=false