[ https://jira.codehaus.org/browse/MCOMPILER-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anders Hammar closed MCOMPILER-162. ----------------------------------- Resolution: Duplicate > when annotation processing is disabled by specifying <proc>none</proc>, > target/generated-sources/annotations and > target/generated-sources/test-annotations directories are still created, > passed to javac via -s option, and added to project sources dirs > ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: MCOMPILER-162 > URL: https://jira.codehaus.org/browse/MCOMPILER-162 > Project: Maven 2.x Compiler Plugin > Issue Type: Bug > Affects Versions: 2.3.2 > Reporter: Ian Springer > > To disable annotation processing, I have <proc>none</proc> in my > configuration for the compiler plugin. I also have <fork>true</fork>, in case > that's relevant. > When I run 'mvn -X compile', I see the following args as part of the forked > javac command line: > -s > /home/ips/Projects/rhq/modules/core/domain/target/generated-sources/annotations > -proc:none > I also notice the empty directory target/generated-sources/annotations/ is > created. > If annotation processing is disabled, these directories need not be created, > passed to javac via -s, or added to the set of project source directories. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira