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

Add IT test to check excludeFiltersFile duplications on multi-module projects #282

Merged
merged 2 commits into from
Dec 16, 2020

Conversation

aoterolorenzo
Copy link

Related to #281

An IT test has been created to cause and detect the issue. This test checks the existence of the excludeFiltersFile provided on the parent POM in each submodule, when a relativePath is used to declare it, taken the specific case from the info and examples provided in #281.

</build>

<properties>
<project.parent.relativePath>..</project.parent.relativePath>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aoterolorenzo If you only need to run Spotbugs in the submodules, you can move the plugin configuration in this POM to the <pluginManagement> section. After that, you wouldn't need to force a project.parent.relativePath redefinition here.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm aware, that lines were and absolute playground to try out some stuff. I just saw and removed them a minute before your comment. Thank you! :)

@hazendaz
Copy link
Member

@aoterolorenzo Thanks, I'm pulling this now so I can kick the tires here and see the issue locally.

@hazendaz hazendaz merged commit a857a98 into spotbugs:spotbugs Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants