Apache

Docs Plugins

RAR Plugin 3.1.0 · Other versions

Builds a Resource Adapter Archive (RAR) from the project output for deployment to a J2EE server.

Source
Edit this page
Wrong?
Report a problem

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.

<project>
  [...]
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-rar-plugin</artifactId>
        <version>3.1.0</version>
        <configuration>
           <manifestFile>src/resources/META-INF/MANIFEST.MF</manifestFile>
        </configuration>
      </plugin>
    </plugins>
  </build>
  [...]
</project>