cy6erGn0m / kotlin-bom

0 stars 0 forks source link

BOM improvements #1

Open snicoll opened 6 years ago

snicoll commented 6 years ago

I am reacting on the call of @sdeleuze on a Spring Boot issue.

The BOM looks very good overall, here are some suggestions:

cy6erGn0m commented 6 years ago

Given the state of the parent, can you please avoid having a parent at all?

The idea was to reserve parent to be able to write multiple BOM's for different "worlds" however I am not sure about yet

snicoll commented 6 years ago

It's ok to have something to aggregate things but I personally prefer to avoid hierarchies with BOMs.

cy6erGn0m commented 6 years ago

The other issue is that without kotlin.version there is no way to specify compiler plugin's version (e.g. allopen) except via substitution

snicoll commented 6 years ago

I am not following. That bom is going to be imported and those properties won't be available. And a BOM doesn't take care of plugin configuration at all.

Or do you intend to use this bom as a parent of something else?

cy6erGn0m commented 6 years ago

Ah I see. Then the problem becomes more serious.

https://issues.apache.org/jira/browse/MNG-2496 https://issues.apache.org/jira/browse/MNG-2172

snicoll commented 6 years ago

@cy6erGn0m nothing new there, it's been like that for years and I don't think having a BOM means those should be fixed first.

cy6erGn0m commented 6 years ago

Isn't allopen plugin good to have for spring? Any options?

sdeleuze commented 6 years ago

We configure it explicitely is order to make it easier to disable it and less surprising for end users, so better to focus only on dependency versions in any case in the BOM (we don't really have the choice).