Thanks Peter! But this was not what I was looking for. Anyways I found out the way the mvn can be run as artifact wiht a specific phase (as install, clean etc) by having it as a task in ant script.
This way the the install phase of the maven can be called from within the ant script. My purpose was to do some additional functions before running the maven install . For that i had the build.xml but was not sure how to incorporate the maven features
Hope it helps !
The airline is called "Virgin"? Don't you want a plane to go all the way? This tiny ad will go all the way: