ctubbsii commented on a change in pull request #1075: Fix travis build by
supressing download msgs
URL: https://github.com/apache/fluo/pull/1075#discussion_r312215573
##########
File path: .travis.yml
##########
@@ -26,6 +26,6 @@ jdk:
before_script:
- unset _JAVA_OPTIONS
env:
- - BUILD_ARGS="clean verify javadoc:jar"
+ - BUILD_ARGS="-B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
clean verify javadoc:jar"
Review comment:
Basically, instead of:
```yaml
env:
- BUILD_ARGS="-B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
clean verify javadoc:jar"
script:
- mvn $BUILD_ARGS
```
You could do:
```yaml
env:
- BUILD_ARGS="clean verify javadoc:jar"
script:
- mvn $BUILD_ARGS -B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
```
Both have the same result now, but in future, it's easier to add a second
execution by adding a new BUILD_ARGS line without having to move around the
suppression stuff.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services