Hi Martin,

Maven has no install procedure..
It is just the exploded archive.

When you run maven for the first time, it create a ".m2" directory in your
user home dir.
This directory contains a local repository (as soon as you have downloaded
dependencies).
You can create a settings.xml file in that directory and play with maven's
settings.

Deleting this directory will create a fresh "install" of maven..

To answer to your question: if you are using a proxy, make sure that it is
defined in the settings.xml file.

Cheers
Jo

On 5/12/07, Martin Ravell <[EMAIL PROTECTED]> wrote:

Can anyone help me resolve this problem?



It is a freshly unzipped copy of 2.0.6 with an empty repository. Any idea
why it cannot find the archetype plugin?



Is there a way of completely removing and re-installing maven?





C:\Project>mvn archetype:create -DarchetypeGroupId=org.appfuse
-DarchetypeArtifactId=appfuse-basic-struts
-DremoteRepositories=http://static.appfuse.org/repository
-DarchetypeVersion=2.0-m4 -DgroupId=com.rave.chester -DartifactId=chester

[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
retrieved 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
exist or no valid version could be found

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

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

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

[INFO] Total time: 3 seconds

[INFO] Finished at: Sat May 12 23:38:26 EST 2007

[INFO] Final Memory: 1M/2M

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






Reply via email to