guix-commits
[Top][All Lists]
Advanced

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

63/110: gnu: Add java-eclipse-aether-api.


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

roptat pushed a commit to branch master
in repository guix.

commit 9a7d55ee2519da7e7616b3aa907b4231d8123565
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 15:44:56 2020 +0200

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

diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 2baf6e9..ae5efc6 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")



reply via email to

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