Issue Details (XML | Word | Printable)

Key: WAGON-7
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: issues@wagon
Reporter: mkarg
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
wagon

[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for org/jvnet/wagon-svn/wagon-svn/maven-metadata.xml - IGNORING

Created: 25/Dec/09 05:52 AM   Updated: 01/Dec/10 04:50 PM
Component/s: www
Affects Version/s: current
Fix Version/s: milestone 1

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 7
Tags:
Participants: issues@wagon, kohsuke and mkarg


 Description  « Hide

[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
org/jvnet/wagon-svn/wagon-svn/maven-metadata.xml - IGNORING



kohsuke added a comment - 04/Jan/10 09:13 AM

Where did you download the file from?


mkarg added a comment - 04/Jan/10 10:57 AM

Maven pulled that file from java.net's Maven 2 repository.


kohsuke added a comment - 05/Jan/10 09:50 AM

Do you know which URL it was? The reason I ask is because we have multiple mirror
servers.


mkarg added a comment - 05/Jan/10 10:02 AM

Tried again using "mvn -U -X compile" (i. e. verbose trace mode), got the below
result. I think it contains the information you asked for in the very first
line, and the cause of the problem in the following stack trace.

[DEBUG] Connecting to repository: 'maven2-repository.dev.java.net' with
url: 'http://download.java.net/maven/2/'.
[DEBUG] SHA1 not found, trying MD5
org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate resource
in repository
at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
(LightweightHttpWagon.java:139)
at org.apache.maven.wagon.StreamWagon.getInputStream
(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at org.apache.maven.artifact.manager.DefaultWagonManager.verifyChecksum
(DefaultWagonManager.java:748)
at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile
(DefaultWagonManager.java:577)
at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata
(DefaultWagonManager.java:443)
at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.r
esolve(DefaultRepositoryMetadataManager.java:97)
at
org.apache.maven.artifact.transform.AbstractVersionTransformation.resolveVersion
(AbstractVersionTransformation.java:65)
at
org.apache.maven.artifact.transform.ReleaseArtifactTransformation.transformForRe
solve(ReleaseArtifactTransformation.java:49)
at
org.apache.maven.artifact.transform.DefaultArtifactTransformationManager.transfo
rmForResolve(DefaultArtifactTransformationManager.java:55)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve
(DefaultArtifactResolver.java:145)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve
(DefaultArtifactResolver.java:90)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
(DefaultMavenProjectBuilder.java:558)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository
(DefaultMavenProjectBuilder.java:251)
at
org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject
(MavenMetadataSource.java:163)
at org.apache.maven.project.artifact.MavenMetadataSource.retrieve
(MavenMetadataSource.java:299)
at org.apache.maven.extension.DefaultExtensionManager.addExtension
(DefaultExtensionManager.java:115)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions
(DefaultLifecycleExecutor.java:196)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:178)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main
(CompatibleMain.java:60)
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:597)
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: java.io.FileNotFoundException:
http://download.java.net/maven/2/org/jvnet/wagon-svn/wagon-svn/maven-
metadata.xml.sha1
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at sun.net.www.protocol.http.HttpURLConnection$6.run
(HttpURLConnection.java:1368)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException
(HttpURLConnection.java:1362)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:1016)
at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
(LightweightHttpWagon.java:122)
... 31 more
Caused by: java.io.FileNotFoundException:
http://download.java.net/maven/2/org/jvnet/wagon-svn/wagon-svn/maven-
metadata.xml.sha1
at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLConnection.java:1311)
at java.net.HttpURLConnection.getResponseCode
(HttpURLConnection.java:373)
at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
(LightweightHttpWagon.java:115)
... 31 more
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
org/jvnet/wagon-svn/wagon-svn/maven-metadata.xml - IGNORING