Create Java project with Maven archetype trueupdate-archetype-tomcat

An archetype for a TrueUpdate application running in Apache Tomcat.

Create a Java Project by archetype trueupdate-archetype-tomcat with Command Line:

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-tomcat"   -DarchetypeVersion="0.3"   -DinteractiveMode=false 

Required parameters for generate java project:

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

Generated Project modules

  • ${rootArtifactId}-agent
  • ${rootArtifactId}-demo
  • ${rootArtifactId}-manager
  • ${rootArtifactId}-server

Details about maven archetype trueupdate-archetype-tomcat

GroupId

GroupId

net.java.trueupdate
ArtifactId

ArtifactId

trueupdate-archetype-tomcat
Version

Version

0.3
Type

Type

maven-archetype

How to add to project

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