|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
org.apache.maven.plugin.eclipse.writers.EclipseOSGiManifestWriter
public class EclipseOSGiManifestWriter
The EclipseOSGiManifestWriter
ensures that value of the "Bundle-Classpath" property in
META-INF/MANIFEST.MF is synchronized with the POM by adding all dependencies that don't have the scope provided.
Field Summary | |
---|---|
static java.lang.String |
ENTRY_BUNDLE_CLASSPATH
Deprecated. Bundle classpath: updated with the list of dependencies. |
static java.lang.String |
ENTRY_BUNDLE_NAME
Deprecated. Bundle name: updated with the project name. |
static java.lang.String |
ENTRY_BUNDLE_SYMBOLICNAME
Deprecated. Bundle symbolic name: updated with the artifact id. |
static java.lang.String |
ENTRY_BUNDLE_VENDOR
Deprecated. Bundle vendor: updated with the organization name (if set in the POM). |
static java.lang.String |
ENTRY_BUNDLE_VERSION
Deprecated. Bundle version: updated with the project version. |
Fields inherited from class org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter |
---|
config, log |
Constructor Summary | |
---|---|
EclipseOSGiManifestWriter()
Deprecated. |
Method Summary | |
---|---|
protected java.lang.String |
addBundleClasspathEntries()
Deprecated. Add all libraries that don't have the scope "provided" to the "Bundle-Classpath". |
protected static java.lang.String |
getNormalizedVersion(java.lang.String version)
Deprecated. Normalize a version number, by moving snapshot identifier to the 5th token (first 4 tokens must be numeric for OSGI bundles) |
protected java.lang.StringBuffer |
rewriteManifest(java.io.File manifestFile)
Deprecated. |
void |
write()
Deprecated. Main method that should be implemented by the writer to do the work. |
Methods inherited from class org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter |
---|
init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ENTRY_BUNDLE_CLASSPATH
public static final java.lang.String ENTRY_BUNDLE_NAME
public static final java.lang.String ENTRY_BUNDLE_SYMBOLICNAME
public static final java.lang.String ENTRY_BUNDLE_VERSION
public static final java.lang.String ENTRY_BUNDLE_VENDOR
Constructor Detail |
---|
public EclipseOSGiManifestWriter()
Method Detail |
---|
public void write() throws org.apache.maven.plugin.MojoExecutionException
EclipseWriter
org.apache.maven.plugin.MojoExecutionException
EclipseWriter.write()
protected java.lang.StringBuffer rewriteManifest(java.io.File manifestFile) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected static java.lang.String getNormalizedVersion(java.lang.String version)
version
- original version
protected java.lang.String addBundleClasspathEntries()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |