CERMINE icon indicating copy to clipboard operation
CERMINE copied to clipboard

problem of resolving dependencies for CERMINE-Impl project

Open Tsyulrich opened this issue 3 years ago • 4 comments

Hello everybody please can i need your help. I am newly with this wonderful application.

When i try to use CERMINE, as a standalone application i always have this error

Failed to execute goal on project cermine-impl: Could not resolve dependencies for project pl.edu.icm.cermine:cermine-impl:jar:1.14-SNAPSHOT: Failed to collect dependencies at edu.umass.cs.mallet:mallet:jar:0.1.3: Failed to read artifact descriptor for edu.umass.cs.mallet:mallet:jar:0.1.3: Could not transfer artifact edu.umass.cs.mallet:mallet:pom:0.1.3 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [google-maven-repository (http://google-maven-repository.googlecode.com/svn/repository/, default, releases+snapshots), yadda (http://maven.icm.edu.pl/artifactory/repo, default, releases+snapshots)]

please what's wrong?

Tsyulrich avatar Sep 25 '21 05:09 Tsyulrich

I had the same problem this morning. It turns out that mallet uses http but recent versions of maven only work with https. I got around it by reverting to version 3.6.3 of maven. I will contact the mallet devs and suggest they change to https. I got the answer from Stack Overflow question "Maven stuck downloading maven-default-http-blocker".

resourcesunite avatar Oct 08 '21 12:10 resourcesunite

Thank you so much Please does it work fine when you use version 3.6.3 of maven?

Tsyulrich avatar Oct 08 '21 15:10 Tsyulrich

Yes. I had no more maven problems and I am now debugging cermine. All my problems are now with trying to understand the cermine code! Also, how to debug a Java project as I haven't worked in Java for years. After downloading maven 3.6.3, don't forget to change your MAVEN_HOME environment variable to the location of the older build.

resourcesunite avatar Oct 08 '21 16:10 resourcesunite

Just apply patch https://github.com/CeON/CERMINE/pull/91 and you are good to go with the newer more secure maven

bwakkie avatar Dec 19 '21 10:12 bwakkie