9.2. Deploying a Snapshot Manually

Deploying a snapshot means first deploying the main module, and then deploying the support module. Check with the sister projects if there are other modules to deploy.

For local deploys, the pom.xml module files deploy to subdirectories under /tmp. See Section A.1, “How profile-based distribution management has been designed” for further details.

9.2.1. Deploying the main module

First, build the module:

cd ~/xxxobjects/trunk/main
mvn clean install

Then, ensure it can be deployed locally:

mvn deploy -D dist=local

Then, deploy it remotely:

mvn deploy -D dist=remote

9.2.2. Deploying the support module

The steps for deploying the support module are essentially identical to deploying the main module; just replace 'main' with 'support'.