Helps to refactor a Maven pom.xml replacing inline dependencies/plugins versions with a dedicated property.
This IntelliJ plugin adds an intention action that suggests extraction of a dependency/plugin version in a POM using a property.
It adds an entry to Preferences | Editor | Intentions | SDK Intentions.
It is a high priority action, enabled when the cursor is on a non-variable dependency/plugin xml node.
Have a look at and contribute to the GitHub repo.
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "Maven Version Refactor" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Here the link to the plugin homepage.
Plugin based on the IntelliJ Platform Plugin Template.