diff options
author | Julien Lepiller <julien@lepiller.eu> | 2020-06-27 17:22:08 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2020-07-17 04:17:56 +0200 |
commit | 24bdd1504eba3f10b144c53738bdbde5f678b9b9 (patch) | |
tree | 5c91bf68f46f765f9f2215cfe30ff1051fb72787 /gnu/packages/maven.scm | |
parent | 84ca4dbe7fb3cb998189a1667f06066fb53c11b7 (diff) | |
download | guix-24bdd1504eba3f10b144c53738bdbde5f678b9b9.tar guix-24bdd1504eba3f10b144c53738bdbde5f678b9b9.tar.gz |
gnu: Add maven-dependency-tree.
* gnu/packages/maven.scm (maven-dependency-tree): New variable.
Diffstat (limited to 'gnu/packages/maven.scm')
-rw-r--r-- | gnu/packages/maven.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index 6291293b46..e59e7aea8b 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -2568,3 +2568,41 @@ Maven project dependencies.") (description "This package provides a tree-based API for resolution of Maven project dependencies.") (license license:asl2.0))) + +(define-public maven-dependency-tree + (package + (name "maven-dependency-tree") + (version "3.0.1") + (source (origin + (method url-fetch) + (uri (string-append "mirror://apache/maven/shared/" + "maven-dependency-tree-" version + "-source-release.zip")) + (sha256 + (base32 + "0mxfslxvcmjs13jl30zhcg672j970dzn6ihh79w9ajh6sfqmlds2")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "maven-dependency-tree.jar" + #:source-dir "src/main/java" + #:phases + (modify-phases %standard-phases + (replace 'install + (install-from-pom "pom.xml"))))) + (propagated-inputs + `(("maven-core" ,maven-3.0-core) + ("java-plexus-component-annotations" ,java-plexus-component-annotations) + ("maven-parent-pom" ,maven-parent-pom-30))) + (inputs + `(("java-sonatype-aether-api" ,java-sonatype-aether-api) + ("java-sonatype-aether-util" ,java-sonatype-aether-util) + ("java-eclipse-aether-api" ,java-eclipse-aether-api) + ("java-eclipse-aether-util" ,java-eclipse-aether-util))) + (native-inputs + `(("unzip" ,unzip) + ("java-junit" ,java-junit))) + (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))) |