You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/04/24 05:49:00 UTC

[jira] [Work logged] (HADOOP-17661) mvn versions:set fails to parse pom.xml

     [ https://issues.apache.org/jira/browse/HADOOP-17661?focusedWorklogId=588254&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-588254 ]

ASF GitHub Bot logged work on HADOOP-17661:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Apr/21 05:48
            Start Date: 24/Apr/21 05:48
    Worklog Time Spent: 10m 
      Work Description: jojochuang opened a new pull request #2952:
URL: https://github.com/apache/hadoop/pull/2952


   Manual test:
   1. verified that mvn clean build passed
   2. verified that mvn versions:set completes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 588254)
    Remaining Estimate: 0h
            Time Spent: 10m

> mvn versions:set fails to parse pom.xml
> ---------------------------------------
>
>                 Key: HADOOP-17661
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17661
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.3.1, 3.4.0, 3.1.5, 3.2.3
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Blocker
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Run the following command on trunk
> mvn versions:set -DnewVersion=3.4.0
> {noformat}
> [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]
> {noformat}
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org