aboutsummaryrefslogtreecommitdiff
path: root/test/java/install_gradle_and_maven.sh
diff options
context:
space:
mode:
authorTobias Gesellchen <tobias@gesellix.de>2023-01-19 00:24:10 +0300
committerGitHub <noreply@github.com>2023-01-19 00:24:10 +0300
commitd78a1534925e7e424355d214c683e946cbb97d05 (patch)
treec0de2f137a1d25b468093f488245ffd5bffd84dd /test/java/install_gradle_and_maven.sh
parentf7314671e1654cd47263a09b134ddd0286f9eccc (diff)
Java: add Apache Ant (#409)
* Java: add Apache Ant * Update src/java/devcontainer-feature.json Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> * revert the changes in README.md * Add tests for Java/Ant * Fix Java feature version Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
Diffstat (limited to 'test/java/install_gradle_and_maven.sh')
-rw-r--r--test/java/install_gradle_and_maven.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/java/install_gradle_and_maven.sh b/test/java/install_gradle_and_maven.sh
deleted file mode 100644
index 636fd92..0000000
--- a/test/java/install_gradle_and_maven.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-set -e
-
-# Optional: Import test library
-source dev-container-features-test-lib
-
-check "user is root" grep root <(whoami)
-
-check "java" java --version
-check "gradle" gradle --version
-
-cd /tmp && gradle init --type basic --dsl groovy --incubating --project-name test
-check "GRADLE_USER_HOME exists" grep ".gradle" <(ls -la /root)
-
-check "maven" mvn --version
-cd /tmp && mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 -DinteractiveMode=false
-check "m2 exists" grep ".m2" <(ls -la /root)
-
-# Report result
-reportResults