maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haile, Mussie" <Hai...@Pragmatics.com>
Subject RE: how can I use an ANT task inside my maven.xml
Date Thu, 04 Nov 2004 18:15:27 GMT
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:fgaucho@gmail.com]
Sent: Thursday, November 04, 2004 1:07 PM
To: users@maven.apache.org
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org

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


Mime
View raw message