guix-commits
[Top][All Lists]
Advanced

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

79/110: gnu: add maven-shared-io.


From: guix-commits
Subject: 79/110: gnu: add maven-shared-io.
Date: Thu, 16 Jul 2020 22:23:33 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit ebaaad1dffffa164904d113c2264e09770c31887
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 16:42:25 2020 +0200

    gnu: add maven-shared-io.
    
    * gnu/packages/maven.scm (maven-shared-io): New variable.
---
 gnu/packages/maven.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 800145b..57fcde1 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2430,3 +2430,47 @@ reporting or the build process.")))
      `(("maven-core" ,maven-3.0-core)
        ("maven-components-parent-pom" ,maven-components-parent-pom-21)
        ,@(package-propagated-inputs maven-shared-utils)))))
+
+(define-public maven-shared-io
+  (package
+    (name "maven-shared-io")
+    (version "3.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://apache/maven/shared/"
+                                  "maven-shared-io-" version
+                                  "-source-release.zip"))
+              (sha256
+               (base32
+                "0hsyll8gg581802xhs4achdz8fpmfz7y02abx9s4mb8bc6yfh229"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "maven-shared-io.jar"
+       #:source-dir "src/main/java"
+       #:test-dir "src/test"
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'copy-resources
+           (lambda _
+             (copy-recursively "src/main/resources" "build/classes/")
+             (copy-recursively "src/test/resources" "build/test-classes/")
+             #t))
+         (replace 'install
+           (install-from-pom "pom.xml")))))
+    (propagated-inputs
+     `(("maven-artifact" ,maven-3.0-artifact)
+       ("maven-compat" ,maven-3.0-compat)
+       ("maven-plugin-api" ,maven-3.0-plugin-api)
+       ("maven-shared-utils" ,maven-shared-utils)
+       ("maven-wagon-provider-api" ,maven-wagon-provider-api)
+       ("java-plexus-utils" ,java-plexus-utils)
+       ("maven-components-parent-pom" ,maven-components-parent-pom-22)))
+    (native-inputs
+     `(("unzip" ,unzip)
+       ("java-junit" ,java-junit)
+       ("java-easymock" ,java-easymock)))
+    (home-page "https://maven.apache.org/shared/maven-dependency-tree";)
+    (synopsis "Tree-based API for resolution of Maven project dependencies")
+    (description "This package provides a tree-based API for resolution of
+Maven project dependencies.")
+    (license license:asl2.0)))



reply via email to

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