try to have relative path on your modules
<parent>
<groupId>org.cd.test</groupId>
<artifactId>parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
On 7/18/06, Mike Perham <[EMAIL PROTECTED]> wrote:
Certainly looks that way. It looks like a Maven SCM bug. What SCM
system are you using?
-----Original Message-----
From: Ciprian Duma [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 18, 2006 5:21 AM
To: Maven Users List
Subject: prepare:release failure for flat layout project structure
Hi,
I have flat structure for my projects that looks like this:
parent
module1
module2
the parent lists the modules
<modules>
<module>../module1</module>
<module>../module2</module>
</modules>
and each module links to the parent
<parent>
<groupId>org.cd.test</groupId>
<artifactId>parent</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
and when I run mvn release:prepare, it gives an error when trying to
commit the poms:
[INFO] Checking in modified POMs...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An error is occurred in the checkin process:
D:\workspaces\make-release\module1\pom.xml was not contained in
D:\workspaces\make-release\parent
Any ideas? Could it be because of the flat layout?
Thanks,
Ciprian
---------------------------------------------------------------------
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]