cmoulliard opened a new issue, #1797:
URL: https://github.com/apache/maven-resolver/issues/1797

   ### Affected version
   
   1.9.24
   
   ### Bug description
   
   ## Issue
   
   The methods `collectDependencies` and `resolveDependencies` of the 
`RepositorySystem` only resolve partially the transitive dependencies when we 
create a CollecRequest with dependencies define in a pom.xml. 
   
   The following screenshot shows that some nodes of the 
`DefaultDependencyNode` contains children which are empty while they contain 
dependencies
   
   <img width="1137" height="574" alt="Image" 
src="https://github.com/user-attachments/assets/e5717505-14b7-4fbe-bf69-51ce024a6d66";
 />
   
   ```bash
   [INFO] +- io.quarkus:quarkus-resteasy:jar:3.18.4:compile
   [INFO] |  \- io.quarkus:quarkus-resteasy-server-common:jar:3.18.4:compile
   [INFO] |     +- io.quarkus:quarkus-resteasy-common:jar:3.18.4:compile
   [INFO] |     |  \- 
org.jboss.resteasy.microprofile:microprofile-config:jar:3.0.1.Final:compile
   [INFO] |     +- org.jboss.resteasy:resteasy-cdi:jar:6.2.11.Final:compile
   [INFO] +- io.quarkus:quarkus-resteasy-jackson:jar:3.18.4:compile
   [INFO] |  +- 
org.jboss.resteasy:resteasy-jackson2-provider:jar:6.2.11.Final:compile <====== 
it contains 2 children
   [INFO] |  |  +- org.jboss.resteasy:resteasy-core-spi:jar:6.2.11.Final:compile
   [INFO] |  |  +- org.jboss.resteasy:resteasy-core:jar:6.2.11.Final:compile
   ```
   
   I created a test case reproducing the issue: 
https://github.com/snowdrop/rewrite-client/blob/main/src/test/java/dev/snowdrop/rewrite/cli/DependencyNodeIssue.java
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to