You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/09/23 18:35:48 UTC

[commons-io] branch master updated: Cleanly separate some plugin configurations in profiles

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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git


The following commit(s) were added to refs/heads/master by this push:
     new 1c6de0e0 Cleanly separate some plugin configurations in profiles
1c6de0e0 is described below

commit 1c6de0e0709255599c8788a28333075f4f300b3e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Sep 23 14:35:43 2022 -0400

    Cleanly separate some plugin configurations in profiles
---
 pom.xml | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/pom.xml b/pom.xml
index 0802a5f6..10340767 100644
--- a/pom.xml
+++ b/pom.xml
@@ -564,6 +564,17 @@ file comparators, endian transformation classes, and much more.
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>java9-compile</id>
+      <activation>
+        <jdk>[9,)</jdk>
+      </activation>
+      <properties>
+        <!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
+        <coveralls.skip>true</coveralls.skip>
+        <maven.compiler.release>8</maven.compiler.release>
+      </properties>
+    </profile>
     <profile>
       <id>java9+</id>
       <activation>
@@ -573,11 +584,6 @@ file comparators, endian transformation classes, and much more.
         -->
         <jdk>[9,11)</jdk>
       </activation>
-      <properties>
-        <!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
-        <coveralls.skip>true</coveralls.skip>
-        <maven.compiler.release>8</maven.compiler.release>
-      </properties>
       <build>
         <plugins>
           <plugin>