Mingliang Liu created HADOOP-17184:
--------------------------------------

             Summary: Add --mvn-custom-repos parameter to yetus calls
                 Key: HADOOP-17184
                 URL: https://issues.apache.org/jira/browse/HADOOP-17184
             Project: Hadoop Common
          Issue Type: Bug
          Components: build
            Reporter: Mingliang Liu


In my request PR [#2188|https://github.com/apache/hadoop/pull/2188], I see the 
QA build fails with unrelated errors.
{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-install-plugin:2.5.1:install (default-install) 
on project hadoop-project: Failed to install metadata 
org.apache.hadoop:hadoop-project:3.4.0-SNAPSHOT/maven-metadata.xml: Could not 
parse metadata 
/home/jenkins/.m2/repository/org/apache/hadoop/hadoop-project/3.4.0-SNAPSHOT/maven-metadata-local.xml:
 in epilog non whitespace content is not allowed but got n (position: END_TAG 
seen ...</metadata>\nn... @21:2) -> [Help 1]
{code}

As reported by HBASE-22474 and HBASE-22801, PreCommit validation from yetus 
uses a shared .m2 repository. By adding {{--mvn-custom-repos}} and 
{{--jenkins}} paramters, yetus will use a custom .m2 directory for executions 
for PR validations.

This is a change to mimic that for Hadoop project.

CC: [~aajisaka]




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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to