Package org.apache.felix.obrplugin
Class AbstractFileMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.felix.obrplugin.AbstractFileMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
ObrDeployFile,ObrInstallFile
public abstract class AbstractFileMojo extends org.apache.maven.plugin.AbstractMojoBase class for the command-line install-file and deploy-file goals.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringartifactIdArtifactId of the bundle.private java.lang.StringclassifierClassifier type of the bundle.protected java.io.FilefileBundle file, defaults to the artifact in the local Maven repository.private java.lang.StringgroupIdGroupId of the bundle.private org.apache.maven.artifact.factory.ArtifactFactorym_factoryComponent factory for Maven artifactsprotected java.lang.StringobrXmlOptional XML file describing additional requirements and capabilities.private java.lang.StringpackagingPackaging type of the bundle.private java.io.FilepomFileLocation of an existing POM file.private java.lang.StringversionVersion of the bundle.
-
Constructor Summary
Constructors Constructor Description AbstractFileMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.maven.project.MavenProjectgetProject()-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-
-
-
Field Detail
-
groupId
@Parameter(property="groupId") private java.lang.String groupId
GroupId of the bundle. Retrieved from POM file if specified.
-
artifactId
@Parameter(property="artifactId") private java.lang.String artifactId
ArtifactId of the bundle. Retrieved from POM file if specified.
-
version
@Parameter(property="version") private java.lang.String version
Version of the bundle. Retrieved from POM file if specified.
-
packaging
@Parameter(property="packaging") private java.lang.String packaging
Packaging type of the bundle. Retrieved from POM file if specified.
-
classifier
@Parameter(property="classifier") private java.lang.String classifier
Classifier type of the bundle. Defaults to none.
-
pomFile
@Parameter(property="pomFile") private java.io.File pomFile
Location of an existing POM file.
-
file
@Parameter(property="file") protected java.io.File file
Bundle file, defaults to the artifact in the local Maven repository.
-
obrXml
@Parameter(property="obrXml") protected java.lang.String obrXml
Optional XML file describing additional requirements and capabilities.
-
m_factory
@Component private org.apache.maven.artifact.factory.ArtifactFactory m_factory
Component factory for Maven artifacts
-
-