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
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.FileclassesDir(package private) java.io.FilemanifestPathprivate java.io.FileoutputDirprivate java.util.List<org.apache.maven.model.Resource>resources(package private) booleanskipprivate java.io.FilesourceDir-
Fields inherited from class aQute.bnd.maven.plugin.AbstractBndMavenPlugin
bnd, bndfile, buildContext, includeClassesDir, logger, MANIFEST_LAST_MODIFIED, MARKED_FILES, mojoExecution, PACKAGING_JAR, PACKAGING_WAR, packagingTypes, project, projectHelper, propertiesFile, settings, skipIfEmpty, SNAPSHOT, targetDir, TSTAMP, warOutputDir
-
-
Constructor Summary
Constructors Constructor Description BndMavenPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetClassesDir()java.io.FilegetManifestPath()java.io.FilegetOutputDir()java.util.List<org.apache.maven.model.Resource>getResources()java.io.FilegetSourceDir()booleanisSkip()-
Methods inherited from class aQute.bnd.maven.plugin.AbstractBndMavenPlugin
execute, getClassifier, getType, isEmpty, processBuilder, processBuildPath, reportErrorsAndWarnings
-
-
-
-
Field Detail
-
sourceDir
@Parameter(defaultValue="${project.build.sourceDirectory}", readonly=true) private java.io.File sourceDir
-
resources
@Parameter(defaultValue="${project.build.resources}", readonly=true) private java.util.List<org.apache.maven.model.Resource> resources
-
classesDir
@Parameter(defaultValue="${project.build.outputDirectory}") private java.io.File classesDir
-
outputDir
@Parameter(defaultValue="${project.build.outputDirectory}") private java.io.File outputDir
-
manifestPath
@Parameter(defaultValue="${project.build.outputDirectory}/META-INF/MANIFEST.MF") java.io.File manifestPath
-
skip
@Parameter(property="bnd.skip", defaultValue="false") boolean skip
-
-
Method Detail
-
getSourceDir
public java.io.File getSourceDir()
- Specified by:
getSourceDirin classAbstractBndMavenPlugin
-
getResources
public java.util.List<org.apache.maven.model.Resource> getResources()
- Specified by:
getResourcesin classAbstractBndMavenPlugin
-
getClassesDir
public java.io.File getClassesDir()
- Specified by:
getClassesDirin classAbstractBndMavenPlugin
-
getOutputDir
public java.io.File getOutputDir()
- Specified by:
getOutputDirin classAbstractBndMavenPlugin
-
getManifestPath
public java.io.File getManifestPath()
- Specified by:
getManifestPathin classAbstractBndMavenPlugin
-
isSkip
public boolean isSkip()
- Specified by:
isSkipin classAbstractBndMavenPlugin
-
-