public abstract class AbstractRmiMojo extends org.apache.maven.plugin.AbstractMojo implements RmicConfig
Modifier and Type | Field and Description |
---|---|
protected String |
compilerId
The id of the rmi compiler to use.
|
protected Set |
excludes
A list of exclusions when searching for classes to compile.
|
protected Set |
includes
A list of inclusions when searching for classes to compile.
|
protected org.apache.maven.project.MavenProject |
project
The maven project.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractRmiMojo()
Creates the abstract class using a production implementation of the dependencies.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Main mojo execution.
|
protected List |
generateUrlCompileClasspath()
Returns a list of URL objects that represent the classpath elements.
|
abstract File |
getClassesDirectory()
Get the directory where Remote impl classes are located.
|
String |
getCompilerId() |
abstract File |
getOutputDirectory()
Get the directory where rmic generated class files are written.
|
abstract List |
getProjectClasspathElements()
Get the list of elements to add to the classpath of rmic
|
List |
getRemoteClasses(Source source)
Search the input directory for classes to compile.
|
List |
getRmicClasspathElements()
Get the list of elements to add to the classpath of rmic
|
String |
getVersion() |
boolean |
isIdl() |
boolean |
isIiop() |
boolean |
isKeep()
Keep intermediate files
|
boolean |
isNoLocalStubs()
Do not create stubs optimized for same process.
|
boolean |
isNoValueMethods()
Do not create methods for valuetypes.
|
boolean |
isNowarn()
Turn off warnings
|
boolean |
isPoa() |
boolean |
isVerbose()
Output messages about compilation
|
protected Set includes
protected Set excludes
protected String compilerId
protected org.apache.maven.project.MavenProject project
protected AbstractRmiMojo()
public abstract List getProjectClasspathElements()
public abstract File getOutputDirectory()
public abstract File getClassesDirectory()
public void execute() throws org.apache.maven.plugin.MojoExecutionException
execute
in interface org.apache.maven.plugin.Mojo
org.apache.maven.plugin.MojoExecutionException
- if there is a problem executing the mojo.public List getRmicClasspathElements()
public List getRemoteClasses(Source source)
source
- protected List generateUrlCompileClasspath() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public String getCompilerId()
public boolean isIiop()
isIiop
in interface RmicConfig
public boolean isPoa()
isPoa
in interface RmicConfig
public boolean isIdl()
isIdl
in interface RmicConfig
public boolean isKeep()
RmicConfig
isKeep
in interface RmicConfig
public String getVersion()
getVersion
in interface RmicConfig
public boolean isNowarn()
RmicConfig
isNowarn
in interface RmicConfig
public boolean isVerbose()
RmicConfig
isVerbose
in interface RmicConfig
public boolean isNoLocalStubs()
RmicConfig
isNoLocalStubs
in interface RmicConfig
public boolean isNoValueMethods()
RmicConfig
isNoValueMethods
in interface RmicConfig
Copyright © 2006–2017 MojoHaus. All rights reserved.