summary refs log tree commit diff
path: root/gnu/packages/maven.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-06-27 15:44:56 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-07-17 04:16:09 +0200
commit9a7d55ee2519da7e7616b3aa907b4231d8123565 (patch)
treec389efbb16a0219bc3fcad0d19b3ff3ca46c06d3 /gnu/packages/maven.scm
parent540f36284353b7a3e23e4fa395c36dd2c26b478d (diff)
downloadguix-9a7d55ee2519da7e7616b3aa907b4231d8123565.tar.gz
gnu: Add java-eclipse-aether-api.
* gnu/packages/maven.scm (java-eclipse-aether-api): New variable.
Diffstat (limited to 'gnu/packages/maven.scm')
-rw-r--r--gnu/packages/maven.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 2baf6e9881..ae5efc640e 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -492,6 +492,35 @@ ease usage of the repository system.")))
        ("java-plexus-component-metadata" ,java-plexus-component-metadata)
        ("java-sonatype-aether-test-util" ,java-sonatype-aether-test-util)))))
 
+;; Again, this old version is required by some maven plugins
+(define-public java-eclipse-aether-api
+  (package
+    (name "java-eclipse-aether-api")
+    (version "1.0.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/eclipse/aether-core")
+                     (commit "aether-1.0.2.v20150114")))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "14d336nn0kh5ddf23j37va3hd8gaai19llrpxhf4bcc7g7sgdqxs"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "aether-api.jar"
+       #:source-dir "aether-api/src/main/java"
+       #:test-dir "aether-api/src/test"
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'install-parent (install-pom-file "pom.xml"))
+         (replace 'install (install-from-pom "aether-api/pom.xml")))))
+    (native-inputs `(("java-junit" ,java-junit)))
+    (home-page "https://github.com/sonatype/sonatype-aether")
+    (synopsis "Maven repository system API")
+    (description "This package contains the API for the maven repository system.")
+    (license license:asl2.0)))
+
 (define-public maven-shared-utils
   (package
     (name "maven-shared-utils")