The BOM (bill of materials) provides a set of dependency versions that are known to work together and that do not have enforcer conflicts.
Refer to https://github.com/jenkinsci/git-plugin/pull/762/files and https://github.com/jenkinsci/git-plugin/pull/768/files for an example of the transition from not using the BOM to using the BOM. Other references might be https://github.com/jenkinsci/git-client-plugin/pull/460/files plus https://github.com/jenkinsci/git-client-plugin/pull/465/files and https://github.com/jenkinsci/platformlabeler-plugin/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aclosed+BOM I like what the BOM provides, since it reduces my workload to select dependencies and reduces dramatically the number of enforcer exclusions I need. On Wed, Oct 16, 2019 at 3:29 PM martinda <[email protected]> wrote: > > `FilePathDynamicContext`? Quite possibly. Update your `test`-scoped >> dependencies (or use the BOM) and check. >> >> > If this is right, how should it be modified so that it works again? >> >> Possibly just by wrapping in `FilePathDynamicContext. >>> >>> createContextualObject`. >> >> Thanks. I have spend a few hours trying to update the external workspace > manager plugin pom.xml to pick up the FilePathDynamicContext from > org.jenkins-ci.plugins.workflow:workflow-durable-task-step:2.31. But I was > not successful in aligning the other dependencies. I get in a spiral where > workflow plugins race to their most recent versions and I run out of > options. Also, I do not know what you mean by "use the BOM". I use the > "enforcer", it tells me what's wrong (see > https://gist.github.com/martinda/cfb51b953e2a4709dc73abf8a41a396c#file-maven-txt-L11 > ). > > Martin > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/fbb16917-ba92-4d82-8c61-285b9af6f5d9%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/fbb16917-ba92-4d82-8c61-285b9af6f5d9%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Thanks! Mark Waite -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtGdVe6V8R%3DjWonjHMY4JE2iXpSqFxJe3jDFe0%2BA94FR6g%40mail.gmail.com.
