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

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


The following commit(s) were added to refs/heads/master by this push:
     new 0e0627d  jdk7 its need https.protocol TLSv1.2
0e0627d is described below

commit 0e0627d4fa2172af25ea4c619818607007bbb2af
Author: olivier lamy <[email protected]>
AuthorDate: Tue Oct 23 11:39:36 2018 +1000

    jdk7 its need https.protocol TLSv1.2
    
    Signed-off-by: olivier lamy <[email protected]>
---
 pom.xml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/pom.xml b/pom.xml
index e22451a..92ecc36 100644
--- a/pom.xml
+++ b/pom.xml
@@ -326,6 +326,7 @@ under the License.
       <build>
         <plugins>
           <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-invoker-plugin</artifactId>
             <configuration>
               
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
@@ -339,6 +340,27 @@ under the License.
       </build>
     </profile>
     <profile>
+      <id>jdk7</id>
+      <activation>
+        <jdk>7</jdk>
+      </activation>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-invoker-plugin</artifactId>
+              <configuration>
+                <properties>
+                  <https.protocols>TLSv1.2</https.protocols>
+                </properties>
+              </configuration>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>
+    <profile>
       <id>reporting</id>
       <reporting>
         <plugins>

Reply via email to