You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Richard Katz (JIRA)" <ji...@codehaus.org> on 2008/10/29 21:01:51 UTC

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

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

        

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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-3809.
-----------------------------

      Assignee: Brett Porter
    Resolution: Cannot Reproduce

certainly looks like metadata corruption that can be resolved by cleaning the plugins from the local repository

> 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
>            Assignee: Brett Porter
>         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

        

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

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
    [ 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

        

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

Posted by "Richard Katz (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Katz updated MNG-3809:
------------------------------

    Attachment: tobenj.txt

Hi Benjamin,

The network is working. 

I can navigate by hand to:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom

And it displays the XML file.  There is no proxy.  


I have attached the -e and a navigation (just for show) from Sam Spade to the main site and some analysis.


Thanks for your help.

Regard,

Rich Katz
(415) 336-9559


> 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

        

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

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=152346#action_152346 ] 

Benjamin Bentmann commented on MNG-3809:
----------------------------------------

You might want to check your network ("Error transferring file"). Also, without further details ("For more information, run Maven with the -e switch"), it's hard to help you. 

> 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

        

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

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MNG-3809:
-----------------------------------

    Component/s:     (was: Plugin Requests)

> Installation simply does not work - at least as described
> ---------------------------------------------------------
>
>                 Key: MNG-3809
>                 URL: http://jira.codehaus.org/browse/MNG-3809
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Documentation:  General, Errors, 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
>            Assignee: Brett Porter
>         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