diff options
| author | mo khan <mo.khan@gmail.com> | 2020-03-16 16:30:41 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-03-18 10:29:39 -0600 |
| commit | e073b2a28460fa5fbdd0851940b3ebccdf64ce38 (patch) | |
| tree | 090b75de229892ebb1c498488e70b93b53357a9e /config | |
| parent | 13d1dfceaf2f97561accc26c44add8d3785d2fab (diff) | |
Install maven-license-plugin at build time
Diffstat (limited to 'config')
| -rw-r--r-- | config/install.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/install.sh b/config/install.sh index 873cb14..d44b178 100644 --- a/config/install.sh +++ b/config/install.sh @@ -93,6 +93,10 @@ bash "$ASDF_DATA_DIR/plugins/nodejs/bin/import-release-team-keyring" asdf install asdf reshim asdf current + +# Install org.codehaus.mojo:license-maven-plugin:download-licenses to $HOME/.m2/repository +grep java ~/.tool-versions | tr ' ' '\n' | grep -v java | while read -r version; do asdf shell java "$version" && mvn license:help; done + rm -fr /tmp mkdir -p /tmp chmod 777 /tmp |
