Class AbstractBndProjectMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.eclipse.tycho.bnd.mojos.AbstractBndProjectMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
BndBuildMojo, BndCleanMojo, BndCompileMojo, BndIntegrationTestMojo, BndTestCompileMojo

public abstract class AbstractBndProjectMojo extends org.apache.maven.plugin.AbstractMojo
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.maven.project.MavenProject
     
    protected org.apache.maven.execution.MavenSession
     

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
     
    protected abstract void
    execute(aQute.bnd.build.Project project)
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • mavenProject

      @Parameter(property="project", readonly=true) protected org.apache.maven.project.MavenProject mavenProject
    • session

      @Parameter(property="session", readonly=true) protected org.apache.maven.execution.MavenSession session
  • Constructor Details

    • AbstractBndProjectMojo

      public AbstractBndProjectMojo()
  • Method Details

    • execute

      public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • execute

      protected abstract void execute(aQute.bnd.build.Project project) throws Exception
      Throws:
      Exception