use the mvn -f option like so:


mvn war:exploded -f submodule-webapp\pom.xml


mvn will cd into the submodule-webapp dir, execute the goals, then go back to the basedir


^_^



Jochen Wiedmann wrote:

Hi,

I have successfully migrated a project to Maven 2. So far, so good.

Currently I am working on  smoothing the basic use for the other team
members. In other words, I am about to provide equivalent functionality
for the former Ant targets. One of these targets should be

   myproject:webinstall

and it should be implemented with

   cd submodule-webapp
   mvn war:exploded
   cd ..

What is the best way to achieve that?

Regards,

Jochen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to