Monday, April 14, 2008

resolving Maven download error

"mvn archetype:create ..." is almost the first command for everybody to run when starting to use Maven. Sometimes the following problem will be shown in the console:
[INFO] Repository 'central' will be blacklisted

This problem is usually related to the network settings of the local machine.
By adding a settings.xml file in the repository directory, it can resolve the repository downloading issue, and you'll be able to use Maven properly.
The instructions for settings.xml (to setup the proxy) is available in .

No comments: