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

Goal: use-releases doesn't processes imported POMs in dependencyManagement #134

Closed
ghost opened this issue Mar 18, 2017 · 6 comments
Closed
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Mar 18, 2017

The imported BOMs are not processed correctly by use-releases goal, the fix for #79 is not working either.
I suppose this is due to how maven resolves imported POMs - there is no separate dependency for such import, it's replaced by list of dependencies defined in the POM.

@ghost
Copy link
Author

ghost commented Mar 18, 2017

Pull Request created: #135

khmarbaise added a commit that referenced this issue Mar 18, 2017
Fix for #134: Goal: use-releases doesn't processes imported POMs in dependencyManagement
@khmarbaise khmarbaise added this to the 3.0.0 milestone Mar 18, 2017
@khmarbaise
Copy link
Member

Merged PR #135

@khmarbaise khmarbaise self-assigned this May 27, 2017
@andrzejj0
Copy link
Contributor

Does this also happen for other goals?

@andrzejj0
Copy link
Contributor

I wanted to check if the same issue occurs in other Mojo's since they don't have that fix applied. It turns out that they don't suffer from the issue.

Further, when I removed the patch from UseReleasesMojo, import-scoped dependencies were still present in the collected dependency management dependencies, which means that they are now present out of the box and can be treated by the mojo. And the import dependencies get updated.

Which means that the patch can be removed. I'll create integration tests (important since Maven is involved) before doing that.

andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Nov 11, 2022
andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Nov 11, 2022
andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Nov 11, 2022
andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Nov 11, 2022
andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Nov 11, 2022
@andrzejj0
Copy link
Contributor

Same issue: #25, #308, #309, #346, #395

@andrzejj0
Copy link
Contributor

So, this problem is typically resolved by using dependency management from raw model.

andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Nov 14, 2022
…etRawModel can be used instead. Adding more integration tests.
andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Nov 14, 2022
…etRawModel can be used instead. Adding more integration tests.
andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Nov 14, 2022
…etRawModel can be used instead. Adding more integration tests.
andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Nov 14, 2022
…etRawModel can be used instead. Adding more integration tests.
andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Nov 14, 2022
…etRawModel can be used instead. Adding more integration tests.
andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Nov 14, 2022
…etRawModel can be used instead. Adding more integration tests.
andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Nov 17, 2022
…etRawModel can be used instead. Adding more integration tests.
andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Nov 19, 2022
…etRawModel can be used instead. Adding more integration tests.
andrzejj0 added a commit to andrzejj0/versions-maven-plugin that referenced this issue Nov 19, 2022
…etRawModel can be used instead. Adding more integration tests.
slawekjaranowski pushed a commit that referenced this issue Nov 19, 2022
…el can be used instead. Adding more integration tests.
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

2 participants