You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2006/05/02 10:03:41 UTC

[jira] Commented: (MNG-2262) If you zap the ~/.m2 directory then we can no longer build with m2 on ActiveMQ

    [ http://jira.codehaus.org/browse/MNG-2262?page=comments#action_64541 ] 

Carlos Sanchez commented on MNG-2262:
-------------------------------------

Try removing the m1 repos from the pom (layout=legacy) and clean the repo
Maven 1 repos don't work with snapshots.

> If you zap the ~/.m2 directory then we can no longer build with m2 on ActiveMQ
> ------------------------------------------------------------------------------
>
>          Key: MNG-2262
>          URL: http://jira.codehaus.org/browse/MNG-2262
>      Project: Maven 2
>         Type: Bug

>   Components: General
>     Versions: 2.0.4
>     Reporter: james strachan
>     Assignee: Brett Porter
>     Priority: Blocker

>
>
> We get the following...
> macstrac:/workspace/eclipse/activemq jstrachan$ mvn clean install -Dmaven.test.skip=true
> [INFO] Scanning for projects...
> [INFO] Reactor build order: 
> [INFO]   ActiveMQ
> [INFO]   ActiveMQ :: JAAS
> [INFO]   ActiveMQ :: Core
> [INFO]   ActiveCluster
> [INFO]   ActiveMQ :: Console
> [INFO]   ActiveMQ :: RA
> [INFO]   ActiveMQ :: RAR
> [INFO]   ActiveMQ :: Web
> [INFO]   ActiveMQ :: Web Demo
> [INFO]   ActiveMQ :: Optional
> [INFO]   ActiveMQ :: GBean Interfaces
> [INFO]   ActiveMQ :: GBeans
> [INFO]   Bundle Plugin
> [INFO]   ActiveMQ :: Assembly
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building ActiveMQ
> [INFO]    task-segment: [clean, install]
> [INFO] ----------------------------------------------------------------------------
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.3-SNAPSHOT/maven-surefire-plugin-2.1.3-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository codehaus.snapshots (http://snapshots.maven.codehaus.org/maven2)
> Downloading: http://maven-csharp.javaforge.com/repo/org/apache/maven/plugins/maven-surefire-plugin/2.1.3-SNAPSHOT/maven-surefire-plugin-2.1.3-SNAPSHOT.pom
> 0b downloaded
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> Downloading: http://maven-csharp.javaforge.com/repo/org/apache/maven/plugins/maven-surefire-plugin/2.1.3-SNAPSHOT/maven-surefire-plugin-2.1.3-SNAPSHOT.pom
> 0b downloaded
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [WARNING] Unable to get resource from repository maven-csharp-plugins (http://maven-csharp.javaforge.com/repo)
> Downloading: http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-surefire-plugin/2.1.3-SNAPSHOT/maven-surefire-plugin-2.1.3-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository apache.snapshots (http://cvs.apache.org/maven-snapshot-repository)
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.3-SNAPSHOT/maven-surefire-plugin-2.1.3-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository codehaus-snapshot (http://snapshots.maven.codehaus.org/maven2)
> Downloading: http://maven-csharp.javaforge.com/repo/org/apache/maven/plugins/maven-surefire-plugin/2.1.3-SNAPSHOT/maven-surefire-plugin-2.1.3-SNAPSHOT.pom
> 0b downloaded
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - RETRYING
> Downloading: http://maven-csharp.javaforge.com/repo/org/apache/maven/plugins/maven-surefire-plugin/2.1.3-SNAPSHOT/maven-surefire-plugin-2.1.3-SNAPSHOT.pom
> 0b downloaded
> [WARNING] *** CHECKSUM FAILED - Invalid checksum file - IGNORING
> [WARNING] Unable to get resource from repository maven-csharp (http://maven-csharp.javaforge.com/repo)
> Downloading: http://cvs.apache.org/repository/org.apache.maven.plugins/poms/maven-surefire-plugin-2.1.3-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository apache-maven1-snapshot (http://cvs.apache.org/repository)
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-surefire-plugin
> Version: 2.1.3-SNAPSHOT
> Reason: Unable to download the artifact from any repository
>   org.apache.maven.plugins:maven-surefire-plugin:pom:2.1.3-SNAPSHOT
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   codehaus.snapshots (http://snapshots.maven.codehaus.org/maven2),
>   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
>   maven-csharp-plugins (http://maven-csharp.javaforge.com/repo),
>   codehaus-snapshot (http://snapshots.maven.codehaus.org/maven2),
>   apache-maven1-snapshot (http://cvs.apache.org/repository),
>   maven-csharp (http://maven-csharp.javaforge.com/repo)
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 12 seconds
> [INFO] Finished at: Tue May 02 08:52:29 BST 2006
> [INFO] Final Memory: 3M/6M
> [INFO] ------------------------------------------------------------------------

-- 
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