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.
No, it doesn't. [2.0.5,2.0.6) means "2.0.5 >= version > 2.0.6" - the version must be strictly less than 2.0.6. Max.
signature.asc
Description: OpenPGP digital signature