maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barrie Treloar <>
Subject Re: Need an example of calling a batch file from maven please.
Date Sun, 05 Jan 2014 23:17:39 GMT
On 5 January 2014 11:34, rajiv <> wrote:
> Hi I am using maven3
> I want to execute my bat file from pom but it is not working please guide me


> i used following commands
>>mvn target:run
>>mvn verify
>>mvn run
>>mvn exe:run
>>mvn package
> only build success but bat file not run

Maven is not Ant.
There is too much here to explain properly and you would be much
better served to spend a few minutes reading one of the freely
available books at

This will give you some of the overview you need on you Maven journey.

I suspect you will even find example of how to invoke the ant plugin.

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

View raw message