summary refs log tree commit diff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2018-02-10 23:00:09 +0100
committerJulien Lepiller <julien@lepiller.eu>2018-02-25 11:56:44 +0100
commit239126d48b960013cc368a3f3636e760e0adb8fd (patch)
treeb87a3c7c3253a799fab52a2febfb27e1daaa33ff /gnu/packages/java.scm
parent4f77ba17c663881c0657c838fbcb2a98e9137aa5 (diff)
downloadguix-239126d48b960013cc368a3f3636e760e0adb8fd.tar.gz
gnu: Add java-plexus-compiler-api.
* gnu/packages/java.scm (java-plexus-compiler-api): New variable.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 57370db76e..45904ff84a 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2710,6 +2710,35 @@ from source tags and class annotations.")))
 and decryption.")
     (license license:asl2.0)))
 
+(define-public java-plexus-compiler-api
+  (package
+    (name "java-plexus-compiler-api")
+    (version "2.8.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/codehaus-plexus/plexus-compiler"
+                                  "/archive/plexus-compiler-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0g3x26pymcdnfnwv2a1i57pd5s26f5zqfi1rdy98z1bn01klx25k"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "plexus-compiler-api.jar"
+       #:source-dir "plexus-compiler-api/src/main/java"
+       #:jdk ,icedtea-8
+       #:test-dir "plexus-compiler-api/src/test"))
+    (inputs
+     `(("java-plexus-container-default" ,java-plexus-container-default)
+       ("java-plexus-util" ,java-plexus-utils)))
+    (native-inputs
+     `(("java-junit" ,java-junit)))
+    (home-page "https://github.com/codehaus-plexus/plexus-compiler")
+    (synopsis "Plexus Compilers component's API to manipulate compilers")
+    (description "This package contains the API used by components to manipulate
+compilers.")
+    (license (list license:asl2.0
+                   license:expat))))
+
 (define-public java-asm
   (package
     (name "java-asm")