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

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-mime4j.git


The following commit(s) were added to refs/heads/master by this push:
     new 4f07346d MIME4J-313 -- correctly allow for builds with JDK > 8 but 
target/release of 8. (#67)
4f07346d is described below

commit 4f07346d9913179b05a8e4f2644a0c4fa7b535c2
Author: Tim Allison <tallison314...@gmail.com>
AuthorDate: Thu Apr 21 22:09:40 2022 -0400

    MIME4J-313 -- correctly allow for builds with JDK > 8 but target/release of 
8. (#67)
---
 pom.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/pom.xml b/pom.xml
index 76def669..59a6a9da 100644
--- a/pom.xml
+++ b/pom.xml
@@ -219,6 +219,24 @@
             </plugin>
         </plugins>
     </build>
+    <profiles>
+        <profile>
+            <id>jdk9</id>
+            <activation>
+                <jdk>[1.9,)</jdk>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-compiler-plugin</artifactId>
+                        <configuration>
+                            <release>8</release>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
     <reporting>
         <plugins>
             <plugin>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to