maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MRELEASE-964) Error injecting: org.apache.maven.shared.release.phase.RewritePomsForReleasePhase
Date Thu, 06 Oct 2016 18:10:20 GMT

     [ https://issues.apache.org/jira/browse/MRELEASE-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Scholte updated MRELEASE-964:
------------------------------------
    Description: 
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.

  was:
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.


> 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