Quantcast
Channel: How to execute more than one maven command in bat file? - Stack Overflow
Browsing latest articles
Browse All 10 View Live

Image may be NSFW.
Clik here to view.

Answer by Ravi Chhetri for How to execute more than one maven command in bat...

Use these commands in batch file to run ur script. Keep your batch file where you pom.xml file is housedset ProjectPath=C:\TetonWorkSpace\PeriodicApplicationCheckcd %ProjectPath%mvn clean test...

View Article



Answer by Boobesh kumar for How to execute more than one maven command in bat...

Usecall mvn clean packagesample------echo %test%cd %test%\ManaulActionAddNotes-testcall mvn cleancd %test%\restAuthentication-testcall mvn clean

View Article

Answer by user11404376 for How to execute more than one maven command in bat...

we can use the following to build a maven and pass it to any unix folder for development purposeSET projectName=commonutilcd %gitpath%\%projectName%call mvn clean install -DskipTests=true %password%IF...

View Article

Answer by Seweryn Habdank-Wojewódzki for How to execute more than one maven...

The observed bahaviour comes from the time of MS-DOS 1.0 and it is kept for compatibility reasons. As a solution you shall use Windows call function in the following way:call mvn cleancall mvn...

View Article

Answer by saurav for How to execute more than one maven command in bat file?

Use 'call' when you want to invoke another batch file in the parent file ,so that control will be returned to the parent batch file and it will continue execution.e.g call mvn clean install

View Article


Answer by foupfeiffer for How to execute more than one maven command in bat...

Joey's answer is great, but maybe a more complete code example will help anyone else like me who's also figuring out a similar problem of building multiple maven projects from a batch file in...

View Article

Answer by Dmitri Algazin for How to execute more than one maven command in...

I have more projects to run, I created such bat this:@echo offSET DEVELOPMENT_HOME=C:\Projectscd %DEVELOPMENT_HOME%\Project1\call mvn clean installcd %DEVELOPMENT_HOME%\Project2\call mvn clean install

View Article

Answer by Joey for How to execute more than one maven command in bat file?

Usecall mvn cleancall mvn packageNote that you don't need semicolons in batch files. And the reason why you need to use call is that mvn itself is a batch file and batch files need to call each other...

View Article


Answer by carlspring for How to execute more than one maven command in bat file?

You can also have the following one-liner:call mvn clean package

View Article


How to execute more than one maven command in bat file?

I made a bat file like:mvn clean;mvn package;but it doesn't work, only the first command is executed.can someone help me?

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images