cogcomp-nlp icon indicating copy to clipboard operation
cogcomp-nlp copied to clipboard

Problem in Compiling NER from repo

Open BeyonderXX opened this issue 2 years ago • 1 comments

I tried to train a new NER tagger. So I compiled the NER repository according to your guideline. It seems that some download links of requirement libs are out of date. There is the same issue as mine #713 , but no answer.

Error log is thrown as:

[INFO] ----------------< edu.illinois.cs.cogcomp:illinois-ner >---------------- [INFO] Building illinois-ner 4.0.15 [INFO] --------------------------------[ jar ]--------------------------------- Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.1.2/maven-source-plugin-2.1.2.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.1.2/maven-source-plugin-2.1.2.pom (5.2 kB at 12 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom (13 kB at 31 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom (23 kB at 54 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache/7/apache-7.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/apache/7/apache-7.pom (14 kB at 34 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.1.2/maven-source-plugin-2.1.2.jar Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.1.2/maven-source-plugin-2.1.2.jar (24 kB at 56 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/edu/illinois/cs/cogcomp/lbjava-maven-plugin/1.3.1/lbjava-maven-plugin-1.3.1.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 18.235 s [INFO] Finished at: 2021-07-14T13:40:01Z [INFO] ------------------------------------------------------------------------ [ERROR] Plugin edu.illinois.cs.cogcomp:lbjava-maven-plugin:1.3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for edu.illinois.cs.cogcomp:lbjava-maven-plugin:jar:1.3.1: Could not transfer artifact edu.illinois.cs.cogcomp:lbjava-maven-plugin:pom:1.3.1 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [CogcompSoftware (http://cogcomp.org/m2repo/, default, releases+snapshots)] -> [Help 1]

BeyonderXX avatar Jul 14 '21 13:07 BeyonderXX

The latest maven is blocking HTTP repositories - use url with https e.g. <url>https://cogcomp.cs.illinois.edu/m2repo/</url>.

dmacjam avatar Jul 19 '21 14:07 dmacjam