Class BndMavenPackagingTestsPlugin
java.lang.Object
org.apache.maven.plugin.AbstractMojo
aQute.bnd.maven.plugin.AbstractBndMavenPlugin
aQute.bnd.maven.plugin.BndMavenTestsPlugin
aQute.bnd.maven.plugin.BndMavenPackagingTestsPlugin
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="test-jar",
defaultPhase=PACKAGE,
requiresProject=true,
requiresDependencyResolution=TEST,
threadSafe=true)
public class BndMavenPackagingTestsPlugin
extends BndMavenTestsPlugin
Generate OSGi metadata for the test target classes and
package into a jar.
This goal has the default phase of "package".
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) StringThe classifier to use for the generated artifact.(package private) FileThe directory where this plugin will store the generated artifact.Fields inherited from class AbstractBndMavenPlugin
artifactHandlerManager, bnd, bndfile, buildContext, finalName, includeClassesDir, LAST_MODIFIED, logger, MARKED_FILES, mojoExecution, outputTimestamp, PACKAGING_JAR, PACKAGING_WAR, packagingTypes, project, projectHelper, propertiesFile, settings, skipIfEmpty, SNAPSHOT, TSTAMP, webappDirectoryFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class BndMavenTestsPlugin
getClassesDir, getManifestPath, getResources, getSourceDir, isSkip, processBuilder, processBuildPath, reportErrorsAndWarningsMethods inherited from class AbstractBndMavenPlugin
execute, getWebappDirectory, isEmptyMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
classifier
The classifier to use for the generated artifact. -
outputDir
The directory where this plugin will store the generated artifact.
-
-
Constructor Details
-
BndMavenPackagingTestsPlugin
public BndMavenPackagingTestsPlugin()
-
-
Method Details
-
getClassifier
- Overrides:
getClassifierin classAbstractBndMavenPlugin
-
getType
- Overrides:
getTypein classAbstractBndMavenPlugin
-
getOutputDir
- Overrides:
getOutputDirin classBndMavenTestsPlugin
-