Skip to content

Commit

Permalink
fix scope compile from to runtime in shell of making wtp #437 (#438)
Browse files Browse the repository at this point in the history
* fix scope compile from to runtime in shell of making wtp #437

* remove not working option #437

* fix unification of options #437

* remove option for libsrc setting #437

* remove duplicate commands #437

* fix the deletion order according to the mvn commands #437
  • Loading branch information
btkobayashirun authored Jun 29, 2020
1 parent a70e632 commit 15bf125
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions unmaven-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ BUILDXML=build.xml
##-------------------------

download_jars() {
rm -rf $WEBINFLIB $LIBSRC $TESTLIB
mvn dependency:copy-dependencies -DoutputDirectory=$WEBINFLIB -DincludeScope=compile -DexcludeScope=provided -DexcludeTypes=pom
mvn dependency:copy-dependencies -DoutputDirectory=$LIBSRC -DincludeScope=compile -DexcludeScope=provided -DexcludeTypes=pom -Dclassifier=sources
mvn dependency:copy-dependencies -DoutputDirectory=$TESTLIB -DexcludeScope=compile -DexcludeTypes=pom
mvn dependency:copy-dependencies -DoutputDirectory=$LIBSRC -DexcludeScope=compile -DexcludeTypes=pom -Dclassifier=sources
rm -rf $WEBINFLIB $TESTLIB $LIBSRC
mvn dependency:copy-dependencies -DoutputDirectory=$WEBINFLIB -DincludeScope=runtime -DexcludeTypes=pom
mvn dependency:copy-dependencies -DoutputDirectory=$TESTLIB -DexcludeScope=runtime -DexcludeTypes=pom
mvn dependency:copy-dependencies -DoutputDirectory=$LIBSRC -DexcludeTypes=pom -Dclassifier=sources
echo $? > /dev/null
}

Expand Down

0 comments on commit 15bf125

Please sign in to comment.