summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-09-14 22:28:14 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-09-14 23:13:22 +0300
commit05cd8837ebffd67179fbabf24f59e69ba9f3cad6 (patch)
tree64fb6a20d2a31441d14f1f4611e600421ec6bb8a /gnu/packages
parent819ead3592e70bbb9c4451462ce7806368e0d41a (diff)
downloadguix-05cd8837ebffd67179fbabf24f59e69ba9f3cad6.tar.gz
gnu: maven-jar-plugin: Don't use unstable tarball.
* gnu/packages/maven.scm (maven-jar-plugin)[source]: Download using
git-fetch.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/maven.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index e0cc98d408..561ff2ee5b 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -3620,13 +3620,14 @@ reports in two different file formats, plain text and xml.")))
     (name "maven-jar-plugin")
     (version "3.2.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/apache/"
-                                  "maven-jar-plugin/archive/"
-                                  "maven-jar-plugin-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/apache/maven-jar-plugin")
+                     (commit (string-append "maven-jar-plugin-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "032042n3kfb4g5jf6khzxywn22xfy3jpx57lkq88xsv0lwx9np96"))))
+                "04y2rlmcabmc55ljqlkgbb5xx94a59cz1dvrnpfj1vzz024pqkyg"))))
     (build-system ant-build-system)
     (arguments
      `(#:jar-name "maven-jar-plugin.jar"