Class 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 java.lang.String[] excludes
      File patterns to include when processing
      private java.lang.String[] includes
      File patterns to exclude when processing
      private java.io.File outputDirectory
      The output directory where resources should be processed
      private boolean skip  
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Constructor Summary

      Constructors 
      Constructor Description
      BridgerMojo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      private java.io.File[] getFiles()  
      • 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 Detail

      • outputDirectory

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

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

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

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

      • BridgerMojo

        public BridgerMojo()
    • Method Detail

      • 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 java.io.File[] getFiles()