I will try to add some code to convert the range into english because many 
times the person getting this message doesn't know maven ranges. (ie users of 
the build) 

-----Original Message-----
From: A. Kevin Baynes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 03, 2007 2:54 PM
To: Maven Users List
Subject: Re: RequireMavenVersion failed

Installing 2.0.5 fixed it. :-)

Thanks so much for the quick reply!

~Kevin

Ramblings follow :

Now I see where I was confused. The error message says 'not in the allowed 
range [2.0.5,2.0.6)'. I think of a range as the upper and lower bounds of an 
array (including the maximum and minimum), so I assumed that versions given 
were an inclusive range.

See how hard it is to unlearn what you already know? ;-)

Thanks again.



On 5/3/07, Roland Asmann <[EMAIL PROTECTED]> wrote:
> The range [2.0.5, 2.0.6) means, anything from and including 2.0.5, up 
> until but excluding 2.0.6.
> This means, you need to install 2.0.5 to run it!
>
>
> On Thursday 03 May 2007 19:58, A. Kevin Baynes wrote:
> > I recently installed Maven 2.0.6 and downloaded the Apache FTP project.
> >
> > After running 'mvn clean install' in the main directory I get this 
> > strange error :
> >
> > [INFO] [enforcer:enforce {execution: default}] [WARNING] Rule 0: 
> > org.apache.maven.plugin.enforcer.RequireMavenVersion
> > failed with message: Detected Maven Version: 2.0.6 is not in the 
> > allowed range [2.0.5,2.0.6).
> > [INFO]
> > --------------------------------------------------------------------
> > ----
> > [ERROR] BUILD ERROR
> >
> > It's saying that it detected version 2.0.6 but thinks it not in the 
> > allowed range which includes 2.0.6.
> >
> > Can you give me any suggestions on dealing with this error?
> >
> > Thanks!
>
> --
> Roland Asmann
>
> CFC Informationssysteme Entwicklungsgesellschaft m.b.H Bäckerstrasse 
> 1/2/7 A-1010 Wien FN 266155f, Handelsgericht Wien
>
> Tel.: +43/1/513 88 77 - 27
> Fax.: +43/1/513 88 62
> Email: [EMAIL PROTECTED]
> Web: www.cfc.at
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
A. Kevin Baynes

Life's a garden. Dig it!

---------------------------------------------------------------------
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