You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ciprian Duma <ci...@gmail.com> on 2006/07/18 12:21:25 UTC

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org