You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@yetus.apache.org by se...@apache.org on 2018/05/20 14:44:26 UTC

yetus git commit: YETUS-634 maven plugin dropping '--batch-mode' maven argument

Repository: yetus
Updated Branches:
  refs/heads/master 169a3a77a -> 0deacc46b


YETUS-634 maven plugin dropping '--batch-mode' maven argument

Signed-off-by: Allen Wittenauer <aw...@apache.org>
Signed-off-by: Kengo Seki <se...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/0deacc46
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/0deacc46
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/0deacc46

Branch: refs/heads/master
Commit: 0deacc46bbde0ca76be941db4a24b1e75a0ccb3d
Parents: 169a3a7
Author: Sean Busbey <bu...@apache.org>
Authored: Wed May 16 11:51:02 2018 -0500
Committer: Kengo Seki <se...@apache.org>
Committed: Sun May 20 10:42:42 2018 -0400

----------------------------------------------------------------------
 precommit/test-patch.d/maven.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/0deacc46/precommit/test-patch.d/maven.sh
----------------------------------------------------------------------
diff --git a/precommit/test-patch.d/maven.sh b/precommit/test-patch.d/maven.sh
index 5f7e048..b16478f 100755
--- a/precommit/test-patch.d/maven.sh
+++ b/precommit/test-patch.d/maven.sh
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-declare -a MAVEN_ARGS=("--batch-mode")
+declare -a MAVEN_ARGS
 
 if [[ -z "${MAVEN_HOME:-}" ]]; then
   MAVEN=mvn
@@ -146,6 +146,8 @@ function maven_precheck
     return 1
   fi
 
+  MAVEN_ARGS=("${MAVEN_ARGS[@]}" "--batch-mode")
+
   if [[ ${MAVEN_CUSTOM_REPOS} = true ]]; then
     MAVEN_LOCAL_REPO="${MAVEN_CUSTOM_REPOS_DIR}/${PROJECT_NAME}-${PATCH_BRANCH}-${BUILDMODE}-${INSTANCE}"
     if [[ -e "${MAVEN_LOCAL_REPO}"