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

Sean Busbey commented on HBASE-21074:
-------------------------------------

places we should update:

* ref guide section on building with a note about older jdk7
* make_rc.sh
* hbase_nightly_source-artifact.sh
* hbase-personality.sh

The current Yetus based JDK7 builds all seem to be fine. I think it's because 
they're relying on docker and thus get a more recent JDK1.7 than is on my local 
laptop or on the ASF build hosts (the source artifact test relies on asf 
jenkins for java and maven rather than using docker).

> JDK7 branches need to pass "-Dhttps.protocols=TLSv1.2" to maven when building
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-21074
>                 URL: https://issues.apache.org/jira/browse/HBASE-21074
>             Project: HBase
>          Issue Type: Bug
>          Components: build, community, test
>    Affects Versions: 1.5.0, 1.2.7, 1.3.3, 1.4.7
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Critical
>
> Maven central now requires TLSv1.2 and by default JDK7 doesn't use it. So 
> anyone building from a clean repo will fail like our nightly check of 
> building the convenience binary from the source tarball e.g. 1.4
> {code}
> [INFO] Scanning for projects...
> [INFO] Downloading from apache release: 
> https://repository.apache.org/content/repositories/releases/org/apache/apache/18/apache-18.pom
> [INFO] Downloaded from apache release: 
> https://repository.apache.org/content/repositories/releases/org/apache/apache/18/apache-18.pom
>  (16 kB at 14 kB/s)
> [INFO] Downloading from Nexus: 
> http://repository.apache.org/snapshots/org/apache/felix/maven-bundle-plugin/2.5.3/maven-bundle-plugin-2.5.3.pom
> [INFO] Downloading from central: 
> https://repo.maven.apache.org/maven2/org/apache/felix/maven-bundle-plugin/2.5.3/maven-bundle-plugin-2.5.3.pom
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> [ERROR] Unresolveable build extension: Plugin 
> org.apache.felix:maven-bundle-plugin:2.5.3 or one of its dependencies could 
> not be resolved: Failed to read artifact descriptor for 
> org.apache.felix:maven-bundle-plugin:jar:2.5.3 @ 
>  @ 
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   
> [ERROR]   The project org.apache.hbase:hbase:1.4.7-SNAPSHOT 
> (/home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-1.4-EDDBHIHAYHZVAGB2FQL37O5LZNSEJJEXGP55DEGOA4FQKBLNWBAQ/unpacked_src_tarball/pom.xml)
>  has 1 error
> [ERROR]     Unresolveable build extension: Plugin 
> org.apache.felix:maven-bundle-plugin:2.5.3 or one of its dependencies could 
> not be resolved: Failed to read artifact descriptor for 
> org.apache.felix:maven-bundle-plugin:jar:2.5.3: Could not transfer artifact 
> org.apache.felix:maven-bundle-plugin:pom:2.5.3 from/to central 
> (https://repo.maven.apache.org/maven2): Received fatal alert: 
> protocol_version -> [Help 2]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2] 
> http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException
> {code}
> if we pass "-Dhttps.protocols=TLSv1.2" to maven then it should work for any 
> JDK7 version.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to