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

Fix for issue #648: de-shadowing the localRepository property #650

Merged
merged 1 commit into from Aug 25, 2022

Conversation

jarmoniuk
Copy link
Contributor

AbstractMavenReport from maven-reporting-impl:3.2.0 introduced the localRepository property, which was supposed to be initialized from a parameter with the same name, and if the same was not supplied, from ${localRepository}. Unfortunately, it was shadowed by AbstractVersionsReport

@slawekjaranowski
Copy link
Member

Can we add some tests or assertions in existing test to catch such error?

@jarmoniuk
Copy link
Contributor Author

Ok, I think it doesn't really make sense to create a unit test, and the easiest one would be to use it. If that's not too heavy.

@slawekjaranowski
Copy link
Member

Please also add simple assertions to check if report file was created

Copy link
Member

@slawekjaranowski slawekjaranowski left a comment

Choose a reason for hiding this comment

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

please rebase with the master and squash to one commit

pom.xml Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression since rev 07042efa: parameter 'localRepository' cannot be null
2 participants