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

Upgrade from Maven 3.8.4 to 3.9.1 breaks flattening in plugin version > 1.3 #352

Open
william00179 opened this issue Mar 31, 2023 · 4 comments

Comments

@william00179
Copy link

Hi there,

I have upgraded from Maven 3.8.4 to 3.9.1 and noticed that dependencies in the parent POM were no longer being pulled into the leaf POM. Dropping the version of the plugin back to 1.3.0 resolved the issue.

What information do you need from me to investigate this issue?

@slawekjaranowski
Copy link
Member

As usual simple project which can be used to reproduce issue and finally can be added to IT.

You can look at examples in current ITs
https://github.com/mojohaus/flatten-maven-plugin/tree/master/src/it/projects

@slawekjaranowski
Copy link
Member

There is test similar to what you describe:
https://github.com/mojohaus/flatten-maven-plugin/tree/master/src/it/projects/inherit-parent-dependency

I'm right?

@slachiewicz
Copy link
Member

maybe its related to https://issues.apache.org/jira/browse/MRESOLVER-357

@slawekjaranowski
Copy link
Member

@slachiewicz @william00179 without example reproduce project we can only guess

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

No branches or pull requests

3 participants