Class AntPlugin

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="ant",
          requiresDependencyResolution=TEST)
    public class AntPlugin
    extends BundlePlugin
    Generate Ant script to create the bundle (you should run ant:ant first).
    • Constructor Detail

      • AntPlugin

        public AntPlugin()
    • Method Detail

      • execute

        protected void execute​(org.apache.maven.project.MavenProject currentProject,
                               org.apache.maven.shared.dependency.graph.DependencyNode dependencyGraph,
                               Map<String,​String> originalInstructions,
                               Properties properties,
                               aQute.bnd.osgi.Jar[] classpath)
                        throws org.apache.maven.plugin.MojoExecutionException
        Overrides:
        execute in class BundlePlugin
        Throws:
        org.apache.maven.plugin.MojoExecutionException