maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MCHANGES-88) NoSuchMethodError with maven 2.0.8 when generating changes-report
Date Sun, 06 Jan 2008 16:46:57 GMT

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

Benjamin Bentmann updated MCHANGES-88:
--------------------------------------

    Attachment: site.log
                changes.log
                changes.zip

Quite funny, reports generation works when run by the Site plugin. I attached a minimal test
project and two debug logs from "mvn site" and "mvn changes:changes-report", maybe a diff
on these helps.

The maven-changes-plugin directly depends on
- maven-reporing-impl:2.0.4
- doxia-site-renderer:1.0-alpha-9
but the maven-reporing-impl:2.0.4 itselfs was compiled against
- doxia-site-renderer:1.0-alpha-7
and the method org.apache.maven.doxia.siterenderer.Renderer.createSink() does not exist any
more in doxia-site-renderer:1.0-alpha-9.


> NoSuchMethodError with maven 2.0.8 when generating changes-report
> -----------------------------------------------------------------
>
>                 Key: MCHANGES-88
>                 URL: http://jira.codehaus.org/browse/MCHANGES-88
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: changes-report
>    Affects Versions: 2.0-beta-3
>         Environment: julien@jgr-pc:/opt/nc/workspace/test_maven$ mvn -version
> Maven version: 2.0.8
> Java version: 1.6.0_03
> OS name: "linux" version: "2.6.18-5-686" arch: "i386" Family: "unix"
>            Reporter: Julien Graglia
>         Attachments: changes.log, changes.zip, error.log, pom.xml, site.log
>
>
> I create a simple maven2 project, but when i call
> mvn -X -e changes:changes-report
> I get an error (full log in attachment)
> java.lang.NoSuchMethodError: org.apache.maven.doxia.siterenderer.Renderer.createSink(Ljava/io/File;Ljava/lang/String;)Lorg/apache/maven/doxia/siterenderer/sink/SiteRendererSink;
>         at org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:63)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)

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

        

Mime
View raw message