You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2020/05/16 14:13:05 UTC
[commons-validator] branch master updated: Fix up CP48;
animal-sniffer 1.18 does not work on Java7
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-validator.git
The following commit(s) were added to refs/heads/master by this push:
new 5a9723c Fix up CP48; animal-sniffer 1.18 does not work on Java7
5a9723c is described below
commit 5a9723cc14dc4eece68e36bfa2d472faa4c4c06e
Author: Sebb <se...@apache.org>
AuthorDate: Sat May 16 15:12:56 2020 +0100
Fix up CP48; animal-sniffer 1.18 does not work on Java7
---
pom.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/pom.xml b/pom.xml
index c0b42c2..2c7bbee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -288,6 +288,18 @@
</plugins>
</build>
</profile>
+ <!-- profile to allow the use of plugin versions that require Java 7 -->
+ <!-- TODO remove when CP updated to version 51 -->
+ <profile>
+ <id>jdk7-plugin-fix-version</id>
+ <activation>
+ <jdk>[1.7,1.8)</jdk>
+ </activation>
+ <properties>
+ <!-- Fix to build on JDK 7: version 1.18 requires Java 8. -->
+ <commons.animal-sniffer.version>1.17</commons.animal-sniffer.version>
+ </properties>
+ </profile>
</profiles>
<developers>