Skip to content

Commit

Permalink
Fix the minimal version of Plugin POM required for the BOM support
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev authored Nov 25, 2019
1 parent a3517d5 commit 4087a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ By default, the setup wizard (Jenkins >= 2.0) is skipped when using `hpi:run`. I

Since version 2.195, Jenkins provides a [Maven Bill Of Materials (BOM)](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies)
that centrally defines versions of various libraries used by Jenkins Core.
The default behaviour of `plugin-pom` is to _not_ use the BOM, but when jenkins.version>=2.195 (and plugin-pom>=4.0) you can switch on Jenkins BOM support by setting the Maven property `use-jenkins-bom`.
The default behaviour of `plugin-pom` is to _not_ use the BOM, but when jenkins.version>=2.195 (and plugin-pom>=3.54) you can switch on Jenkins BOM support by setting the Maven property `use-jenkins-bom`.
For example:

`mvn -Djenkins.version=2.195 -Duse-jenkins-bom package`
Expand Down

0 comments on commit 4087a0f

Please sign in to comment.