maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wayne Fay <>
Subject Re: maven-antrun-plugin and ant basedir question
Date Thu, 09 May 2013 20:23:09 GMT
> I am trying to do a custom build of Dojo using Maven and the Dojo supplied
> build.xml file.  I have managed to get most of the pieces that I need into
> the pom.xml file to where the ant clean task works and the default task
> starts.  Unfortunately the default task depends on the value of basedir
> which is set to "." at the top of the build.xml file (<project name="dojo"
> default="cldr" basedir=".">).  Since Maven is not running from the
> directory where the build.xml file is at, all the paths are wrong.  In my

Can you not simply edit the basedir="." directly in the build.xml file
itself to reflect the correct directory? Or set/override that value
using a parameter passed in from Maven, or passed via a system
setting, or read from a properties file... or something?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message