Make sure to get TLS V1.2 configuration master
authorKarl Heinz Marbaise <khmarbaise@apache.org>
Mon, 2 Jul 2018 18:44:06 +0000 (20:44 +0200)
committerKarl Heinz Marbaise <khmarbaise@apache.org>
Mon, 2 Jul 2018 18:44:06 +0000 (20:44 +0200)
for maven-invoker.

pom.xml

diff --git a/pom.xml b/pom.xml
index a1bf376..bf4fd24 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -165,6 +165,10 @@ under the License.
                   <goal>clean</goal>
                   <goal>${project.groupId}:${project.artifactId}:${project.version}:check</goal>
                 </goals>
+                <properties>
+                  <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+                  <https.protocols>${https.protocols}</https.protocols>
+                </properties>
               </configuration>
             </plugin>
           </plugins>