bodewig commented on PR #5: URL: https://github.com/apache/ant-antlibs-cyclonedx/pull/5#issuecomment-7441536308
I'll be the first to admit that I don't know much about Ivy, so I didn't even know it was possible to retain multiple versions of the same dependency package. Maybe I need some tutoring :-) To be honest it doesn't work with my mental model dependencies. What is the use case for preserving both - and how does this work in practice? Do both jars end up on the classloader and randomness (or file names) decide which class is loaded from which file? The test you've had to change was one for my personal understanding of dependencies completely independent of Ivy. When we add SBOMs for dependencies manually there may be conflicts and this antlib (up to this PR) will always decide to pick the latest version only. You seem to show this assumption is wrong, but I'm not sure what should replace it. Do we need to add some kind of conflict manager to the library itself? Can we contain this to the Ivy "plugin"? -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
