diff --git a/projects/maven.apache.org/package.yml b/projects/maven.apache.org/package.yml new file mode 100644 index 00000000..fc7a8543 --- /dev/null +++ b/projects/maven.apache.org/package.yml @@ -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=./ diff --git a/projects/maven.apache.org/pom.xml b/projects/maven.apache.org/pom.xml new file mode 100644 index 00000000..8252bbcb --- /dev/null +++ b/projects/maven.apache.org/pom.xml @@ -0,0 +1,13 @@ + + + 4.0.0 + xyz.tea + maven-test + 1.0.0-SNAPSHOT + + 1.8 + 1.8 + UTF-8 + + \ No newline at end of file diff --git a/projects/maven.apache.org/src/main/java/org/tea/MavenTest.java b/projects/maven.apache.org/src/main/java/org/tea/MavenTest.java new file mode 100644 index 00000000..c865c54b --- /dev/null +++ b/projects/maven.apache.org/src/main/java/org/tea/MavenTest.java @@ -0,0 +1,6 @@ +package xyz.tea; +public class MavenTest { + public static void main(String[] args) { + System.out.println("Testing Maven with Tea.xyz!"); + } +} \ No newline at end of file