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"   -Dcompany="My-company"   -DcustomClasspathScope="My-customClasspathScope"   -DdisableWizard="My-disableWizard"   -Deditions="My-editions"   -DfreeTrialPeriod="My-freeTrialPeriod"   -DftpKeyStoreFile="My-ftpKeyStoreFile"   -DftpSecretMarkerClass="My-ftpSecretMarkerClass"   -DgroupId="My-groupId"   -DhideUninstallAction="My-hideUninstallAction"   -DkeyGenAuthorization="My-keyGenAuthorization"   -DkeyGenValidation="My-keyGenValidation"   -DkeyGenValidationComposition="My-keyGenValidationComposition"   -DkeyMgrAuthorization="My-keyMgrAuthorization"   -DkeyMgrClock="My-keyMgrClock"   -DkeyMgrValidation="My-keyMgrValidation"   -DkeyMgrValidationComposition="My-keyMgrValidationComposition"   -DkeyPairAlgorithm="My-keyPairAlgorithm"   -DkeyPairSize="My-keyPairSize"   -DkeyStoreType="My-keyStoreType"   -DlicenseKeyFormat="My-licenseKeyFormat"   -Dpackage="My-package"   -Dpassword="My-password"   -DpbeAlgorithm="My-pbeAlgorithm"   -DpreferencesType="My-preferencesType"   -DprivateKeyStoreFile="My-privateKeyStoreFile"   -DpublicKeyStoreFile="My-publicKeyStoreFile"   -DsignatureAlgorithm="My-signatureAlgorithm"   -Dsubject="My-subject"   -DtrueLicenseVersion="My-trueLicenseVersion"   -DverboseCli="My-verboseCli"   -Dversion="My-version"   -DarchetypeGroupId="global.namespace.truelicense-maven-archetype"   -DarchetypeArtifactId="truelicense-maven-archetype"   -DarchetypeVersion="4.0.3"   -DinteractiveMode=false 

Required parameters for generate java project:

artifactId
validationRegex: none
artifactName
validationRegex: none
company
validationRegex: none
customClasspathScope
validationRegex: \Qcompile\E|\Qruntime\E
disableWizard
validationRegex: none
editions
validationRegex: ([A-Za-z_$][A-Za-z0-9_$]*\s*)+
freeTrialPeriod
validationRegex: none
ftpKeyStoreFile
validationRegex: none
ftpSecretMarkerClass
validationRegex: none
groupId
validationRegex: none
hideUninstallAction
validationRegex: none
keyGenAuthorization
validationRegex: none
keyGenValidation
validationRegex: none
keyGenValidationComposition
validationRegex: \Qdecorate\E|\Qoverride\E
keyMgrAuthorization
validationRegex: none
keyMgrClock
validationRegex: none
keyMgrValidation
validationRegex: none
keyMgrValidationComposition
validationRegex: \Qdecorate\E|\Qoverride\E
keyPairAlgorithm
validationRegex: \Qauto\E|\QDiffieHellman\E|\QDSA\E|\QEC\E|\QRSA\E|\QRSASSA-PSS\E|\QX25519\E|\QX448\E|\QXDH\E
keyPairSize
validationRegex: none
keyStoreType
validationRegex: \Qauto\E|\QDKS\E|\QJCEKS\E|\QJKS\E|\QPKCS11\E|\QPKCS12\E
licenseKeyFormat
validationRegex: \QV1\E|\QV2/JSON\E|\QV2/XML\E|\QV4\E
package
validationRegex: none
password
validationRegex: none
pbeAlgorithm
validationRegex: \Qauto\E|\QPBEWithMD5AndDES\E|\QPBEWithMD5AndTripleDES\E|\QPBEWithSHA1AndDESede\E|\QPBEWithSHA1AndRC2_40\E|\QPBEWithSHA1AndRC2_128\E|\QPBEWithSHA1AndRC4_40\E|\QPBEWithSHA1AndRC4_128\E|\QPBEWithHmacSHA1AndAES_128\E|\QPBEWithHmacSHA224AndAES_128\E|\QPBEWithHmacSHA256AndAES_128\E|\QPBEWithHmacSHA384AndAES_128\E|\QPBEWithHmacSHA512AndAES_128\E|\QPBEWithHmacSHA1AndAES_256\E|\QPBEWithHmacSHA224AndAES_256\E|\QPBEWithHmacSHA256AndAES_256\E|\QPBEWithHmacSHA384AndAES_256\E|\QPBEWithHmacSHA512AndAES_256\E
preferencesType
validationRegex: \Qsystem\E|\Quser\E
privateKeyStoreFile
validationRegex: none
publicKeyStoreFile
validationRegex: none
signatureAlgorithm
validationRegex: \Qauto\E|\QNONEwithDSA\E|\QSHA1withDSA\E|\QSHA224withDSA\E|\QSHA256withDSA\E|\QSHA384withDSA\E|\QSHA512withDSA\E|\QSHA3-224withDSA\E|\QSHA3-256withDSA\E|\QSHA3-384withDSA\E|\QSHA3-512withDSA\E|\QNONEwithDSAinP1363Format\E|\QSHA1withDSAinP1363Format\E|\QSHA224withDSAinP1363Format\E|\QSHA256withDSAinP1363Format\E|\QNONEwithECDSA\E|\QSHA1withECDSA\E|\QSHA224withECDSA\E|\QSHA256withECDSA\E|\QSHA384withECDSA\E|\QSHA512withECDSA\E|\QSHA3-224withECDSA\E|\QSHA3-256withECDSA\E|\QSHA3-384withECDSA\E|\QSHA3-512withECDSA\E|\QNONEwithECDSAinP1363Format\E|\QSHA1withECDSAinP1363Format\E|\QSHA224withECDSAinP1363Format\E|\QSHA256withECDSAinP1363Format\E|\QSHA384withECDSAinP1363Format\E|\QSHA512withECDSAinP1363Format\E|\QNONEwithRSA\E|\QMD2withRSA\E|\QMD5withRSA\E|\QSHA1withRSA\E|\QSHA224withRSA\E|\QSHA256withRSA\E|\QSHA384withRSA\E|\QSHA512withRSA\E|\QSHA512/224withRSA\E|\QSHA512/256withRSA\E|\QSHA3-224withRSA\E|\QSHA3-256withRSA\E|\QSHA3-384withRSA\E|\QSHA3-512withRSA\E|\QRSASSA-PSS\E
subject
validationRegex: none
trueLicenseVersion
validationRegex: none
verboseCli
validationRegex: none
version
validationRegex: none

Generated Project modules

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

Details about maven archetype truelicense-maven-archetype

License

License

GroupId

GroupId

global.namespace.truelicense-maven-archetype
ArtifactId

ArtifactId

truelicense-maven-archetype
Version

Version

4.0.3
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

https://github.com/christian-schlichtherle/truelicense-maven-archetype
Project Organization

Project Organization

Schlichtherle IT Services
Source Code Management

Source Code Management

https://github.com/christian-schlichtherle/truelicense-maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=global.namespace.truelicense-maven-archetype -DarchetypeArtifactId=truelicense-maven-archetype -DarchetypeVersion=4.0.3 -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.