Package org.apache.felix.bundleplugin
Class AntPlugin
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.felix.bundleplugin.BundlePlugin
-
- org.apache.felix.bundleplugin.AntPlugin
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="ant", requiresDependencyResolution=TEST) public class AntPlugin extends BundlePluginGenerate Ant script to create the bundle (you should run ant:ant first).
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.StringBUILD_BND(package private) static java.lang.StringBUILD_XML-
Fields inherited from class org.apache.felix.bundleplugin.BundlePlugin
artifactFactory, artifactResolver, buildContext, classifier, createDependencyReducedPom, dependencyGraphBuilder, dependencyReducedPomLocation, dumpClasspath, dumpInstructions, excludeDependencies, exportScr, localRepository, m_dependencyGraphBuilder, manifestLocation, mavenProjectBuilder, niceManifest, packaging, project, remoteArtifactRepositories, scrLocation, session, supportedProjectTypes, unpackBundle
-
-
Constructor Summary
Constructors Constructor Description AntPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecute(org.apache.maven.project.MavenProject currentProject, org.apache.maven.shared.dependency.graph.DependencyNode dependencyGraph, java.util.Map<java.lang.String,java.lang.String> originalInstructions, java.util.Properties properties, aQute.bnd.osgi.Jar[] classpath)-
Methods inherited from class org.apache.felix.bundleplugin.BundlePlugin
addMavenInstructions, addMavenSourcePath, buildDependencyGraph, buildOSGiBundle, convertVersionToOsgi, dumpClasspath, dumpInstructions, dumpManifest, execute, execute, getBase, getBuildDirectory, getBundleName, getClasspath, getDefaultProperties, getEmbeddableArtifacts, getFile, getMaven2OsgiConverter, getMavenResourcePaths, getOptionalPackages, getOSGiBuilder, getOutputDirectory, getProject, includeJava9Fixups, includeMavenResources, isTransitivelyOptional, mergeManifest, mergeMavenManifest, removeTagFromInstruction, reportErrors, sanitize, sanitize, setBuildDirectory, setOutputDirectory, transformDirectives, updateExcludesInDeps
-
-
-
-
Field Detail
-
BUILD_XML
static final java.lang.String BUILD_XML
- See Also:
- Constant Field Values
-
BUILD_BND
static final java.lang.String BUILD_BND
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
protected void execute(org.apache.maven.project.MavenProject currentProject, org.apache.maven.shared.dependency.graph.DependencyNode dependencyGraph, java.util.Map<java.lang.String,java.lang.String> originalInstructions, java.util.Properties properties, aQute.bnd.osgi.Jar[] classpath) throws org.apache.maven.plugin.MojoExecutionException- Overrides:
executein classBundlePlugin- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-