Wei-Chiu Chuang created HADOOP-17661:
----------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]