Package aQute.bnd.maven.plugin
Class BndMavenPlugin
java.lang.Object
org.apache.maven.plugin.AbstractMojo
aQute.bnd.maven.plugin.AbstractBndMavenPlugin
aQute.bnd.maven.plugin.BndMavenPlugin
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
BndMavenPackagingPlugin
@Mojo(name="bnd-process",
defaultPhase=PROCESS_CLASSES,
requiresDependencyResolution=COMPILE,
threadSafe=true)
public class BndMavenPlugin
extends AbstractBndMavenPlugin
Processes the target classes to generate OSGi metadata.
This goal has the default phase of "process-classes".
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate File
The directory where themaven-compiler-plugin
places its output.(package private) File
Specify the path to store the generated manifest file.private File
The directory where this plugin will store its output.private List
<org.apache.maven.model.Resource> (package private) boolean
Skip this goal.private File
Fields inherited from class aQute.bnd.maven.plugin.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, webappDirectory
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class aQute.bnd.maven.plugin.AbstractBndMavenPlugin
execute, getClassifier, getType, getWebappDirectory, isEmpty, processBuilder, processBuildPath, reportErrorsAndWarnings
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
sourceDir
-
resources
@Parameter(defaultValue="${project.build.resources}", readonly=true) private List<org.apache.maven.model.Resource> resources -
classesDir
The directory where themaven-compiler-plugin
places its output. -
outputDir
The directory where this plugin will store its output. -
manifestPath
Specify the path to store the generated manifest file. -
skip
@Parameter(property="bnd.skip", defaultValue="false") boolean skipSkip this goal.
-
-
Constructor Details
-
BndMavenPlugin
public BndMavenPlugin()
-
-
Method Details
-
getSourceDir
- Specified by:
getSourceDir
in classAbstractBndMavenPlugin
-
getResources
- Specified by:
getResources
in classAbstractBndMavenPlugin
-
getClassesDir
- Specified by:
getClassesDir
in classAbstractBndMavenPlugin
-
getOutputDir
- Specified by:
getOutputDir
in classAbstractBndMavenPlugin
-
getManifestPath
- Specified by:
getManifestPath
in classAbstractBndMavenPlugin
-
isSkip
public boolean isSkip()- Specified by:
isSkip
in classAbstractBndMavenPlugin
-