Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot build and run cermine on my computer #104

Open
damienbelveze opened this issue Sep 4, 2021 · 4 comments
Open

cannot build and run cermine on my computer #104

damienbelveze opened this issue Sep 4, 2021 · 4 comments

Comments

@damienbelveze
Copy link

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,

@bwakkie
Copy link

bwakkie commented Dec 19, 2021

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--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?

@decouples
Copy link

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

@Pocoyo7798
Copy link

Found a solution?

@deckeraa
Copy link

deckeraa commented Jan 6, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants