Adding Manifest File

By default, The RAR plugin retrieves the manifest file to use in this location $basedir/src/main/rar/META-INF/MANIFEST.MF. To be able to change the location, configure the manifestFile property and set the value to the new location.

  1. <project>
  2. [...]
  3. <build>
  4. <plugins>
  5. <plugin>
  6. <groupId>org.apache.maven.plugins</groupId>
  7. <artifactId>maven-rar-plugin</artifactId>
  8. <version>3.0.0</version>
  9. <configuration>
  10. <manifestFile>src/resources/META-INF/MANIFEST.MF</manifestFile>
  11. </configuration>
  12. </plugin>
  13. </plugins>
  14. </build>
  15. [...]
  16. </project>