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/18 12:14:14 UTC
[commons-codec] branch master updated: Download animal-sniffer for
use with Java 7
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-codec.git
The following commit(s) were added to refs/heads/master by this push:
new 1be7a57 Download animal-sniffer for use with Java 7
1be7a57 is described below
commit 1be7a5728ff9120307d48d1af8945ef49495e902
Author: Sebb <se...@apache.org>
AuthorDate: Mon May 18 13:14:05 2020 +0100
Download animal-sniffer for use with Java 7
---
pom.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/pom.xml b/pom.xml
index bb31f5f..9275fe7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -406,6 +406,18 @@ limitations under the License.
</plugins>
</reporting>
<profiles>
+ <!-- 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>
<profile>
<id>java9+</id>
<activation>