diff options
author | Yves Fischer <yves.fischer@cern.ch> | 2016-05-21 17:25:10 +0200 |
---|---|---|
committer | Yves Fischer <yves.fischer@cern.ch> | 2016-05-21 17:25:10 +0200 |
commit | 4a9f995227c3fda4e115bf81785857d17350f37e (patch) | |
tree | 32a5c4a97c7e00ef166bc2f860f113d554004e21 /packages/maven | |
parent | bb29281a4e1092b605c4ae1019df01f6eef66f3a (diff) | |
download | debian-packages-4a9f995227c3fda4e115bf81785857d17350f37e.tar.gz debian-packages-4a9f995227c3fda4e115bf81785857d17350f37e.zip |
rename maven to maven3 and add activator for bin/mvn
Diffstat (limited to 'packages/maven')
-rw-r--r-- | packages/maven/build.gradle | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/packages/maven/build.gradle b/packages/maven/build.gradle deleted file mode 100644 index 840de64..0000000 --- a/packages/maven/build.gradle +++ /dev/null @@ -1,22 +0,0 @@ -import org.xapek.yvesf.gradle.DownloadTask - -version '3.3.9' - -task download(type: DownloadTask) { - source "http://mirror.switch.ch/mirror/apache/dist/maven/maven-3/${version}/binaries/apache-maven-${version}-bin.tar.gz" - sha256sum '6e3e9c949ab4695a204f74038717aa7b2689b1be94875899ac1b3fe42800ff82' -} - -task unpack(type: Copy) { - from tarTree(download.destFile) - into file("${buildDir}/unpacked/dist") - eachFile { FileCopyDetails fcd -> - fcd.path = fcd.path.substring(path.indexOf('/')+1) - } -} -unpack.dependsOn(download) - -ospackage { - into "/opt/${project.name}" - from unpack.outputs.files -} |