-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request : aggregate applied recipes in a multi module project and print them at the end #328
Comments
This seems reasonable, we might be able to achieve this with a shutdown hook. |
Hi. I'm currently using the snapshot version of the maven plugin, and I'm not really found of this new behavior. |
@murdos I have added a configuration flag that will allow you to run on a per-module basis: See #360 Note the new configuration flag
The default for this flag is false, so you will need to explicitly set this flag to revert to the previous behavior. Thanks for the feedback! |
@tkvangorder : thanks for taking my input in consideration! Now there's currently a big pitfall with running only once per multi-module project: you don't take into account that each module may have configured the maven plugin differently, including using specific recipes.
|
Yes, I totally understand. This issue was a request from one of our design partners. The model of applying the recipe at the top level of the project and then operating on sources across all submodules is closer to parity with what is done in the Gradle plugin and how recipes are executed on the SaaS. |
I am running
mvn rewrite:run
from the root directory of a multi module project. Doing so produces a log such asThe problem is that when there are multiple modules, the logs are printed after the build of each module finishes
As my build prints many logs, it is very difficult and tedious to navigate the logs per module to find the recipes applied
It would be better if we could aggregate this and print it at the end of the build
An ideal output would look like this :
The text was updated successfully, but these errors were encountered: