Pin a plugin on a specific version

Problem statement
It's fairly common to manage environments whose SCA depends on a version of PMD that slightly fell behind the "LATEST", mostly because upgrades are quite costly and the catch-up will happen at some point in the future.
In the mean time the build pipeline has frozen the PMD version and so has to be done on the IDEs in order to ensure the same UX.

Question
Is there a way to pin a plugin on a specific version ?
This would simplify the way IDEs are managed without asking user to pay careful attention on the upgrade steps filtering out items : this process has been proved being quite error prone.

Temporary workaround
When an update is available (including plugin updates) :

  • temporarily disable the plugin
  • progress with the upgrade
  • re-enable the plugin

Plugin devs could consider releasing different plugins targeting different versions of PMD (i.e. PMD Plugin 6.2.0) but this is not happening yet. 

Any thoughts on this ?

Cheers,
Francesco

2

Please sign in to leave a comment.