org.ops4j.pax.construct.lifecycle
Class BundleTestCompilerMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.AbstractCompilerMojo
          extended by org.apache.maven.plugin.TestCompilerMojo
              extended by org.ops4j.pax.construct.lifecycle.BundleTestCompilerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class BundleTestCompilerMojo
extends org.apache.maven.plugin.TestCompilerMojo

Extends TestCompilerMojo to support compiling against OSGi bundles with embedded jars.
Inherited parameters can still be used, but unfortunately don't appear in the generated docs.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
BundleTestCompilerMojo()
           
 
Method Summary
 void execute()
          
protected  java.util.List getClasspathElements()
          
 
Methods inherited from class org.apache.maven.plugin.TestCompilerMojo
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
 

Constructor Detail

BundleTestCompilerMojo

public BundleTestCompilerMojo()
Method Detail

getClasspathElements

protected java.util.List getClasspathElements()

Overrides:
getClasspathElements in class org.apache.maven.plugin.TestCompilerMojo

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.TestCompilerMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.CompilationFailureException


Copyright © 2007-2008 OPS4J. All Rights Reserved.