Hi, I rather fix the project so that it works for 2.1, which files I
should modify and how?

Any detail?

Thanks
Sam

On Tue, Jul 7, 2009 at 11:27 PM, Martin Höller<[email protected]> wrote:
> 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.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to