Overriding Jenkins version of parent POM

22 views
Skip to first unread message

Christopher Orr

unread,
Aug 21, 2017, 12:52:57 PM8/21/17
to jenkin...@googlegroups.com
Hi all,

The android-lint plugin is based on analysis-core, and is using
analysis-pom as its parent. That has an older version of the Jenkins
plugin as its parent and with it a (fairly understandably) conservative
minimum Jenkins baseline version.

However, I'd quite like to give my plugin a somewhat newer Jenkins
baseline, at least for testing, but likely also for release.

Is it possible to achieve this with Maven, or would analysis-pom need to
upgrade to the newer Jenkins plugin parent, which would (possibly?)
allow me to override the `jenkins.version`property in my POM?

Thanks,
Chris

Oleg Nenashev

unread,
Aug 21, 2017, 1:19:03 PM8/21/17
to Jenkins Developers, Ullrich Hafner
Hi Cristopher,

Added Ullrich to CC.
IMHO the best way is to update the Analysis POM to Parent POM 2.x. Once somebody does that, it will be possible to specify custom core baselines in child POMs. It also brings in improvements in dependency checks, static analysis, etc.

BR, Oleg

понедельник, 21 августа 2017 г., 18:52:57 UTC+2 пользователь Christopher написал:

Ullrich Hafner

unread,
Aug 23, 2017, 5:43:36 PM8/23/17
to Jenkins Developers
I’m already planning to base the next 2.0 release on a 2.x POM. Since this requires still some time, you can try to create a new analysis-pom PR on your own that uses a newer version and then base your plugin on that version. We can have several analysis-pom versions without problems. Or do you need a new analysis-core release?

Ulli
signature.asc

Christopher Orr

unread,
Aug 24, 2017, 6:44:00 AM8/24/17
to jenkin...@googlegroups.com
Sounds good to me, thanks — I'll submit a POM PR.
> --
> 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 jenkinsci-de...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/B39330B3-DC4B-45C6-9215-582E8C26F1E1%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.
> Email had 1 attachment:
> + signature.asc
> 1k (application/pgp-signature)
Reply all
Reply to author
Forward
0 new messages