maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Boué (JIRA) <j...@apache.org>
Subject [jira] [Commented] (MRELEASE-964) Error injecting: org.apache.maven.shared.release.phase.RewritePomsForReleasePhase
Date Sun, 08 Jan 2017 20:42:58 GMT

    [ https://issues.apache.org/jira/browse/MRELEASE-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15809986#comment-15809986
] 

Guillaume Boué commented on MRELEASE-964:
-----------------------------------------

Indeed, a conflicting {{jdom}} dependency is getting pulled by {{jaxen}}. It seems {{jaxen}}
is not needed by the plugin (svn history shows that {{RewritePomsForReleasePhase}} used to
use {{XPath}} but it is no longer the case) so this dependency even can be removed. Verified
that all tests pass without it (with 3.0.5 and 3.3.9).

> Error injecting: org.apache.maven.shared.release.phase.RewritePomsForReleasePhase
> ---------------------------------------------------------------------------------
>
>                 Key: MRELEASE-964
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-964
>             Project: Maven Release Plugin
>          Issue Type: Bug
>         Environment: Dev
>            Reporter: Nilesh Shekokar
>            Priority: Blocker
>
> Hi Team,
> I am getting below error while doing maven prepare
> {noformat}
> [WARNING] Error injecting: org.apache.maven.shared.release.phase.RewritePomsForReleasePhase
> java.lang.VerifyError: (class: org/apache/maven/shared/release/phase/AbstractRewritePomsPhase,
method: rewriteVersion signature: (Lorg/jdom/Element;Lorg/jdom/Namespace;Ljava/util/Map;Ljava/lang/String;Lorg/apache/maven/project/MavenProject;Ljava/lang/String;)V)
Incompatible argument to function
> 	at java.lang.Class.getDeclaredConstructors0(Native Method)
> 	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585)
> 	at java.lang.Class.getDeclaredConstructors(Class.java:1906)
> 	at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)
> ...
> {noformat}
> Please suggest what can be the issue.
> Tried cleaning up m2 folder.
> Thanks,
> Nilesh.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message