I have a batch file that is executing three maven commands, one after each other. The great thing about each command is all three can be successfully executed in the script by itself. However, when all three commands are in the same file, only the first one executes.
mvn install:install-file -DgroupId=gdata -DartifactId=base -Dversion=1.0 -Dfile=gdata-base-1.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=blogger -Dversion=2.0 -Dfile=gdata-blogger-2.0.jar -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -DgroupId=gdata -DartifactId=blogger-meta -Dversion=2.0 -Dfile=gdata-blogger-meta-2.0.jar -Dpackaging=jar -DgeneratePom=true
Is this an issue with the batch file? Why does the first command execute?
September 16, 2013 1:06 PM
September 17, 2013 8:30 PM