01/01: Downgrading log4j-api to 2.8 for struts who require 2.9: 2.9 doesn't pass the enforcer test to limit JDK8
This is an automated email from the git hooks/post-receive script. New commit to branch release/1.20 in repository nuiton-web. See https://gitlab.nuiton.org/nuiton/nuiton-web.git commit 3d7e67c9d1bc8bc47974e29fa45cfabebb659f05 Author: Brendan Le Ny <bleny@codelutin.com> Date: Wed Dec 20 14:03:04 2017 +0100 Downgrading log4j-api to 2.8 for struts who require 2.9: 2.9 doesn't pass the enforcer test to limit JDK8 --- nuiton-struts2/pom.xml | 5 +++++ pom.xml | 15 +++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/nuiton-struts2/pom.xml b/nuiton-struts2/pom.xml index a9916f5..7c5d8e4 100644 --- a/nuiton-struts2/pom.xml +++ b/nuiton-struts2/pom.xml @@ -42,6 +42,11 @@ </dependency> <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-api</artifactId> + </dependency> + + <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-json-plugin</artifactId> </dependency> diff --git a/pom.xml b/pom.xml index e072cd7..182c8a9 100644 --- a/pom.xml +++ b/pom.xml @@ -292,6 +292,21 @@ <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> <version>${struts2Version}</version> + <!-- exclude log4j-api 2.9 and superior because it messes with enforcing JDK8, not 9, see https://blogs.apache.org/logging/entry/log4j-2-9-released --> + <exclusions> + <exclusion> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-api</artifactId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-api</artifactId> + <!-- exclude log4j-api 2.9 and superior because it messes with enforcing JDK8, not 9, see https://blogs.apache.org/logging/entry/log4j-2-9-released --> + <version>2.8.2</version> + <scope>test</scope> </dependency> <dependency> -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm