[ http://jira.codehaus.org/browse/MNG-932?page=all ]

John Casey updated MNG-932:
---------------------------

           Fix Version:     (was: 2.0-beta-3)
                        2.1
            Complexity: Expert  (was: Intermediate)
    Remaining Estimate: 8 hours  (was: 2 hours)

this will require a revamping of the transitive artifact resolution for pulling 
in test-scoped deps and the main artifact associated with a given 
test-jar...this is necessary to recreate the original test environment in which 
the classes in this jar were executed.

There will be some design needed to determine how to adjust transitive 
resolution on an dependency-by-dependency basis for cases like this.

> Test artifacts should support install and deploy
> ------------------------------------------------
>
>          Key: MNG-932
>          URL: http://jira.codehaus.org/browse/MNG-932
>      Project: Maven 2
>         Type: New Feature
>   Components: maven-surefire-plugin
>     Versions: 2.0-beta-1
>     Reporter: Hiram Chirino
>     Assignee: John Casey
>      Fix For: 2.1
>  Attachments: it0073-MNG-932.zip, maven-core-MNG-932.diff, 
> maven-jar-plugin-MNG-932.diff, maven-jar-plugin-MNG-932.zip, 
> maven-surefire-test.tar.gz
>
> Original Estimate: 3 hours
>        Time Spent: 1 hour
>         Remaining: 8 hours
>
> Discussed in IRC:
> [08:46am] hchirino: hi guys: any chance we can make it an option to 
> install/deploy the test classes as an artifact?
> [08:46am] hchirino: at least in m2?
> [08:48am] dozer: hchirino - what is the use-case?
> [08:48am] trygvis: abstract tests
> [08:48am] hchirino: yep.
> [08:48am] hchirino: used alot in multi module systems.
> [08:48am] trygvis: yah, I've come to that same conclusion myself, I think we 
> need to support it
> [08:49am] trygvis: splitting up doesn't work when the tests depend on the core
> [08:51am] dozer: ok - so if one module produces foo.jar and foo-test.jar then 
> you'd manually add foo-test.jar as a test dependency in a child project?
> [08:51am] trygvis: yes

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to