Bug 1121231 - maven-javadoc-plugin: NoSuchMethodError with new maven-doxia 1.6 in Rawhide
Summary: maven-javadoc-plugin: NoSuchMethodError with new maven-doxia 1.6 in Rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: maven-javadoc-plugin
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1120854
TreeView+ depends on / blocked
 
Reported: 2014-07-18 17:18 UTC by Gerard Ryan
Modified: 2014-07-20 08:27 UTC (History)
4 users (show)

Fixed In Version: 2.9.1-10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-20 08:27:07 UTC


Attachments (Terms of Use)
Patch (1.63 KB, patch)
2014-07-18 18:34 UTC, Roland Grunberg
no flags Details | Diff

Description Gerard Ryan 2014-07-18 17:18:53 UTC
In Rawhide, there appears to be a compatibility issue with the version of maven-javadoc-plugin that we have, and new maven-doxia that was build yesterday:

> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:aggregate (default-cli) on project openshift-java-client: Execution default-cli of goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:aggregate failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:aggregate: java.lang.NoSuchMethodError: org.apache.maven.doxia.siterenderer.sink.SiteRendererSink.<init>(Lorg/apache/maven/doxia/sink/render/RenderingContext;)V

For examples, see:
http://koji.fedoraproject.org/koji/taskinfo?taskID=7161430
and
http://koji.fedoraproject.org/koji/taskinfo?taskID=7160197

Thanks,
Gerard.

Comment 1 Roland Grunberg 2014-07-18 18:34:30 UTC
Created attachment 919155 [details]
Patch

The attached patch fixed things for me. The location of RenderingContext has changed from :

org.apache.maven.doxia.sink.render.RenderingContext to org.apache.maven.doxia.siterenderer.RenderingContext.

Comment 2 Gerard Ryan 2014-07-18 21:56:09 UTC
(In reply to Roland Grunberg from comment #1)
> Created attachment 919155 [details]
> Patch
> 
> The attached patch fixed things for me. The location of RenderingContext has
> changed from :
> 
> org.apache.maven.doxia.sink.render.RenderingContext to
> org.apache.maven.doxia.siterenderer.RenderingContext.

Patch works for me, thanks.

Comment 3 Mikolaj Izdebski 2014-07-20 08:16:06 UTC
Fixed in maven-javadoc-plugin-2.9.1-10

Comment 4 Mikolaj Izdebski 2014-07-20 08:27:07 UTC
I believe that this bug is fixed in maven-javadoc-plugin-2.9.1-10,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=545949


Note You need to log in before you can comment on or make changes to this bug.