You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/04/07 19:01:10 UTC

[maven-project-utils] branch master updated: require Java 7 Update parent pass source/target + https.protocols to maven-invoker-plugin

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

rfscholte pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-project-utils.git


The following commit(s) were added to refs/heads/master by this push:
     new 9d5c38d  require Java 7 Update parent pass source/target + https.protocols to maven-invoker-plugin
9d5c38d is described below

commit 9d5c38dc0cd92734c95ee3170987f4cc8a055bd6
Author: rfscholte <rf...@apache.org>
AuthorDate: Sun Apr 7 21:01:02 2019 +0200

    require Java 7
    Update parent
    pass source/target + https.protocols to maven-invoker-plugin
---
 pom.xml | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index b02a771..e8c211d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,8 +26,8 @@ under the License.
   <parent>
     <groupId>org.apache.maven.shared</groupId>
     <artifactId>maven-shared-components</artifactId>
-    <version>30</version>
-    <relativePath>../../pom/maven/maven-shared-components/pom.xml</relativePath>
+    <version>33</version>
+    <relativePath/>
   </parent>
 
   <artifactId>maven-project-utils</artifactId>
@@ -61,6 +61,7 @@ under the License.
 
   <properties>
     <mavenVersion>3.0</mavenVersion>
+    <javaVersion>7</javaVersion>
   </properties>
 
   <dependencies>
@@ -91,6 +92,9 @@ under the License.
   <profiles>
     <profile>
       <id>run-its</id>
+      <properties>
+        <maven.it.failure.ignore>false</maven.it.failure.ignore>
+      </properties>
       <build>
         <plugins>
           <plugin>
@@ -109,6 +113,13 @@ under the License.
               <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
               <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
               <settingsFile>src/it/settings.xml</settingsFile>
+              <ignoreFailures>${maven.it.failure.ignore}</ignoreFailures>
+              <properties>
+                <maven.compiler.source>${maven.compiler.source}</maven.compiler.source>
+                <maven.compiler.target>${maven.compiler.target}</maven.compiler.target>
+                <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+                <https.protocols>${https.protocols}</https.protocols>
+              </properties>
             </configuration>
           </plugin>
         </plugins>