12.3. Deploy the Corporate POM

12.3.1. Prerequisites

See Section A.2, “Prerequisites for Deploying Corporate Artifacts (from the umbrella project)”.

12.3.2. Deploy

To rehearse the deployment locally, use:

cd ~/starobjects/trunk/corporate
mvn deploy -D dist=local

This will deploy the corporate POM to /tmp/m2-repo/starobjects-release. See Section A.1, “How profile-based distribution management has been designed” for further details.

To deploy remotely, use:

cd ~/starobjects/trunk/corporate
mvn deploy -D dist=remote

This deploys the corporate POM to the server referenced in <distributionManagement> and specified in your local settings.xml.