summary refs log tree commit diff
path: root/gnu/packages/maven.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-09-14 22:37:01 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-09-14 23:13:22 +0300
commit276ab588a8a2617f84753158f59465a6865a2c77 (patch)
treec83a32dedde07a5686f0e4247100487cc5413c89 /gnu/packages/maven.scm
parent7cd50ad7faef745dc6c68e749ae97dc6b526ffca (diff)
downloadguix-276ab588a8a2617f84753158f59465a6865a2c77.tar.gz
gnu: maven-compiler-plugin: Don't use unstable tarball.
* gnu/packages/maven.scm (maven-compiler-plugin)[source]: Download using
git-fetch.
Diffstat (limited to 'gnu/packages/maven.scm')
-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 10adcda822..ad14c1aa62 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -3053,13 +3053,14 @@ components for supporting incremental build functionality in maven plugins.")
     (name "maven-compiler-plugin")
     (version "3.8.1")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/apache/"
-                                  "maven-compiler-plugin/archive/"
-                                  "maven-compiler-plugin-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/apache/maven-compiler-plugin")
+                     (commit (string-append "maven-compiler-plugin-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "018d9qwc4cd6k7a8kvhvxjmzbzd2ifdf7m36wqjfq42010js1mv1"))))
+                "0jkbq02vykd09ws8k9bzqxv6fjrpmir8gcxydbmj05kkhl242bma"))))
     (build-system ant-build-system)
     (arguments
      `(#:jar-name "maven-compiler-plugin.jar"