I guess you stuck

http://jira.codehaus.org/browse/MRELEASE-138

release plugin expects child projects are under parent project

-D


On 7/18/06, Ciprian Duma <[EMAIL PROTECTED]> wrote:

I just tried but the result is the same :(.

Does the scm url play any role? They look like this:

.../<cvs-repo>:pre_dev/maven-tests/module1
.../<cvs-repo>:pre_dev/maven-tests/module2
.../<cvs-repo>:pre_dev/maven-tests/parent


On 7/18/06, dan tran <[EMAIL PROTECTED]> wrote:
> 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]
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to