Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Parent Pom defines test-deploy profile

...

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.

...