Thanks, but I figured it out. It's not quite as good as ant's -find option, but
maven jar --find project.xml
puts things in the right place. (Odd that maven is still able to search up the source tree to find some project.xml file on it's own, but doesn't reset the base directory. Is that a bug?)
Thanks again,
Dave
At 08:56 AM 6/19/2003 +0100, you wrote:
Dave,
You need to execute all goals in the directory that your project.xml lives !
Regards,
Vipul ----- Original Message ----- From: "David Walend" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 8:58 PM Subject: Lame newbie question - how to set target directory for the build?
> When I run "maven jar" from down inside my source code directory, the > target directory (containing all the build products) winds up down inside > my source code directory, instead of up next to my src directory. > http://maven.apache.org/reference/dirlayout.html implied that target would > be at the top, next to src. > > How can I set the target directory from a property to be ${basedir}/target > insead of /current dir/target? > > Thanks, > > Dave > > > --------------------------------------------------------------------- > 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
