Создать Java проект на основе Maven архетипа trueupdate-archetype-glassfish

An archetype for a TrueUpdate application running in Oracle Glassfish.

Консольная команда для создания Java-проекта на основе архетипа trueupdate-archetype-glassfish:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dagent-subscriptionTimer-delay-seconds="My-agent-subscriptionTimer-delay-seconds"   -Dapplication="My-application"   -Djavaee-version="My-javaee-version"   -Djavase-version="My-javase-version"   -Dmanager-updateTimer-period-minutes="My-manager-updateTimer-period-minutes"   -Dserver-repositories-local-directory="My-server-repositories-local-directory"   -Dtrueupdate-version="My-trueupdate-version"   -DarchetypeGroupId="net.java.trueupdate"   -DarchetypeArtifactId="trueupdate-archetype-glassfish"   -DarchetypeVersion="0.6"   -DinteractiveMode=false 

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

agent-subscriptionTimer-delay-seconds
validationRegex: нет
application
validationRegex: нет
javaee-version
validationRegex: нет
javase-version
validationRegex: нет
manager-updateTimer-period-minutes
validationRegex: нет
server-repositories-local-directory
validationRegex: нет
trueupdate-version
validationRegex: нет

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

  • ${application}
  • update-agent-config
  • update-manager-app
  • update-manager-config
  • update-server

Подробная информация об архетипе trueupdate-archetype-glassfish

Группа

Группа

net.java.trueupdate
Идентификатор

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

trueupdate-archetype-glassfish
Версия

Версия

0.6
Тип

Тип

maven-archetype

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

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=net.java.trueupdate -DarchetypeArtifactId=trueupdate-archetype-glassfish -DarchetypeVersion=0.6 -DinteractiveMode=false