Sometimes I'd like to deploy a bundle to archiva but skip the whole install 
process to a sling server. This is so that I can upload some small bundles that 
are dependencies in another project but skip having to install them into a 
running sling server.

When I try to skip the install step like this:
mvn clean deploy -Dmaven.install.skip=true

It still installs to localhost:8080. What's weird is that it doesn't seem to be 
using my 'default' profile - it just builds everything and uploads each bundle 
to localhost:8080 which I assume is a default in the maven-sling-plugin. 

Sometimes I'd like to just do something like:
mvn clean compile
mvn make_some_bundle
mvn deploy -Dmaven.install.skip=true

where the deploy uploads to my snapshotRepository as defined in 
repositoryManagement.


Rob

Reply via email to