Skip to content
objectiser edited this page Aug 19, 2014 · 1 revision

Maven Archetypes

To check all the maven archetypes:

mvn archetype:generate

If you want to check just the local repository archetypes:

mvn archetype:generate -DarchetypeCatalog=local

RTGov Archetypes

In this section are specified all the RTGov Archetypes that can be created using Maven. The RTGov Archetypes can be deployed in a JEE environment as a WAR file, or in an OSGI environment as a bundle.

JEE Archetypes

This section will define all the JEE Archetypes that can be deployed in RTGov.

Information Processor Archetype

The archetype will create a skeleton ip.json file, containing the definition of the information processor. This file needs to be updated with the correct information. Additional libraries may be required in the pom.xml.

The maven command that generates the archetype is:

mvn archetype:generate                                  \
  -DarchetypeGroupId=org.overlord.tools                \
  -DarchetypeArtifactId=rtgov-archetype-ip-jee          \
  -DgroupId=<my.groupid>                                \
  -DartifactId=<my-artifactId>

More information about the contents of the ip.json and Information Processor can be found in the RTGov userguide.

Activity Validator Archetype

The archetype will create a skeleton av.json file, containing the definition of the activity validator. This file needs to be updated with the correct information. Additional libraries may be required in the pom.xml.

The maven command that generates the archetype is:

mvn archetype:generate                                  \
  -DarchetypeGroupId=org.overlord.tools                \
  -DarchetypeArtifactId=rtgov-archetype-av-jee           \
  -DgroupId=<my.groupid>                                \
  -DartifactId=<my-artifactId>

More information about the contents of the av.json and Activity Validator can be found in the RTGov userguide.

Active Collection Source Archetype

The archetype will create a skeleton acs.json file, containing the definition of the Active Collection Source. This file needs to be updated with the correct information. Additional libraries may be required in the pom.xml.

The maven command that generates the archetype is:

mvn archetype:generate                                  \
  -DarchetypeGroupId=org.overlord.tools                \
  -DarchetypeArtifactId=rtgov-archetype-acs-jee         \
  -DgroupId=<my.groupid>                                \
  -DartifactId=<my-artifactId>

More information about the contents of the acs.json and Active Collection Source can be found in the RTGov userguide.

Event Process Network Archetype

The archetype will create a skeleton epn.json file, containing the definition of the event processor network. This file needs to be updated with the correct information. Additional libraries may be required in the pom.xml.

The maven command that generates the archetype is:

mvn archetype:generate                                  \
  -DarchetypeGroupId=org.overlord.tools                \
  -DarchetypeArtifactId=rtgov-archetype-epn-jee          \
  -DgroupId=<my.groupid>                                \
  -DartifactId=<my-artifactId>

More information about the contents of the epn.json and Event Processor Network can be found in the RTGov userguide.

OSGI Archetypes

This section will define all the OSGI Archetypes that can be deployed in RTGov.

Information Processor Archetype

The archetype will create a skeleton ip.json file, containing the definition of the information processor. This file needs to be updated with the correct information. Additional libraries may be required in the pom.xml.

The maven command that generates the archetype is:

mvn archetype:generate                                  \
  -DarchetypeGroupId=org.overlord.tools                \
  -DarchetypeArtifactId=rtgov-archetype-ip-osgi          \
  -DgroupId=<my.groupid>                                \
  -DartifactId=<my-artifactId>

More information about the contents of the ip.json and Information Processor can be found in the RTGov userguide.

Activity Validator Archetype

The archetype will create a skeleton av.json file, containing the definition of the activity validator. This file needs to be updated with the correct information. Additional libraries may be required in the pom.xml.

The maven command that generates the archetype is:

mvn archetype:generate                                  \
  -DarchetypeGroupId=org.overlord.tools                \
  -DarchetypeArtifactId=rtgov-archetype-av-osgi         \
  -DgroupId=<my.groupid>                                \
  -DartifactId=<my-artifactId>

More information about the contents of the av.json and Activity Validator can be found in the RTGov userguide.

Active Collection Source Archetype

The archetype will create a skeleton acs.json file, containing the definition of the Active Collection Source. This file needs to be updated with the correct information. Additional libraries may be required in the pom.xml.

The maven command that generates the archetype is:

mvn archetype:generate                                  \
  -DarchetypeGroupId=org.overlord.tools                \
  -DarchetypeArtifactId=rtgov-archetype-acs-osgi         \
  -DgroupId=<my.groupid>                                \
  -DartifactId=<my-artifactId>

More information about the contents of the acs.json and Active Collection Source can be found in the RTGov userguide.

Event Process Network Archetype

The archetype will create a skeleton epn.json file, containing the definition of the event processor network. This file needs to be updated with the correct information. Additional libraries may be required in the pom.xml.

The maven command that generates the archetype is:

mvn archetype:generate                                  \
  -DarchetypeGroupId=org.overlord.tools                \
  -DarchetypeArtifactId=rtgov-archetype-epn-osgi         \
  -DgroupId=<my.groupid>                                \
  -DartifactId=<my-artifactId>

More information about the contents of the epn.json and Event Processor Network can be found in the RTGov userguide.