You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jérémy Soula (JIRA)" <ji...@codehaus.org> on 2008/07/03 13:57:27 UTC

[jira] Created: (MSITE-343) Wrong classpath of report when launching site.

Wrong classpath of report when launching site.
----------------------------------------------

                 Key: MSITE-343
                 URL: http://jira.codehaus.org/browse/MSITE-343
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
    Affects Versions: 2.0-beta-7, 2.0-beta-5
            Reporter: Jérémy Soula
            Priority: Critical


A project with dependance commons-lang version 2.3.
A testcase using the method ExceptionUtils.getThrowableList

When i run mvn test, the tests is ok.
When i run mvn site:site to generate surefire:report the test fails with NoSuchMethodError: ExceptionUtils.getThrowableList

maven-site-plugin use commons-lang version 2.1 so i think there is a pb of classloading the site launching the report.

-- 
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] Closed: (MSITE-343) Wrong classpath of report when launching site.

Posted by "Jérémy Soula (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jérémy Soula closed MSITE-343.
------------------------------

    Resolution: Cannot Reproduce

After more investigation, it appears that's the test fails only when launching test via cobertura. I close this issue. 

> Wrong classpath of report when launching site.
> ----------------------------------------------
>
>                 Key: MSITE-343
>                 URL: http://jira.codehaus.org/browse/MSITE-343
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-5, 2.0-beta-7
>            Reporter: Jérémy Soula
>            Priority: Critical
>
> A project with dependance commons-lang version 2.3.
> A testcase using the method ExceptionUtils.getThrowableList
> When i run mvn test, the tests is ok.
> When i run mvn site:site to generate surefire:report the test fails with NoSuchMethodError: ExceptionUtils.getThrowableList
> maven-site-plugin use commons-lang version 2.1 so i think there is a pb of classloading the site launching the report.

-- 
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] Commented: (MSITE-343) Wrong classpath of report when launching site.

Posted by "Jérémy Soula (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140417#action_140417 ] 

Jérémy Soula commented on MSITE-343:
------------------------------------

After more investigation, it appears that's the test fails only when launching test via cobertura. I close this issue.

> Wrong classpath of report when launching site.
> ----------------------------------------------
>
>                 Key: MSITE-343
>                 URL: http://jira.codehaus.org/browse/MSITE-343
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-5, 2.0-beta-7
>            Reporter: Jérémy Soula
>            Priority: Critical
>
> A project with dependance commons-lang version 2.3.
> A testcase using the method ExceptionUtils.getThrowableList
> When i run mvn test, the tests is ok.
> When i run mvn site:site to generate surefire:report the test fails with NoSuchMethodError: ExceptionUtils.getThrowableList
> maven-site-plugin use commons-lang version 2.1 so i think there is a pb of classloading the site launching the report.

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