Создать 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"   -Dtrueupdate-version="My-trueupdate-version"   -Dagent-subscriptionTimer-delay="My-agent-subscriptionTimer-delay"   -Dmanager-updateTimer-period="My-manager-updateTimer-period"   -Dserver-repositories-local-directory="My-server-repositories-local-directory"   -Djavase-version="My-javase-version"   -Djavaee-version="My-javaee-version"   -DarchetypeGroupId="net.java.trueupdate"   -DarchetypeArtifactId="trueupdate-archetype-glassfish"   -DarchetypeVersion="0.5"   -DinteractiveMode=false 

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

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

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

  • ${rootArtifactId}-demo-app
  • ${rootArtifactId}-demo-config
  • ${rootArtifactId}-manager-app
  • ${rootArtifactId}-manager-config
  • ${rootArtifactId}-server-app

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

Группа

Группа

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

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

trueupdate-archetype-glassfish
Версия

Версия

0.5
Тип

Тип

maven-archetype

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

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