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

Shane Isbell closed MNG-4006.
-----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 3.0-alpha-3)
                   3.0-alpha-2

Unit test needed role hint of default. No change in Maven.

> [regression] Test failures while building plexus-i18n
> -----------------------------------------------------
>
>                 Key: MNG-4006
>                 URL: http://jira.codehaus.org/browse/MNG-4006
>             Project: Maven 2
>          Issue Type: Bug
>          Components: POM
>    Affects Versions: 3.0-alpha-2
>            Reporter: Benjamin Bentmann
>             Fix For: 3.0-alpha-2
>
>         Attachments: org.codehaus.plexus.i18n.DefaultI18NTest.txt
>
>
> While building plexus-i18n with 3.x trunk (r737917), the following test fail 
> (see attached Surefire report):
> {noformat}
> Tests in error:
>   testLocalization(org.codehaus.plexus.i18n.DefaultI18NTest)
>   
> testLocalizedMessagesWithFormatting(org.codehaus.plexus.i18n.DefaultI18NTest)
>   
> testLocalizedMessagesWithNonStandardLocale(org.codehaus.plexus.i18n.DefaultI18NTest)
> {noformat}
> Some diffs of the build with 2.0.9:
> 3.0-alpha-2:
> {noformat}
> [INFO] [dependency:tree]
> [INFO] org.codehaus.plexus:plexus-i18n:jar:1.0-beta-11-SNAPSHOT
> [INFO] +- 
> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
> [INFO] |  \- classworlds:classworlds:jar:1.1-alpha-2:compile
> [INFO] +- org.codehaus.plexus:plexus-utils:jar:1.5.5:compile
> [INFO] \- junit:junit:jar:3.8.2:test
> [DEBUG]   (f) classpathElements = [
>       M:\maven\plexus\plexus-components\plexus-i18n/target/test-classes, 
>       M:\maven\plexus\plexus-components\plexus-i18n/target/classes, 
>       
> U:\local-repo\org\codehaus\plexus\plexus-container-default\1.0-alpha-9-stable-1\plexus-container-default-1.0-alpha-9-stable-1.jar,
>  
>       
> U:\local-repo\org\codehaus\plexus\plexus-utils\1.5.5\plexus-utils-1.5.5.jar, 
>       
> U:\local-repo\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar,
>  
>       U:\local-repo\junit\junit\3.8.2\junit-3.8.2.jar
>       ]
> [DEBUG] Test Classpath :
> [DEBUG]   
> U:\local-repo\org\codehaus\plexus\plexus-container-default\1.0-alpha-9-stable-1\plexus-container-default-1.0-alpha-9-stable-1.jar
> [DEBUG]   
> U:\local-repo\org\codehaus\plexus\plexus-utils\1.5.5\plexus-utils-1.5.5.jar
> [DEBUG]   
> U:\local-repo\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar
> [DEBUG]   U:\local-repo\junit\junit\3.8.2\junit-3.8.2.jar
> [DEBUG]   M:\maven\plexus\plexus-components\plexus-i18n\target\classes
> [DEBUG]   M:\maven\plexus\plexus-components\plexus-i18n\target\test-classes
> {noformat}
> 2.0.9:
> {noformat}
> [INFO] [dependency:tree]
> [INFO] org.codehaus.plexus:plexus-i18n:jar:1.0-beta-11-SNAPSHOT
> [INFO] +- 
> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
> [INFO] |  \- classworlds:classworlds:jar:1.1-alpha-2:compile
> [INFO] +- org.codehaus.plexus:plexus-utils:jar:1.5.5:compile
> [INFO] \- junit:junit:jar:3.8.2:test
> [DEBUG]   (f) classpathElements = [
>       M:\maven\plexus\plexus-components\plexus-i18n\target\test-classes, 
>       M:\maven\plexus\plexus-components\plexus-i18n\target\classes, 
>       
> U:\local-repo\org\codehaus\plexus\plexus-container-default\1.0-alpha-9-stable-1\plexus-container-default-1.0-alpha-9-stable-1.jar,
>  
>       U:\local-repo\junit\junit\3.8.2\junit-3.8.2.jar, 
>       
> U:\local-repo\org\codehaus\plexus\plexus-utils\1.5.5\plexus-utils-1.5.5.jar, 
>       
> U:\local-repo\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar
>       ]
> [DEBUG] Test Classpath :
> [DEBUG]   M:\maven\plexus\plexus-components\plexus-i18n\target\test-classes
> [DEBUG]   M:\maven\plexus\plexus-components\plexus-i18n\target\classes
> [DEBUG]   
> U:\local-repo\org\codehaus\plexus\plexus-container-default\1.0-alpha-9-stable-1\plexus-container-default-1.0-alpha-9-stable-1.jar
> [DEBUG]   U:\local-repo\junit\junit\3.8.2\junit-3.8.2.jar
> [DEBUG]   
> U:\local-repo\org\codehaus\plexus\plexus-utils\1.5.5\plexus-utils-1.5.5.jar
> [DEBUG]   
> U:\local-repo\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar
> {noformat}
> Note the forward slashes in the paths to the project's main/test classes 
> output by Maven 3.x. This might trigger a badly coded file equality check in 
> Surefire, possibly the cause for the different test class paths.

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

        

Reply via email to