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

Move dependency analysis from the root pom.xml to the modules #10062

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented May 4, 2024

Type of change

  • Refactoring

Description

This PR moves the Mavane dependency analysis from the root pom.xml file to the modules. This allows us to have more granular controller over the dependencies that are ignored unused etc. as we now configure them on the module level and not once for the whole project.

As part of this PR, I also fixed some smaller test issues I discovered thanks to this:

  • The CronTest was for some reason testing the Log4j cron expression instead of the Quartz one
  • The kafka-agent tests were not exected at all because they were written for JUnit 4 and not JUnit 5

This PR should resolve #8572

Checklist

  • Make sure all tests pass
  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
  • Reference relevant issue(s) and close them after merging

@scholzj scholzj added this to the 0.41.0 milestone May 4, 2024
@scholzj
Copy link
Member Author

scholzj commented May 4, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj scholzj requested a review from ppatierno May 4, 2024 11:07
@scholzj scholzj marked this pull request as ready for review May 4, 2024 11:07
@scholzj
Copy link
Member Author

scholzj commented May 4, 2024

/azp run kraft-regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@ppatierno ppatierno left a comment

Choose a reason for hiding this comment

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

LGTM

@ppatierno ppatierno self-requested a review May 6, 2024 06:51
@scholzj scholzj merged commit 17c4351 into strimzi:main May 6, 2024
29 checks passed
@scholzj scholzj deleted the move-dependency-analysis-from-project-parent-to-the-modules branch May 6, 2024 09:24
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.

[Enhancement]: Ignored unused declared (etc) applied too broadly
2 participants