You can try the following ...

<project
  xmlns:deploy="deploy"
  xmlns:ant="jelly:ant">

  <goal name="get-deps">
    <deploy:copy-deps todir="${basedir}/lib"/>
  </goal>
  
  <preGoal name="runtest">
    <attainGoal name="get-deps"/>
  </preGoal>
  
  <goal name="runtest">
    <ant:ant dir="${basedir}" antfile="build.xml" target="runtest"/>
  </goal>

</project>

-----Original Message-----
From: Feilpe Vieira Silva [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 1:07 PM
To: [EMAIL PROTECTED]
Subject: how can I use an ANT task inside my maven.xml


Dear members,

I have an ANT build.xml files, with several well tested tasks and now
I“m trying to migrate to maven.

can I just copy these tasks inside of the maven.xml? and how can I call
them?
if not, what I must do instead?

regards,

    Felipe Gaścho
    Schoolbus owner
    https://schoolbus.dev.java.net

---------------------------------------------------------------------
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