public class ManifestPlugin extends BundlePlugin
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
rebuildBundle
When true, generate the manifest by rebuilding the full bundle in memory
|
classifier, dumpClasspath, dumpInstructions, excludeDependencies, manifestLocation, supportedProjectTypes, unpackBundle| Constructor and Description |
|---|
ManifestPlugin() |
| Modifier and Type | Method and Description |
|---|---|
static String |
calculateExportsFromContents(aQute.lib.osgi.Jar bundle) |
protected void |
execute(org.apache.maven.project.MavenProject project,
Map instructions,
Properties properties,
aQute.lib.osgi.Jar[] classpath) |
protected aQute.lib.osgi.Analyzer |
getAnalyzer(org.apache.maven.project.MavenProject project,
aQute.lib.osgi.Jar[] classpath) |
protected aQute.lib.osgi.Analyzer |
getAnalyzer(org.apache.maven.project.MavenProject project,
Map instructions,
Properties properties,
aQute.lib.osgi.Jar[] classpath) |
Manifest |
getManifest(org.apache.maven.project.MavenProject project,
aQute.lib.osgi.Jar[] classpath) |
Manifest |
getManifest(org.apache.maven.project.MavenProject project,
Map instructions,
Properties properties,
aQute.lib.osgi.Jar[] classpath) |
static void |
writeManifest(Manifest manifest,
File outputFile) |
addMavenInstructions, addMavenSourcePath, buildOSGiBundle, convertVersionToOsgi, dumpClasspath, dumpInstructions, dumpManifest, execute, execute, getBase, getBuildDirectory, getBundleName, getClasspath, getDefaultProperties, getEmbeddableArtifacts, getFile, getMaven2OsgiConverter, getMavenResourcePaths, getOptionalPackages, getOSGiBuilder, getOutputDirectory, getProject, includeMavenResources, isTransitivelyOptional, mergeMavenManifest, removeTagFromInstruction, reportErrors, sanitize, sanitize, setBuildDirectory, setMaven2OsgiConverter, setOutputDirectory, transformDirectivesprotected boolean rebuildBundle
protected void execute(org.apache.maven.project.MavenProject project,
Map instructions,
Properties properties,
aQute.lib.osgi.Jar[] classpath)
throws org.apache.maven.plugin.MojoExecutionException
execute in class BundlePluginorg.apache.maven.plugin.MojoExecutionExceptionpublic Manifest getManifest(org.apache.maven.project.MavenProject project, aQute.lib.osgi.Jar[] classpath) throws IOException, org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException, Exception
IOExceptionorg.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionExceptionExceptionpublic Manifest getManifest(org.apache.maven.project.MavenProject project, Map instructions, Properties properties, aQute.lib.osgi.Jar[] classpath) throws IOException, org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException, Exception
IOExceptionorg.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionExceptionExceptionprotected aQute.lib.osgi.Analyzer getAnalyzer(org.apache.maven.project.MavenProject project,
aQute.lib.osgi.Jar[] classpath)
throws IOException,
org.apache.maven.plugin.MojoExecutionException,
Exception
IOExceptionorg.apache.maven.plugin.MojoExecutionExceptionExceptionprotected aQute.lib.osgi.Analyzer getAnalyzer(org.apache.maven.project.MavenProject project,
Map instructions,
Properties properties,
aQute.lib.osgi.Jar[] classpath)
throws IOException,
org.apache.maven.plugin.MojoExecutionException,
Exception
IOExceptionorg.apache.maven.plugin.MojoExecutionExceptionExceptionpublic static void writeManifest(Manifest manifest, File outputFile) throws IOException
IOExceptionpublic static String calculateExportsFromContents(aQute.lib.osgi.Jar bundle)
Copyright © 2006-2016 The Apache Software Foundation. All Rights Reserved.