Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Duplicate
-
None
-
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
- duplicates
-
CASSANDRA-16391 Migrate dependency handling from maven-ant-tasks to resolver-ant-tasks
- Resolved
- relates to
-
CASSANDRA-16359 mvn-install fails if no repo mirror is defined in settings.xml
- Resolved