cannot build and run cermine on my computer
Hello,
I could not find documentation on how to build Cermine on my computer, neither for Windows nor for Linux. Would it be possible to explain it in the readme file ?
Regards,
it is in the README.md file:
(OPTIONAL) if you would like to build an executable JAR yourself, clone the project and execute:
$ cd CERMINE/cermine-impl $ mvn compile assembly:single
This will result in a file cermine-impl-<VERSION>-jar-with-dependencies.jar in cermine-impl/target directory.
you need to apply pull #91 in order to compile with maven newer than 3.6,3
To explain in steps: git clone https://github.com/CeON/CERMINE.git cd CERMINE gh pr checkout 91
But.. I enter a different error if I try it now. with java 8 11 and 19 on Manjaro linux
CERMINE has been abandoned for5 years. Maybe Grobid can help you?
D:\dev_code\CERMINE\cermine-impl>mvn compile assembly:single [INFO] Scanning for projects... [INFO] [INFO] ------------------< pl.edu.icm.cermine:cermine-impl >------------------- [INFO] Building CERMINE Engine Implementation - 1.14-SNAPSHOT 1.14-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- Downloading from yadda: http://maven.icm.edu.pl/artifactory/repo/edu/umass/cs/mallet/mallet/0.1.3/mallet-0.1.3.pom Downloading from yadda: http://maven.icm.edu.pl/artifactory/repo/edu/umass/cs/mallet/grmm-deps/0.1.3/grmm-deps-0.1.3.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.365 s [INFO] Finished at: 2022-05-14T20:26:38+08:00 [INFO] ------------------------------------------------------------------------ [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 yadda (http://maven.icm.edu.pl/artifactory/repo): Transfer failed for http://maven.icm.edu.pl/artifactory/repo/edu/umass/cs/mallet/mallet/0.1.3/mallet-0.1.3.pom 400 Bad Request -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Found a solution?
@Pocoyo7798 I put a workaround on #106 . Because https://maven.icm.edu.pl/artifactory/repo has misconfigured SSL cert, you may need to manually download the mallet and grmm-deps dependencies if you want to do a full build and not use the cermine jar that comes with dependencies included.