Create a Project Manually

Use native Maven commands to create a project using the Maven archetype.

About this task

Only complete this task if you did not create the project using the management script as described in the previous task.

Procedure

  1. 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
  2. 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. The version is a unique version number used to identify the project for distribution purposes. Accept the default or use a value other than 1.

Results

When project creation completes, you should see a "BUILD SUCCESS" notification.

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).