I think Maven switches it automatically. The original line from the sub-POM had a forward-slash, i.e.:
<extend>../project.xml</extend> I changed it to a backslash, i.e.: <extend>..\project.xml</extend> In both cases, the error message had a backslash. Jason -----Original Message----- From: khote [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 1:51 PM To: Maven Users List Subject: Re: multiproject build with inherited POMs it's worth a shot to turn the slash around. ../project.xml ${basedir}/../project.xml works on my windows machines. ----- Original Message ----- From: "Jason Horne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 10:47 AM Subject: multiproject build with inherited POMs I'm getting a "can't find ..\project.xml" when trying to use multiproject to build Maven plugins with POMs that inherit from the root POM. This is the structure reflected in the plugins-build directory in the CVS tree. As a sanity check, I pulled src/plugins-build/* and src/plugins-build/war/* from CVS and got the same error. It occurs no matter which goal I specify; I've tried "multiproject:site" and "multiproject:artifact" among others. Perhaps it isn't evaluating the ".." in relationship to the working directory of the subproject, and thus isn't finding the root POM? Or, am I doing something wrong? Here's the text of the error: C:\Java\plugins2>maven multiproject:site multiproject:site: multiproject:create-nav: [mkdir] Created dir: C:\Java\plugins2\target\generated-xdocs Starting the reactor... BUILD FAILED File...... file:/C:/Documents and Settings/jahorn/.maven/plugins/maven-multiproject-plugin-1.0-SNAPSHOT/ Element... maven:reactor Line...... 84 Column.... 7 ..\project.xml (The system cannot find the file specified) Total time: 3 seconds --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
