Skip to content
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

Multi module project processing #904

Open
hazendaz opened this issue Jan 29, 2025 · 0 comments
Open

Multi module project processing #904

hazendaz opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels
is:feature New feature

Comments

@hazendaz
Copy link
Collaborator

Today, when this plugin runs, it runs for each module. Because the plugin does not start in a well defined folder such as src but rather the root of that level, that means that it will run multiple times against the same files per module. While I have not confirmed that the case, I cannot see how it isn't the case.

Take for example this project, its muti module and runs license under every module.

I've seen multiple plugins that need this sort of behavior now working differently where they only run once at the end.

See https://github.com/SonarSource/sonar-scanner-maven/blob/e2ddfc354744c15f7899b5f029ee49f2b4de0aa0/src/main/java/org/sonarsource/scanner/maven/SonarQubeMojo.java#L159

I think we need to look into this as I think it will help to improve the processing. I've seen open rewrite doing same thing now and I have some uses cases elsewhere that need same behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant