Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-964

Error injecting: org.apache.maven.shared.release.phase.RewritePomsForReleasePhase

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.5.3
    • Fix Version/s: 3.0.0-M1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Dev

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              gboue Guillaume Boué
              Reporter:
              nilesh.shekokar Nilesh Shekokar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: