java - Stop multiple maven build in cmd -


i've got following

.bat file :

cd project1 && mvn clean install && cd project2 && mvn clean install

when project 1 failes on module, continue building project2.

the problem here project 2 depends on project 1 , if there failure, want stop.

do have suggestions how can that?

i parent pom these 2 projects modules , run mvn clean install on parent. when there failure building of other projects skipped.


Comments

Popular posts from this blog

c++ - list<myClass<int> * > sort -

c - Defining floating point constants, how many digits are useful? -

C# Apple Bonjour - how to monitor service records within Windows -