Создать Java проект на основе Maven архетипа truelicense-maven-plugin

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.

Консольная команда для создания Java-проекта на основе архетипа truelicense-maven-plugin:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DartifactId="My-artifactId"   -DartifactName="My-artifactName"   -Dcompany="My-company"   -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-plugin"   -DarchetypeVersion="4.0.0-M1"   -DinteractiveMode=false 

Обязательные параметры для создания java проекта:

artifactId
validationRegex: нет
artifactName
validationRegex: нет
company
validationRegex: нет
disableWizard
validationRegex: нет
editions
validationRegex: ([A-Za-z_$][A-Za-z0-9_$]*\s*)+
freeTrialPeriod
validationRegex: нет
ftpKeyStoreFile
validationRegex: нет
ftpSecretMarkerClass
validationRegex: нет
groupId
validationRegex: нет
hideUninstallAction
validationRegex: нет
keyGenAuthorization
validationRegex: нет
keyGenValidation
validationRegex: нет
keyGenValidationComposition
validationRegex: \Qdecorate\E|\Qoverride\E
keyMgrAuthorization
validationRegex: нет
keyMgrClock
validationRegex: нет
keyMgrValidation
validationRegex: нет
keyMgrValidationComposition
validationRegex: \Qdecorate\E|\Qoverride\E
keyPairAlgorithm
validationRegex: \Qauto\E|\QDSA\E|\QEC\E|\QRSA\E
keyPairSize
validationRegex: нет
keyStoreType
validationRegex: \Qauto\E|\QJCEKS\E|\QJKS\E|\QPKCS12\E
licenseKeyFormat
validationRegex: \QV1\E|\QV2/JSON\E|\QV2/XML\E
package
validationRegex: нет
password
validationRegex: нет
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: нет
publicKeyStoreFile
validationRegex: нет
signatureAlgorithm
validationRegex: \Qauto\E|\QNONEwithDSA\E|\QSHA1withDSA\E|\QSHA224withDSA\E|\QSHA256withDSA\E|\QNONEwithECDSA\E|\QSHA1withECDSA\E|\QSHA224withECDSA\E|\QSHA256withECDSA\E|\QSHA384withECDSA\E|\QSHA512withECDSA\E|\QNONEwithRSA\E|\QMD2withRSA\E|\QMD5withRSA\E|\QSHA1withRSA\E|\QSHA224withRSA\E|\QSHA256withRSA\E|\QSHA384withRSA\E|\QSHA512withRSA\E
subject
validationRegex: нет
trueLicenseVersion
validationRegex: нет
verboseCli
validationRegex: нет
version
validationRegex: нет

Модули в готовом maven проекте

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

Подробная информация об архетипе truelicense-maven-plugin

Лицензия

Лицензия

TrueLicense Commercial License
Группа

Группа

global.namespace.truelicense-maven-archetype
Идентификатор

Идентификатор

truelicense-maven-plugin
Версия

Версия

4.0.0-M1
Тип

Тип

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.
Ссылка на сайт

Ссылка на сайт

https://github.com/christian-schlichtherle/truelicense-maven-archetype
Организация-разработчик

Организация-разработчик

Schlichtherle IT Services
Система контроля версий

Система контроля версий

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

Как подключить последнюю версию

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=global.namespace.truelicense-maven-archetype -DarchetypeArtifactId=truelicense-maven-plugin -DarchetypeVersion=4.0.0-M1 -DinteractiveMode=false

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.