You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2018/06/23 15:09:36 UTC

[maven-repository-plugin] 01/01: Central only supports TLSv1.2

This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a commit to branch FIX_TLS
in repository https://gitbox.apache.org/repos/asf/maven-repository-plugin.git

commit 5f9d11a1f04fbff7d085160806c28d1d2839191e
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Sat Jun 23 17:09:22 2018 +0200

    Central only supports TLSv1.2
---
 pom.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pom.xml b/pom.xml
index dc5963e..f000377 100644
--- a/pom.xml
+++ b/pom.xml
@@ -237,6 +237,10 @@ under the License.
                     <extraArtifact>junit:junit:4.11:jar</extraArtifact>
                     <extraArtifact>org.codehaus.plexus:plexus-utils:1.1</extraArtifact>
                   </extraArtifacts>
+                  <properties>
+                    <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+                    <https.protocols>${https.protocols}</https.protocols>
+                  </properties>
                 </configuration>
               </execution>
             </executions>