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%