Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-75

Add apt support for Java 6

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2
    • 2.2
    • None

    Description

      Apt (Annotation Processing Tool) was merged into javac in Java 6. The compiler plugin should support this new functionality, which means supporting the following new arguments:

        -proc:{none,only}          Control whether annotation processing and/or compilation is done.
        -processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses default discovery process
        -processorpath <path>      Specify where to find annotation processors
        -s <directory>             Specify where to place generated source files
        -implicit:{none,class}     Specify whether or not to generate class files for implicitly referenced files
        -Akey[=value]              Options to pass to annotation processors
      

      Note that this should supersede the Apt Maven Plugin at Mojo by encompassing all of its functionality:
      http://mojo.codehaus.org/apt-maven-plugin/index.html

      Attachments

        Issue Links

          Activity

            People

              mkleint Milos Kleint
              markh Mark Hobson
              Votes:
              7 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: