Is there a reason to protect against the following:

<connection>${project.scm.developerConnection}/xx</connection>
<developerConnection>${project.scm.connection}/xx</developerConnection>

Looking at John's patch, it would not catch this kind of configuration
issue.  What I have above is certainly fabricated and is unlikely to
occur.  But I can see the possibility of circular references like this
cropping up from cut-n-paste errors which may not be obvious because
they are not in adjacent lines.

-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 05, 2006 20:02
To: Maven Users List
Subject: Re: [m2.0.3] Scanning for projects... hangs


John has fixed this and will post a new RC shortly.

On 4/5/06, Allison, Bob <[EMAIL PROTECTED]> wrote:
> And yes it hangs in the 2.0.4 RC
>
> -----Original Message-----
> From: Allison, Bob [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 04, 2006 19:10
> To: Maven Users List
> Subject: RE: [m2.0.3] Scanning for projects... hangs
>
>
> It doesn't require child projects.  The following POM hangs in 2.0.3
(I
> haven't downloaded the 2.0.4 RC yet):
>
> <?xml version="1.0" encoding="UTF-8"?>
> <project>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>test</groupId>
>   <artifactId>test</artifactId>
>   <packaging>pom</packaging>
>   <name>Test Hang</name>
>   <version>1.0-SNAPSHOT</version>
>   <scm>
>     <connection>${project.scm.connection}/xx</connection>
>
>
<developerConnection>${project.scm.developerConnection}/xx</developerCon
> nection>
>     <url>${project.scm.url}/xx</url>
>   </scm>
> </project>
>
> Notice that project.scm.url contains ${project.scm.url} and likewise
for
> the other two SCM entries.  I believe that this is what is causing the
> hang.  I suspect what Jens is trying to do is get the value of
> project.scm.* from the parent project.
>
> -----Original Message-----
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 04, 2006 17:48
> To: Maven Users List
> Subject: Re: [m2.0.3] Scanning for projects... hangs
>
>
> what about the hang?
>
> On 4/5/06, Jens Zastrow <[EMAIL PROTECTED]> wrote:
> > Neither with the 2.0.4-SNAPSHOT.
> >
> > To test this just add teh following to a child-pom.
> >
> > <scm>
> >         <connection>${project.scm.connection}/xxx</connection>
> >
> >
>
<developerConnection>${project.scm.developerConnection}/xxx</developerCo
> > nnection>
> >         <url>${project.scm.url}/xxx</url>
> > </scm>
> >
>
> ---------------------------------------------------------------------
> 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]


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

Reply via email to