|
||||||||||
| 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 String |
ENTRY_BUNDLE_CLASSPATH
Deprecated. Bundle classpath: updated with the list of dependencies. |
static String |
ENTRY_BUNDLE_NAME
Deprecated. Bundle name: updated with the project name. |
static String |
ENTRY_BUNDLE_SYMBOLICNAME
Deprecated. Bundle symbolic name: updated with the artifact id. |
static String |
ENTRY_BUNDLE_VENDOR
Deprecated. Bundle vendor: updated with the organization name (if set in the POM). |
static 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 String |
addBundleClasspathEntries()
Deprecated. Add all libraries that don't have the scope "provided" to the "Bundle-Classpath". |
protected static String |
getNormalizedVersion(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 StringBuffer |
rewriteManifest(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 String ENTRY_BUNDLE_CLASSPATH
public static final String ENTRY_BUNDLE_NAME
public static final String ENTRY_BUNDLE_SYMBOLICNAME
public static final String ENTRY_BUNDLE_VERSION
public static final String ENTRY_BUNDLE_VENDOR
| Constructor Detail |
|---|
public EclipseOSGiManifestWriter()
| Method Detail |
|---|
public void write()
throws MojoExecutionException
EclipseWriter
MojoExecutionExceptionEclipseWriter.write()
protected StringBuffer rewriteManifest(File manifestFile)
throws MojoExecutionException
MojoExecutionExceptionprotected static String getNormalizedVersion(String version)
version - original version
protected String addBundleClasspathEntries()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||