In Jenkins 2 the legacy plugin bundling engine has been removed. It complicates the code, because no we cannot bundle Jenkins plugins anymore and then support their updates. It means that now it's impossible to safely unbundle Core functionality anymore.
My proposal is to implement a new engine which...
- Would allow bundling of Jenkins plugins into Jenkins WAR file
- Install the plugin if it's not installed during the startup (if it's not disabled)
- Allow updating the version above the bundled one
For such cases I propose to partially restore the bundling engine, but without pinning feature.