Class Bundle
java.lang.Object
org.wso2.maven.p2.generate.feature.Bundle
- Direct Known Subclasses:
BundleArtifact,ImportBundle
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.artifact.Artifactstatic Bundleprotected static Bundlestatic StringgetOSGIVersion(String version) voidvoidresolveVersion(org.apache.maven.project.MavenProject project) voidsetArtifact(org.apache.maven.artifact.Artifact artifact) voidsetArtifactId(String artifactId) voidsetBundleSymbolicName(String bundleSymbolicName) voidsetBundleVersion(String bundleVersion) voidsetCompatibility(String compatibility) voidsetGroupId(String groupId) voidsetVersion(String version) toString()
-
Field Details
-
BUNDLE_SYMBOLIC_NAME
- See Also:
-
BUNDLE_VERSION
- See Also:
-
-
Constructor Details
-
Bundle
public Bundle()
-
-
Method Details
-
setGroupId
-
getGroupId
-
setArtifactId
-
getArtifactId
-
setVersion
-
getVersion
-
setCompatibility
-
getCompatibility
-
getBundle
protected static Bundle getBundle(String bundleDefinition, Bundle bundle) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
getBundle
public static Bundle getBundle(String bundleDefinition) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
resolveVersion
public void resolveVersion(org.apache.maven.project.MavenProject project) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
setArtifact
public void setArtifact(org.apache.maven.artifact.Artifact artifact) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
getArtifact
public org.apache.maven.artifact.Artifact getArtifact() -
toString
-
toOSGIString
-
getOSGIVersion
-
setBundleSymbolicName
-
getBundleSymbolicName
-
setBundleVersion
-
getBundleVersion
-
resolveOSGIInfo
public void resolveOSGIInfo() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-