JBehave
  1. JBehave
  2. JBEHAVE-1038

Unable to resolve dependencies using ANT

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.9.4
    • Component/s: Build
    • Labels:
      None
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      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.

      [1] http://jbehave.org/reference/stable/dependencies.html

        Activity

        André Diermann made changes -
        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
        Hide
        André Diermann added a comment - - edited

        Added settings.xml with correct Atlassian repo url

        Show
        André Diermann added a comment - - edited Added settings.xml with correct Atlassian repo url
        André Diermann made changes -
        Attachment settings.xml [ 66325 ]
        Mauro Talevi made changes -
        Affects Version/s 4.x [ 18279 ]
        Fix Version/s 3.9.4 [ 20449 ]
        Hide
        Mauro Talevi added a comment -

        Applied URL changed as suggested, with thanks.

        Show
        Mauro Talevi added a comment - Applied URL changed as suggested, with thanks.
        Mauro Talevi made changes -
        Resolution Fixed [ 1 ]
        Assignee Mauro Talevi [ maurotalevi ]
        Status Open [ 1 ] Resolved [ 5 ]

          People

          • Assignee:
            Mauro Talevi
            Reporter:
            André Diermann
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: