org.plasma.mojo
Class ClassRealmMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.plasma.mojo.ClassRealmMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- DDLMojo, DSLMojo, QueryMojo, RDBMojo, SDOMojo, XSDMojo
public abstract class ClassRealmMojo
- extends org.apache.maven.plugin.AbstractMojo
Abstract mojo which has an injected Plexus class realm such that
subclass mojo's can add resource and other URL's etc..
to the class world as needed using the injected
additionalClasspathElements List parameter,
as well as system properties using the {@link ClassRealmMojo.systemProperties systemProperties)
Properties collection parameter.
- Since:
- 1.1.3
- Author:
- Scott Cinnamond
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
project
protected org.apache.maven.project.MavenProject project
classRealm
protected Object classRealm
additionalClasspathElements
protected List<String> additionalClasspathElements
systemProperties
protected Properties systemProperties
- Extra System properties injected as a property collection.
ClassRealmMojo
public ClassRealmMojo()
getProject
public org.apache.maven.project.MavenProject getProject()
getSystemProperties
public Properties getSystemProperties()
addURL
protected void addURL(URL url)
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2014. All rights reserved.