Challenge
Creating a JPackage RPM Archetype Project
Solution
Run the command
mvn archetype:create -DarchetypeVersion=1.0 -DarchetypeGroupId=org.jpackage.archetype -DarchetypeArtifactId=installer.archetype -DartifactId="The artifact ID of the project"
Discussion
Creating a JPackage RPM Archetype project
provides you with a starting point for
mapping your Maven project to a JPackage RPM.
Simply complete the edit the configuration file config.xml2spec
contained in the $project_root/src/main/resource
Related Material
- Editing