You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has been an issue when relying on ivy repository (ie with publishLocal). When trying to depend on the published artifact, the transitive dependency cannot be resolved.
expectation
Both maven and ivy should use the overridden versions
The text was updated successfully, but these errors were encountered:
Ha ok. To me the doc states the overridden transitive version is not added to the ivy file. In the case above, the override affects a direct dependency.
But I understand that the override mechanism for ivy does not care if the dependency is direct or transitive, it simply does not propagate to the ivy file.
steps
When publishing a module overriding a dependency version with
dependencyOverrides
, I expect to find this version in the artifact dependencies.problem
You can find a minimal setup here to reproduce the problem:
When a project has the following setup:
it creates the expected pom file with
makePom
but does not take in account the
dependencyOverrides
for the ivy file inmakeIvyXml
This has been an issue when relying on ivy repository (ie with
publishLocal
). When trying to depend on the published artifact, the transitive dependency cannot be resolved.expectation
Both maven and ivy should use the overridden versions
The text was updated successfully, but these errors were encountered: