Java Mailing List Archive

http://www.java2.5341.com/

Home » issues.maven »

[jira] Created: (MNG-3809) Installation simply does not work - at
least as described

Jan Bartel (JIRA)

2008-10-29

Replies: Find Java Web Hosting

Author LoginPost Reply
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


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

   
©2008 java2.5341.com - Jax Systems, LLC, U.S.A.