You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2008/06/03 22:53:53 UTC

[jira] Updated: (MNG-3373) Maven 2 says host in unavailable while in browser I can download from that repository

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

John Casey updated MNG-3373:
----------------------------

         Priority: Critical  (was: Blocker)
    Fix Version/s: 2.0.10

Also, can you verify that this is still broken in 2.0.9?

> Maven 2 says host in unavailable while in browser I can download from that repository
> -------------------------------------------------------------------------------------
>
>                 Key: MNG-3373
>                 URL: http://jira.codehaus.org/browse/MNG-3373
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>            Reporter: Markus KARG
>            Priority: Critical
>             Fix For: 2.0.10
>
>
> I am using the offical Glassfish repository on java.net.
> Maven tells me that it cannot resolve one of the references pointing into that repository. The stack trace tells me that the host is not available (see below).
> In fact, when I go to that same URL in the browser, it downloads the artifact without any problem!
> Also that worked for weeks and now is broken, but my POM didn't change!
> So I assume a bug in WAGON.
> Here is the POM excerpt, below the POM is the stack trace.
> 	<repositories>
> 		<repository>
> 			<id>glassfish-repository.dev.java.net</id>
> 			<name>Java.net Repository for Glassfish</name>
> 			<url>http://download.java.net/maven/glassfish</url>
> 		</repository>
> 	</repositories>
> 	<dependencies>
> 		<dependency>
> 			<groupId>javax.resource</groupId>
> 			<artifactId>connector-api</artifactId>
> 			<version>1.5</version>
> 			<scope>provided</scope>
> 		</dependency>
> 	</dependencies>
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get dependency
>  information: Unable to read the metadata file for artifact 'javax.resource:conn
> ector-api:jar': Cannot find parent: org.glassfish.api:api for project: javax.res
> ource:connector-api:jar:1.5 for project javax.resource:connector-api:jar:1.5
>   javax.resource:connector-api:jar:1.5
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   glassfish-repository.dev.java.net (http://download.java.net/maven/glassfish)
> Path to dependency:
>         1) net.sourceforge.rafc:rafc:jar:1.1.1
> ...
> Caused by: java.net.UnknownHostException: download.java.net
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>         at java.net.Socket.connect(Socket.java:519)
>         at java.net.Socket.connect(Socket.java:469)
>         at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
>         at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
>         at sun.net.www.http.HttpClient.New(HttpClient.java:306)
>         at sun.net.www.http.HttpClient.New(HttpClient.java:323)
>         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
> onnection.java:788)
>         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
> ction.java:729)
>         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
> .java:654)
>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
> nection.java:977)
>         at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD
> ata(LightweightHttpWagon.java:83)
>         ... 33 more

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