mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
maven.apache.org (#2702)
* maven.apache.org * rename to xyz.tea * use strip-components --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
5d3823a908
commit
bbcb3c796d
23
projects/maven.apache.org/package.yml
Normal file
23
projects/maven.apache.org/package.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
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=./
|
13
projects/maven.apache.org/pom.xml
Normal file
13
projects/maven.apache.org/pom.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="https://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>xyz.tea</groupId>
|
||||
<artifactId>maven-test</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<properties>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
</project>
|
|
@ -0,0 +1,6 @@
|
|||
package xyz.tea;
|
||||
public class MavenTest {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Testing Maven with Tea.xyz!");
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue