guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

58/110: gnu: Add java-sonatype-aether-api.


From: guix-commits
Subject: 58/110: gnu: Add java-sonatype-aether-api.
Date: Thu, 16 Jul 2020 22:23:27 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit a18f0a7fd1a073c6a755370c377fe13a24815d51
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 14:02:44 2020 +0200

    gnu: Add java-sonatype-aether-api.
    
    * gnu/packages/maven.scm (java-sonatype-aether-api): New variable.
---
 gnu/packages/maven.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 00c644c..757b522 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -364,6 +364,40 @@ for repositories using URI-based layouts.")))
     (description "This package contains a transport implementation based on
 Maven Wagon, for use in Maven.")))
 
+;; aether is the parent project that was forked into maven-resolver.  It used
+;; to be used with older versions of Maven, and is still required for some
+;; plugins and their dependencies.  This version is required for the plugins,
+;; even though there are newer versions of this project.
+(define-public java-sonatype-aether-api
+  (package
+    (name "java-sonatype-aether-api")
+    (version "1.7")
+    (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
+                "1wn9fv91n40bvlwbzy0dmh0xqibxl2mpzpnbibhqss3c0zlr1ccq"))))
+    (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-6)))
+    (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]