You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2007/09/08 14:18:11 UTC

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

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

        

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

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MSOURCES-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy reassigned MSOURCES-23:
------------------------------------

    Assignee: Olivier Lamy
    
> test-jar misses sources from "generate-test-sources" phase
> ----------------------------------------------------------
>
>                 Key: MSOURCES-23
>                 URL: https://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
>            Assignee: Olivier Lamy
>            Priority: Minor
>             Fix For: 2.2
>
>
> 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, 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] Updated: (MSOURCES-23) test-jar misses sources from "generate-test-sources" phase

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSOURCES-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s: 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
>             Fix For: 2.1
>
>
> 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

        

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

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MSOURCES-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MSOURCES-23.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2
    
> test-jar misses sources from "generate-test-sources" phase
> ----------------------------------------------------------
>
>                 Key: MSOURCES-23
>                 URL: https://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
>            Assignee: Olivier Lamy
>            Priority: Minor
>             Fix For: 2.2
>
>
> 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, 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