Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-16379

do not use http maven repo defined by MAT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • Packaging
    • None
    • Packaging - All
    • Normal
    • Normal
    • User Report
    • All
    • None

    Description

      We have had strange, somewhat inexplicable issues during building with pulling from maven central via HTTP, which fails as HTTPS is now required. We last hacked around this in acf8de28ce2f2871e30e4a55086a38d850470f3e, but it was just that, a hack.

      The crux of the problem seems to come from MAT, according to https://stackoverflow.com/questions/59948747/maven-ant-task-transitive-pom-dependencies-and-https-issue

      Indeed, in our build.xml here: https://github.com/apache/cassandra/blob/trunk/build.xml#L481 we are using the central definition it provides. I propose instead overriding this definition to "https://repo1.maven.org/maven2/" which fixes the build in every case I've tried during a bisect.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brandon.williams Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: