maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Glick (JIRA)" <>
Subject [jira] Commented: (MCOMPILER-75) Add apt support for Java 6
Date Thu, 21 Jan 2010 01:22:55 GMT


Jesse Glick commented on MCOMPILER-75:

I don't think Maven need do anything special.

1. Non-Java resources (*.xml etc.) should be placed in the regular -d directory: CLASS_OUTPUT.

2. Generated Java files get compiled by javac automatically in a subsequent round.

-s is even optional in that without it, javac will just hold generated sources in memory until
they have been compiled to bytecode. But it is generally useful to have these saved to disk
for debugging and IDE usage.

> Add apt support for Java 6
> --------------------------
>                 Key: MCOMPILER-75
>                 URL:
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: New Feature
>    Affects Versions: 2.0.2
>            Reporter: Mark Hobson
> 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:
> {noformat}
>   -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
> {noformat}
> Note that this should supersede the Apt Maven Plugin at Mojo by encompassing all of its

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message