So far my experience is that the central repository is horribly broken and
does not work.  Set up a mirror as described in

http://maven.apache.org/guides/mini/guide-mirror-settings.html

That worked for me

Alex

On 7/31/06, Barnes, Mike <[EMAIL PROTECTED]> wrote:

I just finished downloading maven 2 and am now trying to create a new
project using the example described on the getting started page. I am
able to execute mvn -version with no problems, however when I attempt to
execute



mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app



I get the following error:



[INFO] Scanning for projects...

[INFO] Searching repository for plugin with prefix: 'archetype'.

[INFO] org.apache.maven.plugins: checking for updates from central

[WARNING] repository metadata for: 'org.apache.maven.plugins' could not
be retri

eved from repository: central due to an error: Error transferring file

[INFO] Repository 'central' will be blacklisted

[INFO]
------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO]
------------------------------------------------------------------------

[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does
not exi

st or no valid version could be found

[INFO]
------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 22 seconds

[INFO] Finished at: Mon Jul 31 12:51:57 EDT 2006

[INFO] Final Memory: 1M/2M

[INFO]
------------------------------------------------------------------------



Based on the above message I would have expected the archtype plugin to
already be downloaded. BTW, I am behind a firewall which uses a policy
file (not sure how to configure this in the proxy section)





Thanks for any help.





Mike



Reply via email to