diff options
| author | mo khan <mo.khan@gmail.com> | 2020-03-18 10:17:42 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-03-18 10:29:41 -0600 |
| commit | d900a27a7291fcbc2d699fff8590b4e19eaf475a (patch) | |
| tree | dac8cd040cb3cc9ad6c0e0b4aa46cda67005b16c | |
| parent | 3020221fb20457860a7f33f0e26d891923d830db (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-x | run.sh | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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} } |
