Class BridgerMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.jboss.bridger.BridgerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="transform", defaultPhase=PROCESS_CLASSES) public class BridgerMojo extends org.apache.maven.plugin.AbstractMojo
A plugin that translates bridge methods.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private String[]
    File patterns to include when processing
    private String[]
    File patterns to exclude when processing
    private File
    The output directory where resources should be processed
    private boolean
     

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

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    private File[]
     

    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

    • outputDirectory

      @Parameter(defaultValue="${project.build.outputDirectory}", required=true) private File outputDirectory
      The output directory where resources should be processed
    • excludes

      @Parameter(property="bridger.excludes") private String[] excludes
      File patterns to include when processing
    • includes

      @Parameter(defaultValue="**/*.class", property="bridger.includes") private String[] includes
      File patterns to exclude when processing
    • skip

      @Parameter(defaultValue="false", property="bridger.transform.skip") private boolean skip
  • Constructor Details

    • BridgerMojo

      public BridgerMojo()
  • Method Details

    • execute

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

      private File[] getFiles()