James-
you can use ant antfile attribute to specify the exact location of build.xml
here basedir is the current working directory where maven-antrun-plugin is
executed
<configuration>
<target>
<ant antfile="${basedir}/build.xml">
<target name="test"/>
</ant>
...more stuff...
</configuration>
http://maven.apache.org/plugins/maven-antrun-plugin/examples/classpaths.html
HTH
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung.
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est
interdite. Ce message sert à l'information seulement et n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Tue, 11 Jun 2013 10:31:42 +0100
> Subject: antrun plugin 404
> From: [email protected]
> To: [email protected]
>
> I'm reading from http://maven.apache.org/plugins/maven-antrun-plugin/ that
> I should write a build.xml and call it using the <ant/> task.
>
> Trouble is, the link to the documentation comes back 404 Not Found.
>
> Is this stuff therefore still valid?
>
> James