-
Improvement
-
Resolution: Duplicate
-
Minor
-
None
The new plugin pom is still lacking.
You need to investigate the libraries used by the version of Jenkins you are targetting and update the node/servlet/slf4j/log4j/etc etc dependencies.
Instead of hard coding these (or using properties) the Jenkins version should produce a BOM that has the versions defined (it already does to a degree) and the plugin pom should import this BOM with scope import so that you do not have to worry about making sure the versions of libraries you are using aligns with the versions that Jenkins uses.
This is especially required now for Jenkins 2.0 which uses servlet 3.1 - and ongoing maintenance of these properties to keep plugins in sync is a PITA.
- duplicates
-
JENKINS-47498 Select compatible plugin versions using a BOM
- Resolved