Create a Project Manually
Use native Maven commands to create a project using the Maven archetype.
About this task
Procedure
-
Create a project using the following command, where
matrixx_release_version is the MATRIXX release version and project_name is
the name of your project.
mvn archetype:generate -DarchetypeGroupId=com.matrixx.java -DarchetypeArtifactId=extension-archetype -DarchetypeVersion=matrixx_release_version -DartifactId=project_name
For example:mvn archetype:generate -DarchetypeGroupId=com.matrixx.java -DarchetypeArtifactId=extension-archetype -DarchetypeVersion=5120 -DartifactId=MyProject
-
When prompted, answer the following questions.
- Please enter the Matrixx release version [versionNumber]:
- Define value for property 'groupId':
- Define value for property 'version' 1.0-SNAPSHOT:
The versionNumber is the MATRIXX release version. The
groupId
uniquely identifies your project across all projects. A group ID should follow Java's package name rules. See the Maven documentation for more information. Theversion
is a unique version number used to identify the project for distribution purposes. Accept the default or use a value other than 1.
Results
A new project named project is created in the /projects directory in the directory where you ran the command. In addition, the /projects includes directories for the Extensions module (/extensions) and the RS Gateway Extension module (/rsgwextension).