betfair / cougar

Cougar is a framework for making building network exposed service interfaces easy.
http://betfair.github.io/cougar
Apache License 2.0
27 stars 18 forks source link

Suppress code generation messages unless maven is in debug mode #44

Closed atropineal closed 10 years ago

atropineal commented 10 years ago

Messages like these make up 95% (guessing) of the build output.

[INFO] Writing MapOfComplexOperation using template rescript/requestDataType.ftl to file /home/travis/build/betfair/cougar/baseline-client/client-idd/target/generated-sources/java/com/betfair/baseline/v2/rescript/MapOfComplexOperationRequest.java

I've never gained any value from these messages, and their volume makes troubleshooting builds un-necessarily harder. Proposal: suppress them unless mvn is invoked with -X. This will have a small but appreciated effects for folks that have to look at Cougar/Cougar-application build logs on a regular basis.