[ 
http://jira.codehaus.org/browse/MOJO-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_104527
 ] 

David Vicente edited comment on MOJO-883 at 8/10/07 8:43 AM:
-------------------------------------------------------------

it's curious because org/objectweb/asm/Type is a class of asm library , no of 
cglib-nodep library

So, Hibernate and XStream have a dependency on it.

Could you erase cglib-nodep library in your repository and in your pom and do a 
mvn -e -X install>maven.log.

Take the log as attachement.

it's possible that the first one you run maven, the asm library hasn't been 
downloaded and you had a NoClassDefFoundError and the second pass, it has been 
download ?


 was:
ok i take a look of it.

but it's curious because Hibernate uses cglib which has a dependency to asm and 
xstream too.

If i take a look at dependency report in dashboard site : 
http://mojo.codehaus.org/dashboard-maven-plugin/dependencies.html

> Dashboard missing dependencies
> ------------------------------
>
>                 Key: MOJO-883
>                 URL: http://jira.codehaus.org/browse/MOJO-883
>             Project: Mojo
>          Issue Type: Bug
>          Components: dashboard
>            Reporter: David Lopez
>            Assignee: David Vicente
>
> Seems that latests snapshots are failing due to a missing dependency. I think 
> that probably this bug appears with the inclusion of  historic support.
> As workaround I added the following dependency in "build" section:
>     <build>
>                   <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                  <artifactId>dashboard-maven-plugin</artifactId>
>                  <dependencies>
>                      <dependency>
>                          <groupId>cglib</groupId>
>                          <artifactId>cglib-nodep</artifactId>
>                          <version>2.1_3</version>
>                      </dependency>
>                  </dependencies>
>              </plugin>
>          </plugins>
>      </build>
> A stack trace when executing from command line "mvn site"
> [INFO] MultiReportMojo project language = java
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] org/objectweb/asm/Type
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: org/objectweb/asm/Type
>       at net.sf.cglib.core.TypeUtils.parseType(TypeUtils.java:180)
>       at net.sf.cglib.core.KeyFactory.(KeyFactory.java:66)
>       at net.sf.cglib.proxy.Enhancer.(Enhancer.java:69)
>       at 
> com.thoughtworks.xstream.converters.reflection.CGLIBEnhancedConverter.canConvert(CGLIBEnhancedConverter.java:59)
>       at 
> com.thoughtworks.xstream.core.DefaultConverterLookup.registerConverter(DefaultConverterLookup.java:58)
>       at com.thoughtworks.xstream.XStream.registerConverter(XStream.java:975)
>       at 
> com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream.java:646)
>       at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:629)
>       at com.thoughtworks.xstream.XStream.(XStream.java:371)
>       at com.thoughtworks.xstream.XStream.(XStream.java:316)
>       at 
> org.codehaus.mojo.dashboard.report.plugin.DashBoardUtils.saveXMLDashBoardReport(DashBoardUtils.java:897)
>       at 
> org.codehaus.mojo.dashboard.report.plugin.DashBoardReportMojo.executeReport(DashBoardReportMojo.java:257)

-- 
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 from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to