Создать Java проект на основе Maven архетипа 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.
Консольная команда для создания Java-проекта на основе архетипа truelicense-maven-archetype:
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" -DkeyGenAuthorizationClass="My-keyGenAuthorizationClass" -DkeyGenValidationClass="My-keyGenValidationClass" -DkeyGenValidationComposition="My-keyGenValidationComposition" -DkeyMgrAuthorizationClass="My-keyMgrAuthorizationClass" -DkeyMgrClockClass="My-keyMgrClockClass" -DkeyMgrValidationClass="My-keyMgrValidationClass" -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="net.truelicense" -DarchetypeArtifactId="truelicense-maven-archetype" -DarchetypeVersion="3.1.0" -DinteractiveMode=false
Обязательные параметры для создания java проекта:
- artifactId
-
validationRegex: нет
- artifactName
-
validationRegex: нет
- company
-
validationRegex: нет
- customClasspathScope
-
validationRegex: нет
- disableWizard
-
validationRegex: нет
- editions
-
validationRegex: нет
- freeTrialPeriod
-
validationRegex: нет
- ftpKeyStoreFile
-
validationRegex: нет
- ftpSecretMarkerClass
-
validationRegex: нет
- groupId
-
validationRegex: нет
- hideUninstallAction
-
validationRegex: нет
- keyGenAuthorizationClass
-
validationRegex: нет
- keyGenValidationClass
-
validationRegex: нет
- keyGenValidationComposition
-
validationRegex: нет
- keyMgrAuthorizationClass
-
validationRegex: нет
- keyMgrClockClass
-
validationRegex: нет
- keyMgrValidationClass
-
validationRegex: нет
- keyMgrValidationComposition
-
validationRegex: нет
- keyPairAlgorithm
-
validationRegex: нет
- keyPairSize
-
validationRegex: нет
- keyStoreType
-
validationRegex: нет
- licenseKeyFormat
-
validationRegex: нет
- package
-
validationRegex: нет
- password
-
validationRegex: нет
- pbeAlgorithm
-
validationRegex: нет
- preferencesType
-
validationRegex: нет
- privateKeyStoreFile
-
validationRegex: нет
- publicKeyStoreFile
-
validationRegex: нет
- signatureAlgorithm
-
validationRegex: нет
- subject
-
validationRegex: нет
- trueLicenseVersion
-
validationRegex: нет
- verboseCli
-
validationRegex: нет
- version
-
validationRegex: нет
Модули в готовом maven проекте
- ${rootArtifactId}-keygen
- ${rootArtifactId}-keymgr
- ${rootArtifactId}-keymgrsrv
Подробная информация об архетипе truelicense-maven-archetype
| Группа |
Группаnet.truelicense |
| Идентификатор |
Идентификаторtruelicense-maven-archetype |
| Версия |
Версия3.1.0 |
| Тип |
Типmaven-archetype |
Как подключить последнюю версию