You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "cmoulliard (via GitHub)" <gi...@apache.org> on 2026/02/16 08:04:16 UTC
[I] Transtive dependencies are missing [maven-resolver]
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: issues-unsubscribe@maven.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Transtive dependencies are missing [maven-resolver]
Posted by "cstamas (via GitHub)" <gi...@apache.org>.
cstamas commented on issue #1797:
URL: https://github.com/apache/maven-resolver/issues/1797#issuecomment-3907315895
You session is not properly set up, you need at least this:
https://gist.github.com/cstamas/a12b19804999e505a2932d80ceabbc70
Without system properties (config), model builder cannot properly build models (ie evaluate profiles, etc), it _expects_ session to have all, will not go for `System` on his own.
--
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Transtive dependencies are missing [maven-resolver]
Posted by "cstamas (via GitHub)" <gi...@apache.org>.
cstamas commented on issue #1797:
URL: https://github.com/apache/maven-resolver/issues/1797#issuecomment-3909725975
Not an issue per se, session lacked any properties and model builder failed to build models as expected.
--
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Transtive dependencies are missing [maven-resolver]
Posted by "cstamas (via GitHub)" <gi...@apache.org>.
cstamas closed issue #1797: Transtive dependencies are missing
URL: https://github.com/apache/maven-resolver/issues/1797
--
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org