when I execute maven like this (from cygwin):
mvn clean deploy -pl cjr-extract-ws -am -Denv=test -DdeployExtractWS=true
it does exactly what it needs to do (build the cjr-extract-ws module with dependencies and deploys it)
But when I have it as single line in a 'deployWS.sh' file and run:
./deployWS.sh
From cygwin, for some reason it outputs (among a lot of other output) this:
[INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ cjr-extract-ws ---
[INFO] Skipping artifact deployment
and (guess what) skips deployment...
why???
I have
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
properties in other pom's (like 'parent' for example (and 'business')) but not in the cjr-extract-ws' pom.