Create Java project with Maven archetype truelicense-maven-archetype

A Maven archetype for license vendor and consumer applications.

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dtruelicense-version="My-truelicense-version"   -Dsubject="My-subject"   -DclassInPackageForUserPreferencesNodeForStoringAutoCreatedLicenseKeyForFreeTrialPeriod="My-classInPackageForUserPreferencesNodeForStoringAutoCreatedLicenseKeyForFreeTrialPeriod"   -DarchetypeGroupId="net.java.truelicense"   -DarchetypeArtifactId="truelicense-maven-archetype"   -DarchetypeVersion="2.0-rc5"   -DinteractiveMode=false 

Required parameters for generate java project:

truelicense-version
validationRegex: none
subject
validationRegex: none
classInPackageForUserPreferencesNodeForStoringAutoCreatedLicenseKeyForFreeTrialPeriod
validationRegex: none

Generated Project modules

  • product
  • keygen

Details about maven archetype truelicense-maven-archetype

GroupId

GroupId

net.java.truelicense
ArtifactId

ArtifactId

truelicense-maven-archetype
Version

Version

2.0-rc5
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=net.java.truelicense -DarchetypeArtifactId=truelicense-maven-archetype -DarchetypeVersion=2.0-rc5 -DinteractiveMode=false