maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenney Westerhof <ken...@apache.org>
Subject Re: [Bug?] 2 repo's, one repo returns 503, second repo is not check
Date Thu, 06 Jul 2006 13:53:20 GMT
On Thu, 6 Jul 2006, Geoffrey De Smet wrote:

Hi Geoffrey,

This issue is already fixed:

http://jira.codehaus.org/browse/MNG-2282

-- Kenney

> I looked in JIRA, but couldn't find this bug.
> But I am not sure in which module it should belong, I presume "wagon"?
> If it's a not already reported bug, say so and I 'll file it in JIRA.
>
>
> Basically I have 2 repo's:
> - repo.domain.com (an internal one which is currently spitting out 502's
> error codes because it's broken)
> - repo1.maven.org (the default central)
>
> When I do "mvn install" it tells me that it can't find xstream 1.1.3 in
> neither repo's, while it's actually in repo1.maven.org. It shouldn't
> matter that repo.domain.com is currently broken.
>
>
>
>
>
>
>
> Here's the "mvn -X install":
>
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: xstream:xstream
>
> Reason: Error getting POM for 'xstream:xstream' from the repository:
> Error transferring file
>    xstream:xstream:pom:1.1.3
>
> from the specified remote repositories:
>    central (http://repo1.maven.org/maven2),
>    kahoslRepository (http://repo.domain.com/vakgroepit/maven2repository)
>
>
>
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
> dependency information: Unable to read the metadat
> a file for artifact 'xstream:xstream:jar': Error getting POM for
> 'xstream:xstream' from the repository: Error transferri
> ng file
>    xstream:xstream:pom:1.1.3
>
> from the specified remote repositories:
>    central (http://repo1.maven.org/maven2),
>    kahoslRepository (http://repo.domain.com/vakgroepit/maven2repository)
>
>    xstream:xstream:jar:1.1.3
>
> from the specified remote repositories:
>    central (http://repo1.maven.org/maven2),
>    kahoslRepository (http://repo.domain.com/vakgroepit/maven2repository)
> Path to dependency:
>          1) be.kahosl.thot:thot-persistenceimpl:jar:0.0.1-SNAPSHOT
>
>
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:551)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47
> 5)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
> a:306)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>          at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>          at java.lang.reflect.Method.invoke(Method.java:585)
>          at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>          at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>          at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>          at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by:
> org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable
> to get dependency information: Unable
> to read the metadata file for artifact 'xstream:xstream:jar': Error
> getting POM for 'xstream:xstream' from the repositor
> y: Error transferring file
>    xstream:xstream:pom:1.1.3
>
> from the specified remote repositories:
>    central (http://repo1.maven.org/maven2),
>    kahoslRepository (http://repo.domain.com/vakgroepit/maven2repository)
>
>    xstream:xstream:jar:1.1.3
>
> from the specified remote repositories:
>    central (http://repo1.maven.org/maven2),
>    kahoslRepository (http://repo.domain.com/vakgroepit/maven2repository)
> Path to dependency:
>          1) be.kahosl.thot:thot-persistenceimpl:jar:0.0.1-SNAPSHOT
>
>
>          at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:297)
>          at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:67)
>          at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:2
> 23)
>          at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:2
> 11)
>          at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:1
> 82)
>          at
> org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1117)
>          at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:366)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
>          ... 16 more
> Caused by:
> org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
> Unable to read the metadata file for a
> rtifact 'xstream:xstream:jar': Error getting POM for 'xstream:xstream'
> from the repository: Error transferring file
>    xstream:xstream:pom:1.1.3
>
> from the specified remote repositories:
>    central (http://repo1.maven.org/maven2),
>    kahoslRepository (http://repo.domain.com/vakgroepit/maven2repository)
>
>          at
> org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:131)
>          at
> org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:275)
>          ... 23 more
> Caused by: org.apache.maven.project.ProjectBuildingException: Error
> getting POM for 'xstream:xstream' from the repositor
> y: Error transferring file
>    xstream:xstream:pom:1.1.3
>
> from the specified remote repositories:
>    central (http://repo1.maven.org/maven2),
>    kahoslRepository (http://repo.domain.com/vakgroepit/maven2repository)
>
>          at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:5
> 01)
>          at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
>          at
> org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:102)
>          ... 24 more
> Caused by:
> org.apache.maven.artifact.resolver.ArtifactResolutionException: Error
> transferring file
>    xstream:xstream:pom:1.1.3
>
> from the specified remote repositories:
>    central (http://repo1.maven.org/maven2),
>    kahoslRepository (http://repo.domain.com/vakgroepit/maven2repository)
>
>          at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:140)
>          at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
>          at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:4
> 67)
>          ... 26 more
> Caused by: org.apache.maven.wagon.TransferFailedException: Error
> transferring file
>          at
> org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:99)
>          at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
>          at
> org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:369)
>          at
> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:282)
>          at
> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:244)
>          at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)
>          ... 28 more
> Caused by: java.io.IOException: Server returned HTTP response code: 502
> for URL: http://repo.domain.com/vakgroepit/mav
> en2repository/xstream/xstream/1.1.3/xstream-1.1.3.pom
>          at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1149)
>          at
> org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:85)
>          ... 33 more
> --
> With kind regards,
> Geoffrey De Smet
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message