You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Fredy <so...@email.de> on 2006/02/01 10:02:21 UTC

[m2] ant copy before maven -> urgent !!

Hi,
all is urgent ,-)

Now I have a pom for almost the hole modules/artifacts in our project.
But there are in a separate folder on before I execute Maven i have to execute an ant copy task, that copies the Classes/Resources etc. to my "virtual" Maven Projekt.
Now I should exectute that ant task in maven. But i want to call the existing build.xml and not define the task in maven's pom!

This is just a workarround! The Project Structure will be adapted in medium-term. But not now, and I need the original ANT Build as fallback!

Can anybody please send me an example for calling an external ant target fom maven, that will be exectuet very soon (at first) in the maven process?

Thanks Fredy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] ant copy before maven -> urgent !!

Posted by dan tran <da...@gmail.com>.
checkout maven-antrun-plugin from svn, it has plenty of example in src/it

-D


On 2/1/06, Fredy <so...@email.de> wrote:
>
> Hi,
> all is urgent ,-)
>
> Now I have a pom for almost the hole modules/artifacts in our project.
> But there are in a separate folder on before I execute Maven i have to
> execute an ant copy task, that copies the Classes/Resources etc. to my
> "virtual" Maven Projekt.
> Now I should exectute that ant task in maven. But i want to call the
> existing build.xml and not define the task in maven's pom!
>
> This is just a workarround! The Project Structure will be adapted in
> medium-term. But not now, and I need the original ANT Build as fallback!
>
> Can anybody please send me an example for calling an external ant target
> fom maven, that will be exectuet very soon (at first) in the maven process?
>
> Thanks Fredy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>