You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Boué (JIRA)" <ji...@apache.org> on 2016/10/06 17:45:22 UTC
[jira] [Commented] (MNG-6099) Error injecting:
org.apache.maven.shared.release.phase.RewritePomsForReleasePhase
[ https://issues.apache.org/jira/browse/MNG-6099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15552634#comment-15552634 ]
Guillaume Boué commented on MNG-6099:
-------------------------------------
Could you attach a simple project demonstrating the issue? This looks like you're forcing the use of the latest snapshot of {{maven-release-manager}}, but with an older release version of the {{maven-release-plugin}}.
> Error injecting: org.apache.maven.shared.release.phase.RewritePomsForReleasePhase
> ---------------------------------------------------------------------------------
>
> Key: MNG-6099
> URL: https://issues.apache.org/jira/browse/MNG-6099
> Project: Maven
> Issue Type: Bug
> Components: Deployment
> Affects Versions: 3.3.9
> Environment: Dev
> Reporter: Nilesh Shekokar
> Priority: Blocker
>
> Hi Team,
> I am getting below error while doing maven prepare
> [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)
> ...
> 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)