[ 
http://jira.codehaus.org/browse/MNG-4585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann closed MNG-4585.
----------------------------------

    Resolution: Not A Bug
      Assignee: Benjamin Bentmann

bq. 2) org.apache.maven.surefire:surefire-junit:jar:2.4.3: Connection timed 
out: connect

This is an issue with your network (connection timeout), not Maven.

> surefire-junit-2.4.3 artifact not available with Maven 3 Alpha-6
> ----------------------------------------------------------------
>
>                 Key: MNG-4585
>                 URL: http://jira.codehaus.org/browse/MNG-4585
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 3.0-alpha-6
>         Environment: windows XP.
> maven-3.0-alpha-6
> jdk 1.5.0.22
>            Reporter: Pierre Devreux
>            Assignee: Benjamin Bentmann
>            Priority: Critical
>
> When building a project with in plugin management :
> {noformat}
> <plugin>
>    <groupId>org.apache.maven.plugins</groupId>
>    <artifactId>maven-surefire-plugin</artifactId>
>    <version>2.4.3</version>
> </plugin>
> {noformat}
> _Maven 3 Alpha 6_ fails to download artifact :
> {noformat}
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.4.3/surefire-2.4.3.pom
> 8 KB downloaded at 18.4 KB/sec
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.4.3/surefire-booter-2.4.3.pom
> 2 KB downloaded at 0.5 KB/sec
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-api/2.4.3/surefire-api-2.4.3.pom
> 3 KB downloaded at 4.6 KB/sec
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.4.3/surefire-booter-2.4.3.jar
> 262 KB downloaded at 144.4 KB/sec
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-api/2.4.3/surefire-api-2.4.3.jar
> 504 KB downloaded at 166.2 KB/sec
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit/2.4.3/surefire-junit-2.4.3.pom
> [WARNING] Missing artifact metadata for 
> org.apache.maven.surefire:surefire-junit:jar:2.4.3
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit/2.4.3/surefire-junit-2.4.3.jar
> {noformat}
> and finally 
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on 
> project xa-common: Error to resolving suref
> ire provider dependency: Error transferring file
>   org.apache.maven.surefire:surefire-junit:jar:2.4.3
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
> Path to dependency:
>         1) dummy:dummy:jar:1.0
>         2) org.apache.maven.surefire:surefire-junit:jar:2.4.3: Connection 
> timed out: connect
> -> [Help 1]
> {noformat}
> But building same project with _Maven 2.0.9_ works fine.
> {noformat}
> [INFO] Nothing to compile - all classes are up to date
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.4.3/surefire-booter-2.4.3.pom
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-api/2.4.3/surefire-api-2.4.3.pom
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-booter/2.4.3/surefire-booter-2.4.3.jar
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-api/2.4.3/surefire-api-2.4.3.jar
> [INFO] [surefire:test]
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit/2.4.3/surefire-junit-2.4.3.pom
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-providers/2.4.3/surefire-providers-2.4.3.pom
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire-junit/2.4.3/surefire-junit-2.4.3.jar
> [INFO] Surefire report directory: 
> D:\workspaces\workspace_xa\xa-common-parent\xa-common-core\target\surefire-reports
> {noformat}

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

        

Reply via email to