This message was deleted.
# dependency-management
s
This message was deleted.
v
What do you mean by "identify"? A BOM is just a POM with a
<dependencyManagement>
block.
v
I mean as like a bom artifact wont have jar file or similar in the repository, instead just a pom. So should just check for the availability of the pom without a jar to see if its a bom? eg: https://repo1.maven.org/maven2/net/kyori/adventure-bom/4.11.0/
v
Yes, BOMs typically also do not have a jar. But a POM without a jar is not necessarily a BOM.
BOMs often are also called
...-bom
but don't have to be
And a BOM could actually also be within another POM and be both
So there could even be a jar beside the POM that is also used as BOM
There is no reliable way to "identify" a BOM or non-BOM
👍 1
v
Ahhh I see, Thank you!
v
<redacted>
v
I'm not sure I understood that 😅
Does the pom file specify the file to be used?
For more context, I'm working on a runtime dependency manager (https://github.com/slimjar/slimjar). I initially just ignored any jar files it couldnt find considering it as bom, but that does not feel like the right way to go about this.
v
Ah, sorry, last message was in wrong chat
v
ahhh, alrighty 👍👍