[ https://issues.apache.org/jira/browse/CASSANDRA-15631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072859#comment-17072859 ]
Kevin Gallardo commented on CASSANDRA-15631: -------------------------------------------- Yeah I have been trying to figure out what was wrong here with this dependency. It seems a transitive dependency is trying to be pulled from maven via http and not https, and consequently it can’t because of new norms maven repo doesn’t support HTTP anymore. I.e. I have added the assertj-core dependency, and its parent, assertj-parent-pom is trying to pull a dependency, but ant is trying to pull it via http. It seems to be related to what’s described in here: https://clutcher.github.io/post/hybris/maven_central_repository_http_issue/ {noformat} Starting from January 15, 2020 maven central repository is not supporting access via http://repo1.maven.org/maven2 due to security reasons. Unfortunately under the hood hybris uses ant-maven-task, which is not maintained since 2011 and has hardcoded link to http version of maven central. {noformat} Without the explicit dependency we get an error like: {noformat} /Users/kevingallardo/Documents/workspace/cassandra-trunk/build.xml:905: Unable to resolve artifact: Unable to get dependency information: Unable to read the metadata file for artifact 'org.assertj:assertj-core:jar': POM 'org.junit:junit-bom' not found in repository: Unable to download the artifact from any repository org.junit:junit-bom:pom:5.6.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) for project org.junit:junit-bom org.assertj:assertj-core:jar:3.15.0 from the specified remote repositories: apache (https://repo.maven.apache.org/maven2), central (https://repo1.maven.org/maven2) Path to dependency: 1) org.apache.cassandra:cassandra-test-deps:jar:4.0-alpha4-SNAPSHOT {noformat} > Add AssertJ test dependency > --------------------------- > > Key: CASSANDRA-15631 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15631 > Project: Cassandra > Issue Type: Improvement > Components: Test/dtest, Test/unit > Reporter: Kevin Gallardo > Assignee: Kevin Gallardo > Priority: Normal > Fix For: 4.0-beta > > > See > [proposal|https://lists.apache.org/thread.html/rc562ec47578d0ae6f346ba9e3d7469c1cd3f8b521a72ddcb2accc47b%40%3Cdev.cassandra.apache.org%3E]. > The goal is to add [AssertJ|https://assertj.github.io/doc/] to the test > framework to allow for more comprehensible and easier to write tests. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org