java - How to run a plugin as the first task when a mvn command (ex: mvn clean install) is given in command line? -


in maven project. want have pom.xml.template (the original pom.xml having version values parameters) , versions.properties file (where have value versions) , need generate pom.xml file when user gives mvn clean or mvn install or similar command.

if create plugin it. when , can trigger plugin first action command executing custom plugin.

try using properties maven plugin


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -