You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2020/04/15 10:07:47 UTC
[qpid-jms] branch master updated: QPIDJMS-497: add
maven.compiler.release config when building with JDK9+
This is an automated email from the ASF dual-hosted git repository.
robbie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-jms.git
The following commit(s) were added to refs/heads/master by this push:
new 6e19f91 QPIDJMS-497: add maven.compiler.release config when building with JDK9+
6e19f91 is described below
commit 6e19f91b1da71c500fb46973a2f8029c62210098
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Wed Apr 15 11:06:59 2020 +0100
QPIDJMS-497: add maven.compiler.release config when building with JDK9+
---
pom.xml | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index 446b788..e25ed7a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,9 +35,6 @@
</description>
<properties>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
-
<!-- Dependency Versions for this Project -->
<proton-version>0.33.4</proton-version>
<netty-version>4.1.48.Final</netty-version>
@@ -66,6 +63,10 @@
<jacoco-plugin-version>0.8.5</jacoco-plugin-version>
<surefire.version>2.22.2</surefire.version>
+ <!-- See also maven.compiler.release in the java9on profile -->
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+
<!-- Test properties -->
<maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
<surefire.runOrder>filesystem</surefire.runOrder>
@@ -378,6 +379,16 @@
</profile>
<profile>
+ <id>java9on</id>
+ <activation>
+ <jdk>[9,)</jdk>
+ </activation>
+ <properties>
+ <maven.compiler.release>8</maven.compiler.release>
+ </properties>
+ </profile>
+
+ <profile>
<id>java11on</id>
<activation>
<jdk>[11,)</jdk>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org