Details
Description
When following [1] to resolve dependencies using ANT, the following error occurs:
copy-dependencies:
[artifact:pom] Downloading: org/jbehave/jbehave/3.9/jbehave-3.9.pom from reposit
ory atlassian at http://maven.atlassian.com/public
[artifact:pom] Transferring 0K from atlassian
[artifact:pom] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: loca
l = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remote = '<html>
[artifact:pom] <head><title>301' - RETRYING
[artifact:pom] Downloading: org/jbehave/jbehave/3.9/jbehave-3.9.pom from reposit
ory atlassian at http://maven.atlassian.com/public
[artifact:pom] Transferring 0K from atlassian
[artifact:pom] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: loca
l = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remote = '<html>
[artifact:pom] <head><title>301' - IGNORING
[artifact:pom] An error has occurred while processing the Maven artifact tasks.
[artifact:pom] Diagnosis:
[artifact:pom]
[artifact:pom] Unable to initialize POM pom.xml: Cannot find parent: org.jbehave
:jbehave for project: null:jbehave-distribution:pom:null for project null:jbehav
e-distribution:pom:null
[artifact:pom] Not a v4.0.0 POM. for project org.jbehave:jbehave at C:\<PATH>\.m2\repository\org\jbehave\jbehave\3.9\jbehave-3.9.pom
[artifact:pom]
Having a look at the corresponding POM file discovers:
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
The reason for this is, that the distributed settings.xml refers to an outdated URL at the Atlassian repo!
When changing the URLs in the settings.xml
from: http://maven.atlassian.com/public
to: https://maven.atlassian.com/content/groups/public/
...the issue is resolved.
This issue has been tested and can be reproduced for jbehave-distribution 3.9, 3.9.3 and 4.0-beta-9.
Activity
Field | Original Value | New Value |
---|---|---|
Description |
When following [1] to resolve dependencies the following error occurs:
copy-dependencies: [artifact:pom] Downloading: org/jbehave/jbehave/3.9/jbehave-3.9.pom from reposit ory atlassian at http://maven.atlassian.com/public [artifact:pom] Transferring 0K from atlassian [artifact:pom] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: loca l = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remote = '<html> [artifact:pom] <head><title>301' - RETRYING [artifact:pom] Downloading: org/jbehave/jbehave/3.9/jbehave-3.9.pom from reposit ory atlassian at http://maven.atlassian.com/public [artifact:pom] Transferring 0K from atlassian [artifact:pom] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: loca l = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remote = '<html> [artifact:pom] <head><title>301' - IGNORING [artifact:pom] An error has occurred while processing the Maven artifact tasks. [artifact:pom] Diagnosis: [artifact:pom] [artifact:pom] Unable to initialize POM pom.xml: Cannot find parent: org.jbehave :jbehave for project: null:jbehave-distribution:pom:null for project null:jbehav e-distribution:pom:null [artifact:pom] Not a v4.0.0 POM. for project org.jbehave:jbehave at C:\<PATH>\.m2\repository\org\jbehave\jbehave\3.9\jbehave-3.9.pom [artifact:pom] Having a look at the corresponding POM file discovers: <html> <head><title>301 Moved Permanently</title></head> <body bgcolor="white"> <center><h1>301 Moved Permanently</h1></center> <hr><center>nginx</center> </body> </html> The reason for this is, that the distributed settings.xml refers to an outdated URL at the Atlassian repo! When changing the URLs in the settings.xml from: http://maven.atlassian.com/public to: https://maven.atlassian.com/content/groups/public/ ...the issue is resolved. This issue has been tested and can be reproduced for jbehave-distribution 3.9, 3.9.3 and 4.0-beta-9. [1] http://jbehave.org/reference/stable/dependencies.html |
When following [1] to resolve dependencies using ANT, the following error occurs:
copy-dependencies: [artifact:pom] Downloading: org/jbehave/jbehave/3.9/jbehave-3.9.pom from reposit ory atlassian at http://maven.atlassian.com/public [artifact:pom] Transferring 0K from atlassian [artifact:pom] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: loca l = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remote = '<html> [artifact:pom] <head><title>301' - RETRYING [artifact:pom] Downloading: org/jbehave/jbehave/3.9/jbehave-3.9.pom from reposit ory atlassian at http://maven.atlassian.com/public [artifact:pom] Transferring 0K from atlassian [artifact:pom] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: loca l = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remote = '<html> [artifact:pom] <head><title>301' - IGNORING [artifact:pom] An error has occurred while processing the Maven artifact tasks. [artifact:pom] Diagnosis: [artifact:pom] [artifact:pom] Unable to initialize POM pom.xml: Cannot find parent: org.jbehave :jbehave for project: null:jbehave-distribution:pom:null for project null:jbehav e-distribution:pom:null [artifact:pom] Not a v4.0.0 POM. for project org.jbehave:jbehave at C:\<PATH>\.m2\repository\org\jbehave\jbehave\3.9\jbehave-3.9.pom [artifact:pom] Having a look at the corresponding POM file discovers: <html> <head><title>301 Moved Permanently</title></head> <body bgcolor="white"> <center><h1>301 Moved Permanently</h1></center> <hr><center>nginx</center> </body> </html> The reason for this is, that the distributed settings.xml refers to an outdated URL at the Atlassian repo! When changing the URLs in the settings.xml from: http://maven.atlassian.com/public to: https://maven.atlassian.com/content/groups/public/ ...the issue is resolved. This issue has been tested and can be reproduced for jbehave-distribution 3.9, 3.9.3 and 4.0-beta-9. [1] http://jbehave.org/reference/stable/dependencies.html |
Attachment | settings.xml [ 66325 ] |
Affects Version/s | 4.x [ 18279 ] | |
Fix Version/s | 3.9.4 [ 20449 ] |
Resolution | Fixed [ 1 ] | |
Assignee | Mauro Talevi [ maurotalevi ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Added settings.xml with correct Atlassian repo url