Describe the bug
I just updated the BOM from 7.1 to 7.3 in our internal parent and we found that some dependency conflicts occured after this bump.
The bom references the querydsl-root parent and so also brings all management from that pom.
We found this issue as it manages ecj 3.45.0 and in our legacy gwt based projects, this breaks the gwt compilation even when the frontend module has no reference to any module/dependency that uses querydsl.
To Reproduce
Steps to reproduce the behavior:
- Have a module that depends on
org.eclipse.jdt:org.eclipse.jdt.core:3.33.0
- In parent add querydsl-bom to dependencyManagement
- check dependency tree
- See that ecj is managed to
3.45.0 instead of the expected 3.33.0
Expected behavior
The BOM should only manage versions for querydsl modules and nothing else.
Additional context
I checked how for example the springdoc-openapi-bom manages thier dependency. And i foundm, that the deployed pom does not references its parent and thus does not carry its dependencyManagement.
From what I found this is possible, as they use flatten-maven-plugin (see thier pom.xml) to rewrite the pom before publishing. The resulting pom can be found here
Describe the bug
I just updated the BOM from 7.1 to 7.3 in our internal parent and we found that some dependency conflicts occured after this bump.
The bom references the
querydsl-rootparent and so also brings all management from that pom.We found this issue as it manages
ecj3.45.0 and in our legacy gwt based projects, this breaks the gwt compilation even when the frontend module has no reference to any module/dependency that uses querydsl.To Reproduce
Steps to reproduce the behavior:
org.eclipse.jdt:org.eclipse.jdt.core:3.33.03.45.0instead of the expected3.33.0Expected behavior
The BOM should only manage versions for querydsl modules and nothing else.
Additional context
I checked how for example the
springdoc-openapi-bommanages thier dependency. And i foundm, that the deployed pom does not references its parent and thus does not carry its dependencyManagement.From what I found this is possible, as they use
flatten-maven-plugin(see thier pom.xml) to rewrite the pom before publishing. The resulting pom can be found here