summary refs log tree commit diff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-11-05 19:01:02 +0100
committerJulien Lepiller <julien@lepiller.eu>2017-11-18 11:30:01 +0100
commit2caf873e86db49a8807d938f3959beb9a7025447 (patch)
treedeb152e56d8d92eac7bffc479a4a8b00fe928665 /gnu/packages/java.scm
parentdfef4231f70d65dd55819e8c9c83742485c2fa48 (diff)
downloadguix-2caf873e86db49a8807d938f3959beb9a7025447.tar.gz
gnu: Add java-log4j-1.2-api.
* gnu/packages/java.scm (java-log4j-1.2-api): New variable.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index bbfd6bb21f..9f8e504a8d 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4256,6 +4256,24 @@ Java.")
     (description "This package provides the core component of the Log4j
 logging framework for Java.")))
 
+(define-public java-log4j-1.2-api
+  (package
+    (inherit java-log4j-api)
+    (name "java-log4j-1.2-api")
+    (arguments
+     `(#:jar-name "java-log4j-1.2-api.jar"
+       #:source-dir "log4j-1.2-api/src/main/java"
+       #:jdk ,icedtea-8
+       ;; Tests require maven-model (and other maven subprojects), which is a
+       ;; cyclic dependency.
+       #:tests? #f))
+    (inputs
+     `(("log4j-api" ,java-log4j-api)
+       ("log4j-core" ,java-log4j-core)
+       ("osgi-core" ,java-osgi-core)
+       ("eclipse-osgi" ,java-eclipse-osgi)
+       ("java-lmax-disruptor" ,java-lmax-disruptor)))))
+
 (define-public java-commons-cli
   (package
     (name "java-commons-cli")