summary refs log tree commit diff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-29 22:32:23 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-03-30 10:05:50 +0300
commit3a26ea3a58b9f2cf52563f24473cfa72b924e838 (patch)
tree4e3c1dd74ab10bc43d13e25871ae0d09c3d46fda /gnu/packages/java.scm
parent9520b2b16e242728ab9340047197389d6d2bc2fc (diff)
downloadguix-3a26ea3a58b9f2cf52563f24473cfa72b924e838.tar.gz
gnu: java-plexus-container-default-bootstrap: Don't use unstable tarball.
* gnu/packages/java.scm (java-plexus-container-default-bootstrap)
[source]: Download using git-fetch.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 5ee7109ab8..a3ea0847cf 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -3687,12 +3687,14 @@ components.")
     (name "java-plexus-container-default-bootstrap")
     (version "1.7.1")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/codehaus-plexus/plexus-containers"
-                                  "/archive/plexus-containers-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/codehaus-plexus/plexus-containers")
+                     (commit (string-append "plexus-containers-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0xw5g30qf4a83608rw9v2hv8pfsz7d69dkdhk6r0wia4q78hh1pc"))))
+                "1316hrp5vqfv0aw7miq2fp0wwy833h66h502h29vnh5sxj27x228"))))
     (build-system ant-build-system)
     (arguments
      `(#:jar-name "container-default.jar"