summary refs log tree commit diff
path: root/gnu/packages/maven.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2021-12-20 14:38:10 +0100
committerJulien Lepiller <julien@lepiller.eu>2022-02-05 20:16:26 +0100
commit5fbc8ade73b795ad26cbedec90f860dab6a2c609 (patch)
tree3a481aadb37bde08637edf6836ea43870bd68be3 /gnu/packages/maven.scm
parent7c32460aa2f208a61e8da325e215b1b2e221ee64 (diff)
downloadguix-5fbc8ade73b795ad26cbedec90f860dab6a2c609.tar.gz
gnu: Add java-sonatype-aether-api-1.13.
* gnu/packages/maven.scm (java-sonatype-aether-api-1.13): New variable.
Diffstat (limited to 'gnu/packages/maven.scm')
-rw-r--r--gnu/packages/maven.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 34af8992dc..943861187e 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -534,6 +534,37 @@ ease usage of the repository system.")))
      (list java-junit java-plexus-component-metadata
            java-sonatype-aether-test-util))))
 
+;; This slightly newer version is also required by some plugins
+(define-public java-sonatype-aether-api-1.13
+  (package
+    (name "java-sonatype-aether-api")
+    (version "1.13.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/sonatype/sonatype-aether")
+                     (commit (string-append "aether-" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1yl34dqhm6ykb7h63gkssyrdxv3dsa3n5b8d8cvy8rh4qsm6p2yb"))))
+    (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")))))
+    (propagated-inputs
+     `(("java-sonatype-forge-parent-pom" ,java-sonatype-forge-parent-pom-10)))
+    (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)))
+
 ;; Again, this old version is required by some maven plugins
 (define-public java-eclipse-aether-api
   (package