From d900a27a7291fcbc2d699fff8590b4e19eaf475a Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 18 Mar 2020 10:17:42 -0600 Subject: 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. --- run.sh | 1 - 1 file changed, 1 deletion(-) 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} } -- cgit v1.2.3