Package aQute.bnd.maven.plugin
Class BndMavenTestsPlugin
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- aQute.bnd.maven.plugin.AbstractBndMavenPlugin
-
- aQute.bnd.maven.plugin.BndMavenTestsPlugin
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="bnd-process-tests", defaultPhase=PROCESS_TEST_CLASSES, requiresDependencyResolution=TEST, threadSafe=true) public class BndMavenTestsPlugin extends AbstractBndMavenPlugin
-
-
Field Summary
-
Fields inherited from class aQute.bnd.maven.plugin.AbstractBndMavenPlugin
logger
-
-
Constructor Summary
Constructors Constructor Description BndMavenTestsPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getClassesDir()
File
getManifestPath()
File
getOutputDir()
List<org.apache.maven.model.Resource>
getResources()
File
getSourceDir()
boolean
isSkip()
protected void
processBuilder(aQute.bnd.osgi.Builder builder)
If a mojo needs to tweak the builder for any particular reason, do it here.protected void
processBuildPath(List<Object> buildpath)
If a mojo needs to update the buildpath for any particular reason, do it here.protected void
reportErrorsAndWarnings(aQute.bnd.osgi.Builder builder)
-
Methods inherited from class aQute.bnd.maven.plugin.AbstractBndMavenPlugin
execute
-
-
-
-
Method Detail
-
getSourceDir
public File getSourceDir()
- Specified by:
getSourceDir
in classAbstractBndMavenPlugin
-
getResources
public List<org.apache.maven.model.Resource> getResources()
- Specified by:
getResources
in classAbstractBndMavenPlugin
-
getClassesDir
public File getClassesDir()
- Specified by:
getClassesDir
in classAbstractBndMavenPlugin
-
getOutputDir
public File getOutputDir()
- Specified by:
getOutputDir
in classAbstractBndMavenPlugin
-
getManifestPath
public File getManifestPath()
- Specified by:
getManifestPath
in classAbstractBndMavenPlugin
-
isSkip
public boolean isSkip()
- Specified by:
isSkip
in classAbstractBndMavenPlugin
-
processBuildPath
protected void processBuildPath(List<Object> buildpath)
Description copied from class:AbstractBndMavenPlugin
If a mojo needs to update the buildpath for any particular reason, do it here.- Overrides:
processBuildPath
in classAbstractBndMavenPlugin
- Parameters:
buildpath
- the set of jars and class directories used while analyzing the jar contents
-
processBuilder
protected void processBuilder(aQute.bnd.osgi.Builder builder) throws org.apache.maven.plugin.MojoFailureException
Description copied from class:AbstractBndMavenPlugin
If a mojo needs to tweak the builder for any particular reason, do it here.- Overrides:
processBuilder
in classAbstractBndMavenPlugin
- Parameters:
builder
- the Builder created to analyze the jar contents- Throws:
org.apache.maven.plugin.MojoFailureException
- if an issue is encountered
-
reportErrorsAndWarnings
protected void reportErrorsAndWarnings(aQute.bnd.osgi.Builder builder) throws org.apache.maven.plugin.MojoFailureException
- Overrides:
reportErrorsAndWarnings
in classAbstractBndMavenPlugin
- Throws:
org.apache.maven.plugin.MojoFailureException
-
-