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/10 18:50:50 UTC

[maven-invoker-plugin] branch master updated: Pass source/target to ensure integration tests will compile with latest JDK

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-invoker-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 2dad92f  Pass source/target to ensure integration tests will compile with latest JDK
2dad92f is described below

commit 2dad92f75de8431c062b2b4974e06a2551471272
Author: rfscholte <rf...@apache.org>
AuthorDate: Wed Apr 10 20:50:42 2019 +0200

    Pass source/target to ensure integration tests will compile with latest JDK
---
 src/it/postbuild-executed-only-once/pom.xml                | 2 ++
 src/it/postbuild-executed-only-once/src/it/project/pom.xml | 4 ----
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/it/postbuild-executed-only-once/pom.xml b/src/it/postbuild-executed-only-once/pom.xml
index 479b580..0a9faa9 100644
--- a/src/it/postbuild-executed-only-once/pom.xml
+++ b/src/it/postbuild-executed-only-once/pom.xml
@@ -49,6 +49,8 @@ under the License.
             <goal>validate</goal>
           </goals>
           <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>
diff --git a/src/it/postbuild-executed-only-once/src/it/project/pom.xml b/src/it/postbuild-executed-only-once/src/it/project/pom.xml
index efbef26..01b4e1e 100644
--- a/src/it/postbuild-executed-only-once/src/it/project/pom.xml
+++ b/src/it/postbuild-executed-only-once/src/it/project/pom.xml
@@ -50,10 +50,6 @@ under the License.
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-compiler-plugin</artifactId>
           <version>3.7.0</version>
-          <configuration>
-            <source>1.6</source>
-            <target>1.6</target>
-          </configuration>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>