summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-30 09:24:13 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-03-30 10:05:51 +0300
commitd9e356a893fd57da939a068d9ca6911c79169009 (patch)
tree9dd23089ff50950d4b5389bdb7dd5e35bf609449
parent5723137a4cdc44c75de2d0a1d207fbf394db5530 (diff)
gnu: java-plexus-sec-dispatcher: Don't use unstable tarball.
* gnu/packages/java.scm (java-plexus-sec-dispatcher)[source]: Download using git-fetch.
-rw-r--r--gnu/packages/java.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 6a6af783c7..81a17c040e 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -3980,13 +3980,14 @@ Compiler component.")))
(source (origin
;; This project doesn't tag releases or publish tarballs, so we take
;; the "prepare release plexus-sec-dispatcher-1.4" git commit.
- (method url-fetch)
- (uri (string-append "https://github.com/sonatype/plexus-sec-dispatcher/"
- "archive/7db8f88048.tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sonatype/plexus-sec-dispatcher/")
+ (commit "7db8f880486e192a1c5ea9544e01e756c3d49d0f")))
(sha256
(base32
- "1smfrk4n7xbrsxpxcp2j4i0j8q86j73w0w6xg7qz83dp6dagdjgp"))
- (file-name (string-append name "-" version ".tar.gz"))))
+ "1ng4yliy4cqpjr4fxxjbpwyk1wkch5f8vblm1kvwf328s4gibszs"))
+ (file-name (git-file-name name version))))
(arguments
`(#:jar-name "plexus-sec-dispatcher.jar"
#:source-dir "src/main/java"