You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jesse Glick (JIRA)" <ji...@codehaus.org> on 2012/10/10 01:57:36 UTC

[jira] (MCOMPILER-141) do not create generated-sources folder when proc = none

    [ https://jira.codehaus.org/browse/MCOMPILER-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311166#comment-311166 ] 

Jesse Glick commented on MCOMPILER-141:
---------------------------------------

Even more common is that is that {{<proc>none</proc>}} has not been specified but no sources were generated. I think a better fix would be to just delete these directories after compilation if they remain empty.
                
> do not create generated-sources folder when proc = none
> -------------------------------------------------------
>
>                 Key: MCOMPILER-141
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-141
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3.2
>            Reporter: Minas Manthos
>
> Currently generated-source folder (generatedSourcesDirectory/generatedTestSourcesDirectory) is always created, even if <proc>none</proc> is set.
> if proc is none, then folders should not be generated and also not added to javac command line...
> We have a lot of modules in our projects and only a few have annotationsProcesses. Our IDE adds all generated-source folder to Project but mostly of them are empty and overview suffers.

--
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