On Tuesday 07 July 2009 Sam Wun wrote:
> As it running forward, near the end of the download.. there is an error:
> ...
> [INFO] [enforcer:enforce {execution: enforce-banned-dependencies}]
> [WARNING] Rule 1:
> org.apache.maven.plugins.enforcer.RequireMavenVersion failed with
> message:
> Detected Maven Version: 2.1.0 is not in the allowed range [2.0.9,2.1).
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Some Enforcer rules have failed. Look above for specific
> messages explaining why the rule failed.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 9 minutes 20 seconds
> [INFO] Finished at: Tue Jul 07 23:12:08 EST 2009
> [INFO] Final Memory: 37M/63M
> [INFO]
> ------------------------------------------------------------------------
>
> what is it?

Whatever you are building was not prepared for maven version 2.1 or later. 
It explicitly states that allowed version range is [2.0.9,2.1), so either 
use maven 2.0.9 or 2.0.10, or fix the project and make it work with maven 
2.1.

hth,
- martin

PS: If you have problems with some public project, please try the projects
    mailinglists first, as your problems are not maven problems.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to