Package org.apache.maven.shared.osgi
Interface Maven2OsgiConverter
-
- All Known Implementing Classes:
DefaultMaven2OsgiConverter
public interface Maven2OsgiConverter
Converter from Maven groupId,artifactId and versions to OSGi Bundle-SymbolicName and version- Version:
- $Id: Maven2OsgiConverter.java 554726 2007-07-09 18:11:56Z carlos $
- Author:
- Carlos Sanchez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBundleFileName(org.apache.maven.artifact.Artifact artifact)
String
getBundleSymbolicName(org.apache.maven.artifact.Artifact artifact)
Get the OSGi symbolic name for the artifactString
getVersion(String version)
Convert a Maven version into an OSGi compliant versionString
getVersion(org.apache.maven.artifact.Artifact artifact)
Convert a Maven version into an OSGi compliant version
-
-
-
Method Detail
-
getBundleSymbolicName
String getBundleSymbolicName(org.apache.maven.artifact.Artifact artifact)
Get the OSGi symbolic name for the artifact- Parameters:
artifact
-- Returns:
- the Bundle-SymbolicName manifest property
-
getBundleFileName
String getBundleFileName(org.apache.maven.artifact.Artifact artifact)
-
getVersion
String getVersion(org.apache.maven.artifact.Artifact artifact)
Convert a Maven version into an OSGi compliant version- Parameters:
artifact
- Maven artifact- Returns:
- the OSGi version
-
-