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
.