Akira Ajisaka created YETUS-976:
-----------------------------------
Summary: MAVEN_OPTS in Dockerfile is not honored
Key: YETUS-976
URL: https://issues.apache.org/jira/browse/YETUS-976
Project: Yetus
Issue Type: Bug
Components: Precommit
Reporter: Akira Ajisaka
In Hadoop branch-2.10 {{MAVEN_OPTS}} is set as follows:
{noformat}
ENV MAVEN_OPTS -Xms256m -Xmx1536m -Dhttps.protocols=TLSv1.2
-Dhttps.cipherSuites=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
{noformat}
but facing the following error in build:
{noformat}
[ERROR] Unresolveable build extension: Plugin
org.apache.felix:maven-bundle-plugin:2.5.0 or one of its dependencies could not
be resolved: Failed to read artifact descriptor for
org.apache.felix:maven-bundle-plugin:jar:2.5.0: Could not transfer artifact
org.apache.felix:maven-bundle-plugin:pom:2.5.0 from/to central
(https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version
-> [Help 2]
{noformat}
It seems that {{-Dhttps.protocols=TLSv1.2}} is not in {{MAVEN_OPTS}}.
https://ci-hadoop.apache.org/job/hadoop-qbt-branch-2.10-java7-linux-x86_64/3/artifact/out/patch-mvninstall-root.txt
--
This message was sent by Atlassian Jira
(v8.3.4#803005)