[
http://jira.codehaus.org/browse/MNG-3809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=152499#action_152499
]
Benjamin Bentmann commented on MNG-3809:
----------------------------------------
Hm, the archetype command line is working for me. Both the archetype and the
cleaning seem to fail for you due to errors with the artifact download from
central. Assuming Maven can access central just like you, the only other idea I
have right now is that Maven fails to successfully save the remote files in
your local repo. So, where exactly is your local repository for Maven 2 set? Is
this location writable? It might also be worth a try to completely delete your
local repo, just to make sure it hasn't reached a state from which Maven cannot
recover.
> Installation simply does not work - at least as described
> ---------------------------------------------------------
>
> Key: MNG-3809
> URL: http://jira.codehaus.org/browse/MNG-3809
> Project: Maven 2
> Issue Type: Bug
> Components: Documentation: General, Errors, Plugin Requests, POM,
> Settings
> Affects Versions: 2.0.9
> Environment: C:\Documents and Settings\Richard Katz>mvn --version
> Maven version: 2.0.9
> Java version: 1.6.0_01
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: Richard Katz
> Attachments: tobenj.txt
>
>
> I thought this was working. Unfortunately, a product I was trying to use
> wanted to run with Maven 1.0.2 so I downloaded and installed it. But I
> changed all the settings I can find back to Maven 2.
> Now, I am trying to do a simple mvn clean install but I get errors no matter
> what.
> Is there a simple way to clean up everything and start over?
> Special circumstances.
> I have tried
> creating a new .m2 directory
> Settings:
> M2=C:\cygwin\usr\local\maven\apache-maven-2.0.9\bin
> M2_HOME=C:\cygwin\usr\local\maven\apache-maven-2.0.9
> MAVEN_OPTS=-XX:MaxPermSize=128m -Xmx512m
> I am trying this under CMD and under Cygwin.
> Here's what I get.
> [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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira