What Maven version (beta-10 or CVS)? What Multiproject version (the one that
came with beta-10 or release 1.0 or the one in CVS)?
I'm guessing its beta-10, which means you need to add ${basedir}/ to the
front of the path. That's fixed in CVS.
As for the multiproject plugin - use version 1.0 released on the site, not
the one in beta-10.
- Brett
> -----Original Message-----
> From: Jason Horne [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 18 September 2003 4:01 AM
> To: Maven Users List
> Subject: RE: multiproject build with inherited POMs
>
>
> 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]
>