You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2009/02/25 00:04:19 UTC

[jira] Updated: (MSOURCES-23) test-jar misses sources from "generate-test-sources" phase

     [ http://jira.codehaus.org/browse/MSOURCES-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MSOURCES-23:
------------------------------------

    Fix Version/s:     (was: 2.1)

> test-jar misses sources from "generate-test-sources" phase
> ----------------------------------------------------------
>
>                 Key: MSOURCES-23
>                 URL: http://jira.codehaus.org/browse/MSOURCES-23
>             Project: Maven 2.x Source Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0.3
>         Environment: Maven 2.0.7
>            Reporter: Benjamin Bentmann
>            Priority: Minor
>
> When the goal source:test-jar is run directly from the command-line, the plugin will miss source files that get generated during the "generate-test-sources" phase as the mojo currently only requires the "generate-sources" phase.
> Though simply increasing the mojos lifecycle requirement would solve the problem, it kind of looks ugly to have the lengthy and potentially failing "compile" phase get run just to package test sources (first time I realize practical limitations of Maven's simple waterfall lifecycle compared to partially ordered goals...). An additional mojo like "generated-test-jar" might therefore be the best solution to keep the majority of use-cases fast but support the more sophisticated cases as well.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira