Re: BOM files referencing optional dependencies

2023-06-17 Thread Tamás Cservenák
I would say yes. My reasoning: BOM is bill of materials, ANY materials potentially needed for a library. Otoh, optional dependencies have to be explicitly listed by consumers (POM consuming your library). Hence, you will help your consumer by giving them predefined version to use, IF they enlist

Re: BOM files referencing optional dependencies

2023-06-17 Thread Garret Wilson
Hi, Ceki. My understanding is that, yes, if they are part of the main library (i.e. not transitive dependencies from some other library), then they should also be included in the BOM. The BOM is usually imported under the `` section, which is simply the place where you are managing which ver

Re: BOM files referencing optional dependencies

2023-06-17 Thread Ceki Gülcü
On 6/17/2023 9:32 PM, Ceki Gülcü wrote: > > Hello, > > Is it considered good practice to reference optional dependencies in BOM > files? My question is probably silly as BOM files are reserved for declaring artifacts a project builds itself and not for dependencies, optional or otherwise. -

BOM files referencing optional dependencies

2023-06-17 Thread Ceki Gülcü
Hello, Is it considered good practice to reference optional dependencies in BOM files? -- Ceki Gülcü Sponsoring SLF4J/logback/reload4j at https://github.com/sponsors/qos-ch - To unsubscribe, e-mail: users-unsubscr...@maven.a