Do not use the new plugin-pom with the BOM profile.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Do not use the new plugin-pom with the BOM profile.

James Nord-2
Hi all,

There are issues using the jenkins-bom for dependency versioning in the plugin pom.

Whilst it works for a single plugin, any plugins that are deployed using this also force any plugins that depend on them to enable the profile (as it can not be enabled per module).  likewise the other way around is probably very similar.

Adding dependecnyManagement based on a profile was probably not a great idea in hindsight :-(

Whilst I do not thing the change should be reverted, I don;t think people should use it unless they think very carefully.

possible solutions are 
1) flatten the pom
2) split the parent into bom/no bom

I'm busy with a release cycle right now, but plan to try again later this week.

/James

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/0598e832-e486-4058-8138-51bf08739afd%40googlegroups.com.