Exclude the project jar in the RAR

By default, the generated JAR file is included in the RAR file. This behavior is controlled by the includeJar property. For instance, to exclude the generated JAR file from the RAR, set the includeJar property to false.


Then execute the plugin by invoking the rar:rar goal.

mvn rar:rar