Package org.codehaus.mojo.rmic
Class PackageRmiMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.rmic.PackageRmiMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
public class PackageRmiMojo extends org.apache.maven.plugin.AbstractMojo
Creates a jar containing the rmic generated classes.- Version:
- $Id: PackageRmiMojo.java 8084 2008-11-13 16:48:02Z pgier $
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
classifier
Classifier to append to the jar.private java.lang.String[]
excludes
The file patterns to exclude from the jar.private java.lang.String
finalName
The base name of the generated jar.private java.lang.String[]
includes
The file patterns to include in the jar.private java.io.File
outputDirectory
This directory contains the output of rmic (where the Stub classes are located).private org.apache.maven.project.MavenProject
project
private org.apache.maven.project.MavenProjectHelper
projectHelper
The maven project helper.private java.io.File
target
The directory to which the generated jar should be written.
-
Constructor Summary
Constructors Constructor Description PackageRmiMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Execute the plugin
-
-
-
Field Detail
-
target
private java.io.File target
The directory to which the generated jar should be written.
-
finalName
private java.lang.String finalName
The base name of the generated jar. This name does not include the classifier or the extension.
-
project
private org.apache.maven.project.MavenProject project
-
classifier
private java.lang.String classifier
Classifier to append to the jar.
-
outputDirectory
private java.io.File 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.
-
includes
private java.lang.String[] includes
The file patterns to include in the jar. By default, all classes ending with _Stub.class will be included.
-
excludes
private java.lang.String[] excludes
The file patterns to exclude from the jar.
-
projectHelper
private org.apache.maven.project.MavenProjectHelper projectHelper
The maven project helper.
-
-