[maven-help-plugin] branch MPH-154 updated: Ignore logline starting with 'Picked up JAVA_TOOL_OPTIONS: '

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[maven-help-plugin] branch MPH-154 updated: Ignore logline starting with 'Picked up JAVA_TOOL_OPTIONS: '

rfscholte
This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch MPH-154
in repository https://gitbox.apache.org/repos/asf/maven-help-plugin.git


The following commit(s) were added to refs/heads/MPH-154 by this push:
     new 3b93230  Ignore logline starting with 'Picked up JAVA_TOOL_OPTIONS: '
3b93230 is described below

commit 3b932301cec966567209538822d6848af4d20e24
Author: rfscholte <[hidden email]>
AuthorDate: Wed Nov 7 20:47:12 2018 +0100

    Ignore logline starting with 'Picked up JAVA_TOOL_OPTIONS: '
---
 pom.xml                                   | 1 -
 src/it/evaluate-forceStdout/verify.groovy | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 9c2af9f..b36e1c0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -70,7 +70,6 @@
   <properties>
     <javaVersion>7</javaVersion>
     <mavenVersion>3.0</mavenVersion>
-    <invoker.streamLogs>true</invoker.streamLogs>
   </properties>
 
   <dependencies>
diff --git a/src/it/evaluate-forceStdout/verify.groovy b/src/it/evaluate-forceStdout/verify.groovy
index 1622b29..09ff343 100644
--- a/src/it/evaluate-forceStdout/verify.groovy
+++ b/src/it/evaluate-forceStdout/verify.groovy
@@ -17,4 +17,4 @@
  * under the License.
  */
 
-assert '1.0' == new File(basedir, 'build.log').readLines().first()
+assert '1.0' == new File(basedir, 'build.log').readLines().findAll{ !it.startsWith('Picked up JAVA_TOOL_OPTIONS: ') }.first()