HubSpot / dependency-management-maven-plugin

5 stars 6 forks source link

Add logging level #8

Closed Nimisha94 closed 6 years ago

Nimisha94 commented 6 years ago

This PR enables logging messages as errors or warnings depending on the fail flag.

jhaber commented 6 years ago

We could also upgrade the plugin to Java 8 and pass a Consumer<String> to DependencyManagementAnalyzer rather than a Log. Then in the enforcer rule we could pass getLog()::warn, and in the mojo we could pass getLog()::warn or getLog()::error depending on the fail flag

stevie400 commented 6 years ago

Awesome!

stevie400 commented 6 years ago

LGTM 🚢

stevie400 commented 6 years ago

👍