Package org.apache.felix.bundleplugin
Class BundleAllPlugin
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.felix.bundleplugin.BundlePlugin
org.apache.felix.bundleplugin.ManifestPlugin
org.apache.felix.bundleplugin.BundleAllPlugin
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
WrapPlugin
@Deprecated
@Mojo(name="bundleall",
requiresDependencyResolution=TEST,
defaultPhase=PACKAGE)
public class BundleAllPlugin
extends ManifestPlugin
Deprecated.
The bundleall goal is no longer supported and may be removed in a future release
Build an OSGi bundle jar for all transitive dependencies.
-
Field Summary
Fields inherited from class org.apache.felix.bundleplugin.ManifestPlugin
rebuildBundleFields inherited from class org.apache.felix.bundleplugin.BundlePlugin
artifactFactory, artifactResolver, classifier, createDependencyReducedPom, dependencyGraphBuilder, dependencyReducedPomLocation, dumpClasspath, dumpInstructions, excludeDependencies, exportScr, manifestLocation, mavenProjectBuilder, niceManifest, noWarningProjectTypes, packaging, project, remoteArtifactRepositories, scrLocation, session, supportedProjectTypes, unpackBundleFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BundleInfobundle(org.apache.maven.project.MavenProject project) Deprecated.Bundle one project only without building its childreprotected BundleInfobundleAll(org.apache.maven.project.MavenProject project, int maxDepth) Deprecated.Bundle a project and its transitive dependencies up to some depth levelvoidexecute()Deprecated.protected FilegetFile(org.apache.maven.artifact.Artifact artifact) Deprecated.Use previously built bundles when available.protected FilegetOutputFile(org.apache.maven.artifact.Artifact artifact) Deprecated.protected voidlogDuplicatedPackages(BundleInfo bundleInfo) Deprecated.Log what packages are exported in more than one bundleprotected booleansnapshotMatch(org.apache.maven.artifact.Artifact artifact, String bundleName) Deprecated.Check that the bundleName provided correspond to the artifact provided.Methods inherited from class org.apache.felix.bundleplugin.ManifestPlugin
calculateExportsFromContents, execute, getAnalyzer, getAnalyzer, getManifest, getManifest, writeManifest, writeManifestMethods inherited from class org.apache.felix.bundleplugin.BundlePlugin
addMavenInstructions, addMavenSourcePath, buildOSGiBundle, convertVersionToOsgi, dumpClasspath, dumpInstructions, dumpManifest, getBase, getBuildDirectory, getBundleName, getClasspath, getDefaultProperties, getEmbeddableArtifacts, getInstructions, getMaven2OsgiConverter, getMavenResourcePaths, getOptionalPackages, getOSGiBuilder, getOutputDirectory, getProject, includeMavenResources, isTransitivelyOptional, mergeManifest, mergeMavenManifest, removeTagFromInstruction, reportErrors, sanitize, sanitize, setBuildDirectory, setOutputDirectory, transformDirectives, updateExcludesInDepsMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
BundleAllPlugin
public BundleAllPlugin()Deprecated.
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionExceptionDeprecated.- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Overrides:
executein classBundlePlugin- Throws:
org.apache.maven.plugin.MojoExecutionException- See Also:
-
bundleAll
protected BundleInfo bundleAll(org.apache.maven.project.MavenProject project, int maxDepth) throws org.apache.maven.plugin.MojoExecutionException Deprecated.Bundle a project and its transitive dependencies up to some depth level- Parameters:
project-maxDepth- how deep to process the dependency tree- Throws:
org.apache.maven.plugin.MojoExecutionException
-
bundle
protected BundleInfo bundle(org.apache.maven.project.MavenProject project) throws org.apache.maven.plugin.MojoExecutionException Deprecated.Bundle one project only without building its childre- Parameters:
project-- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getFile
Deprecated.Use previously built bundles when available.- Overrides:
getFilein classBundlePlugin- Parameters:
artifact-
-
snapshotMatch
Deprecated.Check that the bundleName provided correspond to the artifact provided. Used to determine when the bundle name is a timestamped snapshot and the artifact is a snapshot not timestamped.- Parameters:
artifact- artifact with snapshot versionbundleName- bundle file name- Returns:
- if both represent the same artifact and version, forgetting about the snapshot timestamp
-
getOutputFile
Deprecated. -
logDuplicatedPackages
Deprecated.Log what packages are exported in more than one bundle
-