Create Java project with Maven archetype netbeans-platform-app-archetype

Archetype for sample application based on NetBeans Platform. Creates parent POM with branding and empty NBM project.

Create a Java Project by archetype netbeans-platform-app-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DnetbeansVersion="My-netbeansVersion"   -DarchetypeGroupId="org.codehaus.mojo.archetypes"   -DarchetypeArtifactId="netbeans-platform-app-archetype"   -DarchetypeVersion="1.12"   -DinteractiveMode=false 

Required parameters for generate java project:

netbeansVersion
validationRegex: none

Details about maven archetype netbeans-platform-app-archetype

GroupId

GroupId

org.codehaus.mojo.archetypes
ArtifactId

ArtifactId

netbeans-platform-app-archetype
Version

Version

1.12
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.codehaus.mojo.archetypes -DarchetypeArtifactId=netbeans-platform-app-archetype -DarchetypeVersion=1.12 -DinteractiveMode=false