protegeproject / owl2lpg-translator

A program to translate OWL 2 Ontologies to LPG graphs
Other
12 stars 6 forks source link

Webprotege-shared no longer in Standford protege maven repository #16

Open Kevinwochan opened 2 years ago

Kevinwochan commented 2 years ago

Issue


I'm unable to build the owl2lpg client API, after running mvn install i encounter the below errors

[INFO] --------------< edu.stanford.owl2lpg:owl2lpg-client-api >---------------
[INFO] Building OWL2LPG Client API 1.0-SNAPSHOT                           [5/6]
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for edu.stanford.protege:webprotege-shared:jar:5.0.0-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for edu.stanford.protege:webprotege-shared-core:jar:5.0.0-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for edu.stanford.protege:webprotege-server-api:jar:5.0.0-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for edu.stanford.protege:webprotege-server-core:jar:5.0.0-SNAPSHOT is missing, no dependency information availa
ble
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for OWL2LPG-Translation Parent 1.0-SNAPSHOT:
[INFO] 
[INFO] OWL2LPG-Translation Parent ......................... SUCCESS [  0.310 s]
[INFO] OWL2LPG-Translation Core ........................... SUCCESS [  3.930 s]
[INFO] OWL2LPG-Translation Exporter ....................... SUCCESS [  0.154 s]
[INFO] OWL2LPG-Translation CLI ............................ SUCCESS [  5.191 s]
[INFO] OWL2LPG Client API ................................. FAILURE [  0.844 s]
[INFO] Neo4j Text Analyzer Plugin ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  10.635 s
[INFO] Finished at: 2022-02-14T01:55:37Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project owl2lpg-client-api: Could not resolve dependencies for project edu.stanford.owl2lpg:owl
2lpg-client-api:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: edu.stanford.protege:webprotege-shared:jar:5.0.0
-SNAPSHOT, edu.stanford.protege:webprotege-shared-core:jar:5.0.0-SNAPSHOT, edu.stanford.protege:webprotege-server-api:jar:5.0.0-S
NAPSHOT, edu.stanford.protege:webprotege-server-core:jar:5.0.0-SNAPSHOT: Could not find artifact edu.stanford.protege:webprotege-
shared:jar:5.0.0-SNAPSHOT -> [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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :owl2lpg-client-api

Looking at the Maven repository it's asking for, it looks like a couple of repositories are no longer available https://mvnrepository.com/artifact/edu.stanford.protege?p=1

mvass7 commented 2 years ago

Hi, I am experiencing the same issue, is there a solution to that?

laotao commented 1 year ago

Seem issue.

matthewhorridge commented 1 year ago

It looks like you need to build snapshots of the version 5.0.0 artifacts. You can do this by cloning the webprotege repo and checking out the version-5 branch. Do a mvn install to build and install the snapshots to your local maven repo. Hope this helps!