You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jason Horne <Ja...@sas.com> on 2003/09/17 19:47:46 UTC
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
--
Jason Horne
Application Architecture Team/MIS/ISD
SAS Institute Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: multiproject build with inherited POMs
Posted by khote <kh...@mminternet.com>.
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" <Ja...@sas.com>
To: <us...@maven.apache.org>
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
--
Jason Horne
Application Architecture Team/MIS/ISD
SAS Institute Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org