usc-isi-i2 / Web-Karma

Information Integration Tool

Home Page:http://www.isi.edu/integration/karma/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not resolve dependencies for karma-jsonld

clarkee1066 opened this issue · comments

Describe the bug
When trying to do a clean install on Ubuntu 14.04.6 with Java version 1.8.0_171 I get error
[ERROR] Failed to execute goal on project karma-jsonld: Could not resolve dependencies for project edu.isi:karma-jsonld:jar:0.0.1-SNAPSHOT: Failed to collect dependencies for [org.json:json:jar:20141113 (compile), org.apache.commons:commons-lang3:jar:3.0 (compile), commons-io:commons-io:jar:2.4 (compile), org.apache.spark:spark-core_2.11:jar:2.4.5 (compile), commons-cli:commons-cli:jar:1.2 (compile), com.fasterxml.jackson.core:jackson-core:jar:2.10.3 (compile), com.fasterxml.jackson.core:jackson-databind:jar:2.10.3 (compile), com.fasterxml.jackson.core:jackson-annotations:jar:2.10.3 (compile), junit:junit:jar:4.12 (test), org.slf4j:slf4j-api:jar:1.7.9 (compile), org.slf4j:jcl-over-slf4j:jar:1.7.9 (runtime), org.slf4j:slf4j-log4j12:jar:1.7.9 (test), org.apache.httpcomponents:httpclient-osgi:jar:4.5.2 (compile), org.apache.httpcomponents:httpcore-osgi:jar:4.4.5 (compile), org.mockito:mockito-core:jar:1.10.17 (compile), com.jayway.jsonpath:json-path:jar:2.0.0 (compile)]: Failed to read artifact descriptor for org.apache.spark:spark-core_2.11:jar:2.4.5: Could not transfer artifact org.apache.spark:spark-core_2.11:pom:2.4.5 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/apache/spark/spark-core_2.11/2.4.5/spark-core_2.11-2.4.5.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 1]

To Reproduce
Steps to reproduce the behavior:
sudo apt-get install maven
git clone https://github.com/usc-isi-i2/Web-Karma.git
cd Web-Karma
mvn clean install

Debug log is attached

debug.log

I fixed this by forcing the repository and pluginRepository in my settings.xml to be https://repo.maven.apache.org/maven2