artifactory - Maven deploy multi module project only if all modules build successfully -


i have maven multi module project several modules. want deploy them (mvn deploy) if pass full mvn install (which includes tests).

currently, run mvn install on project. if modules pass, run mvn deploy deployment. problem see waste of time calling mvn twice (even if skip tests on second run).

does have idea on this?


edit: have learned using artifactory repository manager , maven-artifactory-plugin maven setup add atomic deploy behaviour mvn deploy command. see build integration section in artifactory documentation.

[disclosure - i'm associated jfrog. artifactory creator.]

take @ deployatend parameter of maven deployment plugin: http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -