aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/maven.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-06-27 17:20:45 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-07-17 04:17:49 +0200
commit84ca4dbe7fb3cb998189a1667f06066fb53c11b7 (patch)
treedfbdcce636f73c07b33e35468c192c35b4d70ff1 /gnu/packages/maven.scm
parent9f547318e92799cfc1063fc2ffc91196aab871e4 (diff)
downloadguix-84ca4dbe7fb3cb998189a1667f06066fb53c11b7.tar
guix-84ca4dbe7fb3cb998189a1667f06066fb53c11b7.tar.gz
gnu: Add maven-archiver.
* gnu/packages/maven.scm (maven-archiver): New variable.
Diffstat (limited to 'gnu/packages/maven.scm')
-rw-r--r--gnu/packages/maven.scm40
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 4e55c51713..6291293b46 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2528,3 +2528,43 @@ Maven project dependencies.")
(description "This package provides a tree-based API for resolution of
Maven project dependencies.")
(license license:asl2.0)))
+
+(define-public maven-archiver
+ (package
+ (name "maven-archiver")
+ (version "3.5.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://apache/maven/shared/"
+ "maven-archiver-" version
+ "-source-release.zip"))
+ (sha256
+ (base32
+ "1204xkqj259brpk3yscprml0lbfbyn1vn5nrgqjk44z5vx127lbw"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "maven-archiver.jar"
+ #:source-dir "src/main/java"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'install
+ (install-from-pom "pom.xml")))))
+ (propagated-inputs
+ `(("java-commons-io" ,java-commons-io)
+ ("maven-artifact" ,maven-3.0-artifact)
+ ("maven-core" ,maven-3.0-core)
+ ("maven-model" ,maven-3.0-model)
+ ("maven-shared-utils" ,maven-shared-utils)
+ ("java-plexus-archiver" ,java-plexus-archiver)
+ ("java-plexus-interpolation" ,java-plexus-interpolation)
+ ("java-plexus-utils" ,java-plexus-utils)
+ ("maen-parent-pom" ,maven-parent-pom-33)))
+ (native-inputs
+ `(("java-junit" ,java-junit)
+ ("java-assertj" ,java-assertj)
+ ("unzip" ,unzip)))
+ (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)))