[java-parent-project] 05/05: Use TLS 1.2
Ian Young
ian at iay.org.uk
Mon Jul 30 11:12:11 EDT 2018
This is an automated email from the git hooks/post-receive script.
iay pushed a commit to branch master
in repository java-parent-project.
View the commit online:
http://git.shibboleth.net/view/?p=java-parent-project.git;a=commit;h=872c4bd378cd4caf52aae11a264e38a3c95340bb
commit 872c4bd378cd4caf52aae11a264e38a3c95340bb
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Mon Jun 25 17:17:02 2018 -0500
Use TLS 1.2
Enable TLSv1.2 when using Java 7 (which defaults to TLSv1.1) as older
version are no longer supported by Maven Central.
https://central.sonatype.org/articles/2018/May/04/discontinue-support-for-tlsv11-and-below/
TODO We should only set this option when using Java 7 since Java 8
defaults to TLSv1.2.
---
bin/upload-nexus-dependencies.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bin/upload-nexus-dependencies.sh b/bin/upload-nexus-dependencies.sh
index 11357fb..2feb296 100755
--- a/bin/upload-nexus-dependencies.sh
+++ b/bin/upload-nexus-dependencies.sh
@@ -26,6 +26,9 @@ declare -r SHIB_NEXUS_HOME="/home/nexus"
declare YES_TO_ALL=n
+# TODO For Java 7 only
+export MAVEN_OPTS=-Dhttps.protocols=TLSv1.2
+
# Prompts and returns user input.
function ask {
# $1 = default y or n
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list