Fork me on GitHub

rmic:package

Full name:

org.codehaus.mojo:rmic-maven-plugin:1.3:package

Description:

Creates a jar containing the rmic generated classes.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: package.

Optional Parameters

Name Type Since Description
classifier String - Classifier to append to the jar.
Default value is: client.
excludes String[] - The file patterns to exclude from the jar.
finalName String - The base name of the generated jar. This name does not include the classifier or the extension.
Default value is: ${project.build.finalName}.
includes String[] - The file patterns to include in the jar. By default, all classes ending with _Stub.class will be included.
outputDirectory File - This directory contains the output of rmic (where the Stub classes are located). This is not the directory where the jar file will be written.
Default value is: ${project.build.directory}/rmi-classes.
target File - The directory to which the generated jar should be written.
Default value is: ${project.build.directory}.

Parameter Details

classifier:

Classifier to append to the jar.
  • Type: java.lang.String
  • Required: No
  • Default: client

excludes:

The file patterns to exclude from the jar.
  • Type: java.lang.String[]
  • Required: No

finalName:

The base name of the generated jar. This name does not include the classifier or the extension.
  • Type: java.lang.String
  • Required: No
  • Default: ${project.build.finalName}

includes:

The file patterns to include in the jar. By default, all classes ending with _Stub.class will be included.
  • Type: java.lang.String[]
  • Required: No

outputDirectory:

This directory contains the output of rmic (where the Stub classes are located). This is not the directory where the jar file will be written.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/rmi-classes

target:

The directory to which the generated jar should be written.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}