THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
It's difficult to type and remember this parameter. One solution is to create a profile in your settings.xmlTherefore the Commons Parent POM (from version 16) contains the following profile:
No Format |
---|
<profile> <id>local<id>test-deploy</id> <properties> <altDeploymentRepository>id::default::file:target/deploy</altDeploymentRepository> </properties> </profile> |
You So you can then add -PlocalPtest-deploy
to the deploy command to change the deployment to use target/deploy
.
...