HubSpot / prettier-maven-plugin

Apache License 2.0
116 stars 23 forks source link

Option to fail build after it has checked all modules #20

Open amr opened 4 years ago

amr commented 4 years ago

Thanks for the great plugin!

I've a multi-module project with about 10 modules. The build currently produces warnings and fails with the first failing module. Thus, I need to fix the issues, then re-run the build, fix, rinse and repeat 10 times until I've covered all 10 modules.

Is it possible to make the build continue but fail at the end? perhaps through a config option like <failFast>true/false<failFast>?

I'd be happy to work on a PR if there are no objections to this.

jhaber commented 2 years ago

Sorry for the lengthy delay. For your use-case would it be possible to run prettier:write on all 10 modules at once via a reactor build?