public abstract class AbstractRmiMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected String |
compiler
The id of the rmi compiler to use.
|
protected Set<String> |
excludes
A list of exclusions when searching for classes to compile.
|
protected Set<String> |
includes
A list of inclusions when searching for classes to compile.
|
protected org.apache.maven.project.MavenProject |
project
The maven project.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Main mojo execution.
|
abstract File |
getClassesDirectory()
Get the directory where Remote impl classes are located.
|
abstract File |
getOutputDirectory()
Get the directory where rmic generated class files are written.
|
abstract List<String> |
getProjectClasspathElements()
Get the list of elements to add to the classpath of rmic
|
void |
setExcludes(Set<String> excludes)
Specifies files to exclude from rmic processing
|
void |
setIdl(Boolean idl)
Specifies whether the '-idl' option will be passed to the compiler.
|
void |
setIiop(Boolean iiop)
Specifies whether the '-iiop' option will be passed to the compiler.
|
void |
setIncludes(Set<String> includes)
Specifies files to include in rmic processing
|
void |
setKeep(Boolean keep)
Specifies whether the '-keep' option will be passed to the compiler.
|
void |
setNoLocalStubs(Boolean noLocalStubs)
Specifies whether the '-nolocalstubs' option will be passed to the compiler.
|
void |
setNoValueMethods(Boolean noValueMethods)
Specifies whether the '-noValueMethods' option will be passed to the compiler.
|
void |
setNowarn(Boolean nowarn)
Specifies whether the '-warn' option will be passed to the compiler.
|
void |
setPoa(Boolean poa)
Specifies whether the '-poa' option will be passed to the compiler.
|
void |
setVerbose(Boolean verbose)
Specifies whether the '-verbose' option will be passed to the compiler.
|
void |
setVersion(String version)
Specifies a version to be passed to the compiler.
|
@Parameter protected Set<String> includes
@Parameter protected Set<String> excludes
@Parameter(defaultValue="sun") protected String compiler
@Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject project
public abstract List<String> getProjectClasspathElements()
public abstract File getOutputDirectory()
public abstract File getClassesDirectory()
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
- if there is a problem executing the mojo.public void setIncludes(Set<String> includes)
includes
- a set of file name patternspublic void setExcludes(Set<String> excludes)
excludes
- a set of file name patternspublic void setVersion(String version)
version
- the version to passpublic void setIiop(Boolean iiop)
iiop
- if true, will pass the optionpublic void setNoLocalStubs(Boolean noLocalStubs)
noLocalStubs
- if true, will pass the optionpublic void setIdl(Boolean idl)
idl
- if true, will pass the optionpublic void setNoValueMethods(Boolean noValueMethods)
noValueMethods
- if true, will pass the optionpublic void setKeep(Boolean keep)
keep
- if true, will pass the optionpublic void setNowarn(Boolean nowarn)
nowarn
- if true, will pass the optionpublic void setPoa(Boolean poa)
poa
- if true, will pass the optionpublic void setVerbose(Boolean verbose)
verbose
- if true, will pass the optionCopyright © 2006–2017 MojoHaus. All rights reserved.