Work in progress

This site is in the process of being reviewed and updated.

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
directory and run

mvn generate

and the Source and Binary RPMs for the target
project will be created.

Related Challenges

  • Editing the Configuration File Using the Eclipse JPackage Configuration File Editor
  • Editing the JPackage RPM Plugin Configuration File
  • Generating the Source RPM and Binary RPM.
  • No labels