13.3. Deploying the Skin

13.3.1. Prerequisites

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

13.3.2. Deploy

To rehearse the deployment locally, use:

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

This will deploy the Maven skin to /tmp/m2-repo; see Section A.1, “How profile-based distribution management has been designed” for further details.

To deploy remotely, use:

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

This deploys the Maven skin to the server referenced in <distributionManagement> and specified in settings.xml.