This is an automated email from the ASF dual-hosted git repository.
jgallimore pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
The following commit(s) were added to refs/heads/master by this push:
new 041027c No need specify MAVEN_OPTS on maven command
new af308bc Merge pull request #5 from danielsoro/patch-1
041027c is described below
commit 041027c7fcac4b175fa108ed5fb71439e2bbbd2f
Author: Daniel Cunha <[email protected]>
AuthorDate: Wed Jan 16 17:09:46 2019 -0300
No need specify MAVEN_OPTS on maven command
If you want to define the MAVEN_OPTS, we just need to export the env
property.
---
runtests | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/runtests b/runtests
index e80d0f5..fb82cb4 100755
--- a/runtests
+++ b/runtests
@@ -330,7 +330,7 @@ egrep 'javaee.(ri|cts).home' ~/.m2/settings.xml | perl -pe
's,^ *|<[^>]+>,,g' |
# Fire up Maven to do the real work
if [ -z $nc ]; then
-exec mvn $MAVEN_OPTS -U -V --file "$DIRNAME/pom.xml" \
+exec mvn -U -V --file "$DIRNAME/pom.xml" \
--batch-mode \
--errors \
$CONFIG \
@@ -346,7 +346,7 @@ exec mvn $MAVEN_OPTS -U -V --file "$DIRNAME/pom.xml" \
-e
"s/\(\[ERROR\].*\)/${BOLD}${TEXT_RED}\1${RESET_FORMATTING}/g" \
-e "s/Tests run: \([^,]*\), Failures: \([^,]*\), Errors:
\([^,]*\), Skipped: \([^,]*\)/${BOLD}${TEXT_GREEN}Tests run:
\1${RESET_FORMATTING}, Failures: ${BOLD}${TEXT_RED}\2${RESET_FORMATTING},
Errors: ${BOLD}${TEXT_RED}\3${RESET_FORMATTING}, Skipped:
${BOLD}${TEXT_YELLOW}\4${RESET_FORMATTING}/g"
else
-exec mvn $MAVEN_OPTS -U -V --file "$DIRNAME/pom.xml" \
+exec mvn -U -V --file "$DIRNAME/pom.xml" \
--batch-mode \
--errors \
$CONFIG \