yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sek...@apache.org
Subject yetus git commit: YETUS-634 maven plugin dropping '--batch-mode' maven argument
Date Sun, 20 May 2018 14:44:26 GMT
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 <sekikn@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 <busbey@apache.org>
Authored: Wed May 16 11:51:02 2018 -0500
Committer: Kengo Seki <sekikn@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}"


Mime
View raw message