Create Java project with Maven archetype truelicense-maven-archetype

The TrueLicense Maven Archetype is a turn-key solution for designing and implementing a custom licensing schema for your software product. The archetype generates a tailor-made project which is composed of ready-made modules for vending and consuming license keys. The modules contain code templates which you can easily customize without writing code by configuring a set of properties.

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

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DartifactId="My-artifactId"   -DartifactName="My-artifactName"   -DcompanyName="My-companyName"   -DcustomClasspathScope="My-customClasspathScope"   -DdisableLicenseWizard="My-disableLicenseWizard"   -Deditions="My-editions"   -DfreeTrialPeriod="My-freeTrialPeriod"   -DftpKeyStoreFile="My-ftpKeyStoreFile"   -DftpSecretMarkerClass="My-ftpSecretMarkerClass"   -DgroupId="My-groupId"   -DhideUninstallAction="My-hideUninstallAction"   -DkeyGenLicenseAuthorizationClass="My-keyGenLicenseAuthorizationClass"   -DkeyGenLicenseValidationClass="My-keyGenLicenseValidationClass"   -DkeyGenLicenseValidationFunction="My-keyGenLicenseValidationFunction"   -DkeyMgrClockClass="My-keyMgrClockClass"   -DkeyMgrLicenseAuthorizationClass="My-keyMgrLicenseAuthorizationClass"   -DkeyMgrLicenseValidationClass="My-keyMgrLicenseValidationClass"   -DkeyMgrLicenseValidationFunction="My-keyMgrLicenseValidationFunction"   -DkeyPairAlgorithm="My-keyPairAlgorithm"   -DkeyPairSize="My-keyPairSize"   -DkeyStoreType="My-keyStoreType"   -DlicenseKeyFormat="My-licenseKeyFormat"   -DlicensingSubject="My-licensingSubject"   -Dpackage="My-package"   -Dpassword="My-password"   -DpbeAlgorithm="My-pbeAlgorithm"   -DpreferencesType="My-preferencesType"   -DprivateKeyStoreFile="My-privateKeyStoreFile"   -DpublicKeyStoreFile="My-publicKeyStoreFile"   -DsignatureAlgorithm="My-signatureAlgorithm"   -DtrueLicenseVersion="My-trueLicenseVersion"   -DverboseCli="My-verboseCli"   -Dversion="My-version"   -DarchetypeGroupId="net.java.truelicense"   -DarchetypeArtifactId="truelicense-maven-archetype"   -DarchetypeVersion="2.6.6"   -DinteractiveMode=false 

Required parameters for generate java project:

artifactId
validationRegex: none
artifactName
validationRegex: none
companyName
validationRegex: none
customClasspathScope
validationRegex: none
disableLicenseWizard
validationRegex: none
editions
validationRegex: none
freeTrialPeriod
validationRegex: none
ftpKeyStoreFile
validationRegex: none
ftpSecretMarkerClass
validationRegex: none
groupId
validationRegex: none
hideUninstallAction
validationRegex: none
keyGenLicenseAuthorizationClass
validationRegex: none
keyGenLicenseValidationClass
validationRegex: none
keyGenLicenseValidationFunction
validationRegex: none
keyMgrClockClass
validationRegex: none
keyMgrLicenseAuthorizationClass
validationRegex: none
keyMgrLicenseValidationClass
validationRegex: none
keyMgrLicenseValidationFunction
validationRegex: none
keyPairAlgorithm
validationRegex: none
keyPairSize
validationRegex: none
keyStoreType
validationRegex: none
licenseKeyFormat
validationRegex: none
licensingSubject
validationRegex: none
package
validationRegex: none
password
validationRegex: none
pbeAlgorithm
validationRegex: none
preferencesType
validationRegex: none
privateKeyStoreFile
validationRegex: none
publicKeyStoreFile
validationRegex: none
signatureAlgorithm
validationRegex: none
trueLicenseVersion
validationRegex: none
verboseCli
validationRegex: none
version
validationRegex: none

Generated Project modules

  • ${rootArtifactId}-keygen
  • ${rootArtifactId}-keymgr
  • ${rootArtifactId}-keymgrsvc

Details about maven archetype truelicense-maven-archetype

License

License

TrueLicense Commercial License
GroupId

GroupId

net.java.truelicense
ArtifactId

ArtifactId

truelicense-maven-archetype
Version

Version

2.6.6
Type

Type

maven-archetype
Description

Description

TrueLicense Maven Archetype
The TrueLicense Maven Archetype is a turn-key solution for designing and implementing a custom licensing schema for your software product. The archetype generates a tailor-made project which is composed of ready-made modules for vending and consuming license keys. The modules contain code templates which you can easily customize without writing code by configuring a set of properties.
Project URL

Project URL

http://truelicense.net/truelicense-maven-archetype/
Project Organization

Project Organization

Schlichtherle IT Services

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.6.6 -DinteractiveMode=false

Dependencies

compile (4)

Group / Artifact Type Version
net.java.truelicense : truelicense-jax-rs jar 2.6.6
net.java.truelicense : truelicense-json jar 2.6.6
net.java.truelicense : truelicense-maven-plugin jar 2.6.6
net.java.truelicense : truelicense-swing jar 2.6.6

Project Modules

There are no modules declared in this project.