Dashboard missing dependencies
------------------------------

                 Key: MOJO-883
                 URL: http://jira.codehaus.org/browse/MOJO-883
             Project: Mojo
          Issue Type: Bug
          Components: dashboard
            Reporter: David Lopez


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