@Deprecated @Mojo(name="bundleall", requiresDependencyResolution=TEST, defaultPhase=PACKAGE) public class BundleAllPlugin extends ManifestPlugin
rebuildBundle
artifactFactory, artifactResolver, classifier, createDependencyReducedPom, dependencyGraphBuilder, dependencyReducedPomLocation, dumpClasspath, dumpInstructions, excludeDependencies, exportScr, m_dependencyGraphBuilder, manifestLocation, mavenProjectBuilder, niceManifest, packaging, project, remoteArtifactRepositories, scrLocation, session, supportedProjectTypes, unpackBundle
Constructor and Description |
---|
BundleAllPlugin()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected BundleInfo |
bundle(org.apache.maven.project.MavenProject project)
Deprecated.
Bundle one project only without building its childre
|
protected BundleInfo |
bundleAll(org.apache.maven.project.MavenProject project,
int maxDepth)
Deprecated.
Bundle a project and its transitive dependencies up to some depth level
|
void |
execute()
Deprecated.
|
protected File |
getFile(org.apache.maven.artifact.Artifact artifact)
Deprecated.
Use previously built bundles when available.
|
protected File |
getOutputFile(org.apache.maven.artifact.Artifact artifact)
Deprecated.
|
protected void |
logDuplicatedPackages(BundleInfo bundleInfo)
Deprecated.
Log what packages are exported in more than one bundle
|
protected boolean |
snapshotMatch(org.apache.maven.artifact.Artifact artifact,
String bundleName)
Deprecated.
Check that the bundleName provided correspond to the artifact provided.
|
calculateExportsFromContents, execute, getAnalyzer, getAnalyzer, getManifest, getManifest, writeManifest, writeManifest
addMavenInstructions, addMavenSourcePath, buildDependencyGraph, buildOSGiBundle, convertVersionToOsgi, dumpClasspath, dumpInstructions, dumpManifest, execute, getBase, getBuildDirectory, getBundleName, getClasspath, getDefaultProperties, getEmbeddableArtifacts, getMaven2OsgiConverter, getMavenResourcePaths, getOptionalPackages, getOSGiBuilder, getOutputDirectory, getProject, includeJava9Fixups, includeMavenResources, isTransitivelyOptional, mergeManifest, mergeMavenManifest, removeTagFromInstruction, reportErrors, sanitize, sanitize, setBuildDirectory, setOutputDirectory, transformDirectives, updateExcludesInDeps
public void execute() throws org.apache.maven.plugin.MojoExecutionException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class BundlePlugin
org.apache.maven.plugin.MojoExecutionException
Mojo.execute()
protected BundleInfo bundleAll(org.apache.maven.project.MavenProject project, int maxDepth) throws org.apache.maven.plugin.MojoExecutionException
project
- maxDepth
- how deep to process the dependency treeorg.apache.maven.plugin.MojoExecutionException
protected BundleInfo bundle(org.apache.maven.project.MavenProject project) throws org.apache.maven.plugin.MojoExecutionException
project
- org.apache.maven.plugin.MojoExecutionException
protected File getFile(org.apache.maven.artifact.Artifact artifact)
getFile
in class BundlePlugin
artifact
- protected boolean snapshotMatch(org.apache.maven.artifact.Artifact artifact, String bundleName)
artifact
- artifact with snapshot versionbundleName
- bundle file nameprotected File getOutputFile(org.apache.maven.artifact.Artifact artifact)
protected void logDuplicatedPackages(BundleInfo bundleInfo)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.