gavel-tool / python-gavel-owl

GNU Affero General Public License v3.0
4 stars 1 forks source link

Maven does not succeed #4

Closed MGlauer closed 3 years ago

MGlauer commented 3 years ago

Maven terminates with an error

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project java: Compilation failure: Compilation failure: 
[ERROR] /home/glauer/Development/python-gavel-owl/java/src/main/java/translation/ApiServer.java:[5,44] package org.semanticweb.elk.util.collections does not exist
[ERROR] /home/glauer/Development/python-gavel-owl/java/src/main/java/translation/ApiServer.java:[27,1] package org.obolibrary.robot does not exist
[ERROR] /home/glauer/Development/python-gavel-owl/java/src/main/java/translation/ApiServer.java:[153,9] cannot find symbol
[ERROR]   symbol:   class IOHelper
[ERROR]   location: class translation.ApiServer
[ERROR] /home/glauer/Development/python-gavel-owl/java/src/main/java/translation/ApiServer.java:[153,33] cannot find symbol
[ERROR]   symbol:   class IOHelper
[ERROR]   location: class translation.ApiServer
[ERROR] /home/glauer/Development/python-gavel-owl/java/src/main/java/translation/ApiServer.java:[157,38] cannot find symbol
[ERROR]   symbol:   class ArraySet
[ERROR]   location: class translation.ApiServer
[ERROR] /home/glauer/Development/python-gavel-owl/java/src/main/java/translation/ApiServer.java:[160,29] cannot find symbol
[ERROR]   symbol:   class ArraySet
[ERROR]   location: class translation.ApiServer
[ERROR] /home/glauer/Development/python-gavel-owl/java/src/main/java/translation/ApiServer.java:[162,28] cannot find symbol
[ERROR]   symbol:   variable ExtractOperation
[ERROR]   location: class translation.ApiServer
[ERROR] -> [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/MojoFailureException

Is something missing in the POM-file?

sfluegel05 commented 3 years ago

Yes, I only added robot as a library locally, but not via maven. Since we don't need robot for fowl directly, I removed it (see d091711c0da2f5740625015d65627fa501c8dc06). It should work now (at least it work locally for me)