summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-09-14 22:32:59 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-09-14 23:13:22 +0300
commit7cd50ad7faef745dc6c68e749ae97dc6b526ffca (patch)
tree22cfe45bf348f17116bc4fbebb7fdbbcadce5591
parent05cd8837ebffd67179fbabf24f59e69ba9f3cad6 (diff)
downloadguix-7cd50ad7faef745dc6c68e749ae97dc6b526ffca.tar.gz
gnu: maven-resources-plugin: Don't use unstable tarball.
* gnu/packages/maven.scm (maven-resources-plugin)[source]: Download
using git-fetch.
-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 561ff2ee5b..10adcda822 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2944,13 +2944,14 @@ projects.")
     (name "maven-resources-plugin")
     (version "3.1.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/apache/"
-                                  "maven-resources-plugin/archive/"
-                                  "maven-resources-plugin-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/apache/maven-resources-plugin")
+                     (commit (string-append  "maven-resources-plugin-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1f5gnjg2xmqfxml6k0ydyd1sxxwzgnb24qn6avcc4mijwd8a84pl"))))
+                "090k5j2y7ak54czfjjg3v7pdmdlgd96fbs91d1fd3vslm9zzndg8"))))
     (build-system ant-build-system)
     (arguments
      `(#:jar-name "maven-resources-plugin.jar"