Unable to resolve dependencies using ANT

Description

When following [1] to resolve dependencies using ANT, the following error occurs:

copy-dependencies:
[artifactom] Downloading: org/jbehave/jbehave/3.9/jbehave-3.9.pom from reposit
ory atlassian at http://maven.atlassian.com/public
[artifactom] Transferring 0K from atlassian
[artifactom] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: loca
l = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remote = '<html>
[artifactom] <head><title>301' - RETRYING
[artifactom] Downloading: org/jbehave/jbehave/3.9/jbehave-3.9.pom from reposit
ory atlassian at http://maven.atlassian.com/public
[artifactom] Transferring 0K from atlassian
[artifactom] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: loca
l = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remote = '<html>
[artifactom] <head><title>301' - IGNORING
[artifactom] An error has occurred while processing the Maven artifact tasks.
[artifactom] Diagnosis:
[artifactom]
[artifactom] Unable to initialize POM pom.xml: Cannot find parent: org.jbehave
:jbehave for project: null:jbehave-distributionom:null for project null:jbehav
e-distributionom:null
[artifactom] 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
[artifactom]

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

Assignee

Mauro Talevi

Reporter

Andr_ Diermann

Labels

None

Components

Fix versions

Priority

Major
Configure