Maven refactorings: Introduce PropertyApril 20th, 2010 by Irina Petrovskaya
Sometimes while editing pom.xml one needs to define a property and replace the occurrences of some value - artifact version, for example, - with this property. Now you can use the new IDEA Introduce Property refactoring for these purposes.
To invoke refactoring, select the string that should be replaced and press Ctrl-Alt-V (alternatively, you can use Maven/IntroduceProperty action in the editor context menu). In dialog enter the property name and select the pom to create the property in:
Refactoring finds all the occurrences of the selected string in the poms hierarchy and replaces them.
More refactorings will be added soon.
Any comments are appreciated.