org.ops4j.pax.construct.lifecycle
Class BundleCompilerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.AbstractCompilerMojo
org.apache.maven.plugin.CompilerMojo
org.ops4j.pax.construct.lifecycle.BundleCompilerMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class BundleCompilerMojo
- extends org.apache.maven.plugin.CompilerMojo
Extends CompilerMojo to
support compiling against OSGi bundles with embedded jars.
Inherited parameters can still be used, but
unfortunately don't appear in the generated docs.
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
|
protected java.util.List |
getClasspathElements()
|
protected static void |
mergeCompilerConfiguration(org.apache.maven.plugin.AbstractCompilerMojo mojo,
org.apache.maven.project.MavenProject project)
Copy additional compiler settings from maven-compiler-plugin section (only handles simple configuration items) |
Methods inherited from class org.apache.maven.plugin.CompilerMojo |
getCompileSourceRoots, getOutputDirectory, getSourceInclusionScanner, getSourceInclusionScanner |
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 |
BundleCompilerMojo
public BundleCompilerMojo()
getClasspathElements
protected java.util.List getClasspathElements()
-
- Overrides:
getClasspathElements
in class org.apache.maven.plugin.CompilerMojo
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.CompilationFailureException
-
- Specified by:
execute
in interface org.apache.maven.plugin.Mojo
- Overrides:
execute
in class org.apache.maven.plugin.CompilerMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.CompilationFailureException
mergeCompilerConfiguration
protected static void mergeCompilerConfiguration(org.apache.maven.plugin.AbstractCompilerMojo mojo,
org.apache.maven.project.MavenProject project)
- Copy additional compiler settings from maven-compiler-plugin section (only handles simple configuration items)
- Parameters:
mojo
- compiler mojoproject
- maven project
Copyright © 2007-2008 OPS4J. All Rights Reserved.