[MNG-6650] BOM + profile: Transitive dependencies not resolved
- Dominant language
- Java
- Stars
- 5.3k
- Forks
- 3.1k
- Avg merge
- 20h 42m
- Merged PRs (30d)
- 297
Description
**[Jörg Hohwiller](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hohwille)** opened **[MNG-6650](https://issues.apache.org/jira/browse/MNG-6650?redirect=false)** and commented
I have found a strange situation where maven seems to be unable to resolve transitive dependencies for a particular dependency but only in Java11+
The failing build can be found here with all the analysis:
https://github.com/devonfw/devon4j/pull/82
As you can read there with all the details the error is related to a profile with
\
\[9,)\
\
That should fire on Java11 and seems to do but as a result all dependencies are eliminated in this case what seems like a strange maven bug.
The Code to reproduce the issue locally can also be cloned from here:
https://github.com/hohwille/devon4j/tree/feature/16-java-11
(be sure to checkout this "feature/16-java-11" branch)
After building you can even reduce and reproduce the error from `templates/server/target/test-classes/projects/basic/project/basic`
Just "cd" there and run "mvn clean install" with Java1.8 and with Java11.
---
**Affects:** 3.6.0
**Attachments:**
- [MNG-6650.tgz](https://issues.apache.org/jira/secure/attachment/12967834/MNG-6650.tgz) (_1.03 kB_)
Contributor guide
Assessment
This issue has not been assessed yet.