Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17647 Release Hadoop 3.3.1
  3. HADOOP-17661

mvn versions:set fails to parse pom.xml

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      Run the following command on trunk
      mvn versions:set -DnewVersion=3.4.0

      [ERROR] Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.8.1:set (default-cli) on project hadoop-main: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.8.1:set failed: Error parsing /Users/weichiu/sandbox/hadoop/hadoop-project/pom.xml: Unexpected character '-' (code 45) (expected a name start character)
      [ERROR]  at [row,col {unknown-source}]: [2288,12]
      

      Someone else reported the same issue https://github.com/mojohaus/versions-maven-plugin/issues/429

      Maven: 3.3.9 ~ 3.8.1
      Affects trunk ~ branch-3.0. (But branch-2.10 is not affected)

      We don't use versions-maven-plugin directly, and I couldn't find out when it was updated.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                weichiu Wei-Chiu Chuang
                Reporter:
                weichiu Wei-Chiu Chuang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m