From 8d5cb67e0cf00982c8e83505ebf2b1159ee09044 Mon Sep 17 00:00:00 2001 From: Antonin Delpeuch Date: Sun, 9 Sep 2018 17:48:48 +0100 Subject: [PATCH] Explicitly process resources in wrapper scripts --- refine | 4 ++-- refine.bat | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/refine b/refine index 4f081a5d0..1b5f9666e 100755 --- a/refine +++ b/refine @@ -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;; diff --git a/refine.bat b/refine.bat index 5c445a28b..c9735c331 100644 --- a/refine.bat +++ b/refine.bat @@ -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%