Skip to content

Conversation

@alex1989hu
Copy link

The original patch is made by: Christian Schulte schulte@apache.org
@ChristianSchulte

For more information kindly ask you to visit the original pull request #30

Copy link
Contributor

@rfscholte rfscholte left a comment

Choose a reason for hiding this comment

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

Based on my first analysis I don't think we should add this the pom 4.0.0m the negative impact might be too big. We need a new specification to have better support for such usecase.

<version>0</version>
<type>pom</type>
<scope>import</scope>
<exclusions>
Copy link
Contributor

Choose a reason for hiding this comment

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

This IT doesn't reflect MNG-5600. The requests asks for exclusion of transitive dependencies, not direct dependencies.
To me excluding direct dependencies does not make sense.

Copy link
Author

Choose a reason for hiding this comment

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

I don't get you. If you exclude a dependency, then the actual excluded dependency and its all transitive dependencies are excluded. Maybe I misinterpret the change. Please clarify it

Choose a reason for hiding this comment

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

@rfscholte that is exactly the case. Sometimes you import another pom that is itself a dependencyManagement like spring-boot-dependencies

@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand the need for this file

Copy link
Author

Choose a reason for hiding this comment

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

The original author does not respond, so try to figure out. The repository contains 201 XML file with the same name but with different content. If you are familiar with IT tests in Maven you could tell is it needed or not. I guess the author wanted to follow convention.

The original patch is made by: Christian Schulte <schulte@apache.org>
@gnodet
Copy link
Contributor

gnodet commented Jun 15, 2023

Superseded by #269

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.

4 participants