mirror of
https://github.com/ivabus/pantry
synced 2024-09-20 16:50:50 +03:00
![Andrew](/assets/img/avatar_default.png)
* maven.apache.org * rename to xyz.tea * use strip-components --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
24 lines
499 B
YAML
24 lines
499 B
YAML
distributable:
|
|
url: https://archive.apache.org/dist/maven/maven-{{version.major}}/{{version}}/binaries/apache-maven-{{version}}-bin.tar.gz
|
|
strip-components: 1
|
|
versions:
|
|
github: apache/maven
|
|
strip: /^maven-/
|
|
warnings:
|
|
- vendored
|
|
dependencies:
|
|
openjdk.org: '*'
|
|
build:
|
|
script:
|
|
- rm bin/*.cmd
|
|
- mkdir -p {{prefix}}
|
|
- mv ./* {{prefix}}/
|
|
provides:
|
|
- bin/mvn
|
|
- bin/mvnDebug
|
|
- bin/mvnyjp
|
|
test:
|
|
script:
|
|
- mvn -version | grep {{version}}
|
|
- mvn compile -Duser.home=./
|