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]

Reply via email to