summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-18 10:17:42 -0600
committermo khan <mo.khan@gmail.com>2020-03-18 10:29:41 -0600
commitd900a27a7291fcbc2d699fff8590b4e19eaf475a (patch)
treedac8cd040cb3cc9ad6c0e0b4aa46cda67005b16c
parent3020221fb20457860a7f33f0e26d891923d830db (diff)
Remove extra mvn install step
LicenseFinder uses the [mvn license-maven-plugin:download-licenses](https://github.com/pivotal/LicenseFinder/blob/57914395fba6c8ceb741b1dc7ca2ef4efe91f6c9/lib/license_finder/package_managers/maven.rb#L16) plugin to fetch licenses. There is no need for the extra `mvn install` step. We just need to make sure that the `MAVEN_CLI_OPTS` are forwarded to `mvn` properly.
-rwxr-xr-xrun.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/run.sh b/run.sh
index ac8c030..e18ae43 100755
--- a/run.sh
+++ b/run.sh
@@ -69,7 +69,6 @@ function prepare_golang() {
}
function prepare_java() {
- #[[ -f pom.xml ]] && mvn install "${MAVEN_CLI_OPTS}"
[[ -f build.gradle ]] && [[ ! -f gradlew ]] && \
gradle build ${GRADLE_CLI_OPTS:+-x test}
}