maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajiv <>
Subject RE: Need an example of calling a batch file from maven please.
Date Sun, 05 Jan 2014 01:04:11 GMT
Hi I am using maven3
I want to execute my bat file from pom but it is not working please guide me
							<target name="RUN">
								<echo message="${basedir}"/>
								<exec executable="cmd"
					     dir="D:\Android Calabash\Reportplugin\Calabash\"
									<arg value="/c"/>
									<arg value="cd Calabash"/>
									<arg value="D:\Android Calabash\Reportplugin\Calabash\run.bat"/>

When i run  from cmd prompt

i used following commands
>mvn target:run
>mvn verify
>mvn run
>mvn exe:run
>mvn package

only build success but bat file not run

View this message in context:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message