You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (Jira)" <ji...@apache.org> on 2020/07/27 05:12:00 UTC

[jira] [Commented] (YETUS-976) MAVEN_OPTS in Dockerfile is not honored

    [ https://issues.apache.org/jira/browse/YETUS-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17165440#comment-17165440 ] 

Allen Wittenauer commented on YETUS-976:
----------------------------------------

Correct. 

There was no value outside of the container, so that is what it test-patch is going to use.  

> 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
>            Assignee: Akira Ajisaka
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)