Explicitly process resources in wrapper scripts

This commit is contained in:
Antonin Delpeuch 2018-09-09 17:48:48 +01:00
parent e846df0b9d
commit 8d5cb67e0c
2 changed files with 3 additions and 3 deletions

4
refine
View File

@ -641,7 +641,7 @@ run() {
if [ ! -d $REFINE_CLASSES_DIR ] ; then
IS_JAR=`ls $REFINE_LIB_DIR | grep openrefine`
if [ -z "$IS_JAR" ] ; then
mvn compile dependency:build-classpath
mvn process-resources compile dependency:build-classpath
echo ""
fi
fi
@ -1011,7 +1011,7 @@ add_option "-Dpython.cachedir=$HOME/.local/share/google/refine/cachedir"
# ----- Respond to the action given --------------------------------------------
case "$ACTION" in
build) build_prepare; mvn compile;;
build) build_prepare; mvn process-resources compile;;
clean) mvn clean;;
whitespace) whitespace $1;;
distclean) mvn distclean;;

View File

@ -232,7 +232,7 @@ echo http://bit.ly/1c2gkR
echo.
:gotMvnHome
set MVN_ACTION=""%ACTION%""
if ""%ACTION%"" == ""build"" set MVN_ACTION=""compile""
if ""%ACTION%"" == ""build"" set MVN_ACTION=""process-resources compile""
if ""%ACTION%"" == ""server_test"" set MVN_ACTION=""test -pl main""
if ""%ACTION%"" == ""extensions_test"" set MVN_ACTION=""test -pl extensions""
"%MAVEN_HOME%\bin\mvn.cmd" %MVN_ACTION%