Working with Maven build profiles are quite easy. Switch between different available profiles can be made with a simple command line parameter -P: mvn clean install -P localhostProfile ...
Upading multiple versions once can be done manually, with customized script or with Maven plugin called Versions. With this plugin, version change is made by executing set goal, as below: mvn versi...