struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sdu...@apache.org
Subject [2/2] struts-examples git commit: added missing log4j2 dependency
Date Mon, 17 Apr 2017 07:35:12 GMT
added missing log4j2 dependency


Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/c785bc55
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/c785bc55
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/c785bc55

Branch: refs/heads/master
Commit: c785bc559904c72830333d23cf6eb478a857176c
Parents: 08834c5
Author: Stefaan Dutry <stefaan.dutry@gmail.com>
Authored: Mon Apr 17 09:24:48 2017 +0200
Committer: Stefaan Dutry <stefaan.dutry@gmail.com>
Committed: Mon Apr 17 09:24:48 2017 +0200

----------------------------------------------------------------------
 pom.xml | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/c785bc55/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 43b8926..16778d5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,6 +41,7 @@
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <struts2.version>2.5.11-SNAPSHOT</struts2.version>
+        <log4j2.version>2.8.2</log4j2.version>
     </properties>
 
     <modules>
@@ -91,8 +92,24 @@
             <version>${struts2.version}</version>
         </dependency>
 
+        <dependency>
+            <groupId>org.apache.logging.log4j</groupId>
+            <artifactId>log4j-core</artifactId>
+            <version>${log4j2.version}</version>
+        </dependency>
+
     </dependencies>
 
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>org.apache.logging.log4j</groupId>
+                <artifactId>log4j-api</artifactId>
+                <version>${log4j2.version}</version>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
     <build>
 
         <plugins>
@@ -141,4 +158,4 @@
         </repository>
     </repositories>
 
-</project>
\ No newline at end of file
+</project>


Mime
View raw message