You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Horst (JIRA)" <ji...@codehaus.org> on 2012/07/12 20:29:21 UTC

[jira] (MCOMPILER-176) testCompile does not compile sources under target/generated-test-sources

Andreas Horst created MCOMPILER-176:
---------------------------------------

             Summary: testCompile does not compile sources under target/generated-test-sources
                 Key: MCOMPILER-176
                 URL: https://jira.codehaus.org/browse/MCOMPILER-176
             Project: Maven 2.x Compiler Plugin
          Issue Type: Bug
    Affects Versions: 2.4
            Reporter: Andreas Horst


We use code generators using both target/generated-sources and target/generated-test-sources as output folders. While source files under generated-sources get compiled by compile goal, testCompile ignores the content of generated-test-sources resulting in compiler errors in phase test-compile.

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

        

[jira] (MCOMPILER-176) testCompile does not compile sources under target/generated-test-sources

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=313394#comment-313394 ] 

Anders Hammar commented on MCOMPILER-176:
-----------------------------------------

Could you please provide a simple test project?
                
> testCompile does not compile sources under target/generated-test-sources
> ------------------------------------------------------------------------
>
>                 Key: MCOMPILER-176
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-176
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Andreas Horst
>
> We use code generators using both target/generated-sources and target/generated-test-sources as output folders. While source files under generated-sources get compiled by compile goal, testCompile ignores the content of generated-test-sources resulting in compiler errors in phase test-compile.

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