IntelliJ provides Extract Property
refactoring which can be used to extract maven artifact versions to properties in pom.xml
.
Extract Property refactoring creates a new property definition in the specified pom.xml file, finds all the occurrences of the selected string in the hierarchy of pom.xml files, and replaces them with the above property in the format: ${}
https://www.jetbrains.com/help/idea/2016.2/extract-property.html
Does eclipse have something similar?