-
Notifications
You must be signed in to change notification settings - Fork 0
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
build failure with ecore2owl.core #1
Comments
Hello @chris-day, |
Hi Jan –
Thanks for getting back so quickly – I was using Java 8. I’ll retry with Java 11.
Cheers
Chris
c: +44 7930 909 297
p: +44 115 714 0869
s: bigchrisday
<https://www.linkedin.com/in/chrisdayabinitio/> https://www.linkedin.com/in/chrisdayabinitio/
From: Jan Keim <notifications@github.com>
Sent: 01 April 2020 16:44
To: kit-sdq/Ecore2OWL <Ecore2OWL@noreply.github.com>
Cc: Chris Day <chris.day@pinky.co.uk>; Mention <mention@noreply.github.com>
Subject: Re: [kit-sdq/Ecore2OWL] build failure with ecore2owl.core (#1)
Hello @chris-day <https://github.com/chris-day> ,
Thank you for your issue. I looked into it and currently cannot reproduce your issue. Both, on travis and on my own machine I cannot trigger the same error you are getting.
Can you provide more information? Which maven and Java version are you using? On what kind of OS?
At least some parts of the error message seem to be an issue with the used Java version. This project needs at least Java 11.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#1 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADSWATD3DS7TKUVQMTWK2UDRKNOLDANCNFSM4LYRAJWQ> . <https://github.com/notifications/beacon/ADSWATF63TCCCDHSMDXPRFTRKNOLDA5CNFSM4LYRAJW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEQZRHEY.gif>
|
Hi -
INFO] ------------------------------------------------------------------------
INFO] Reactor Summary for ecore2owl.parent 1.0.0-SNAPSHOT:
INFO]
INFO] ecore2owl.parent ................................... SUCCESS [ 0.112 s]
INFO] ecore2owl.bundles .................................. SUCCESS [ 0.027 s]
INFO] Ecore2OWL Dependencies Collector ................... SUCCESS [ 25.426 s]
INFO] ecore2owl.dependencies-provider .................... SUCCESS [ 2.914 s]
INFO] ecore2owl.OntologyAccess ........................... SUCCESS [ 1.314 s]
INFO] ecore2owl.core ..................................... FAILURE [ 0.320 s]
INFO] ecore2owl.ui ....................................... SKIPPED
INFO] ecore2owl.features ................................. SKIPPED
INFO] edu.kit.ipd.are.ecore2owl.feature .................. SKIPPED
INFO] ecore2owl.tests .................................... SKIPPED
INFO] ecore2owl.releng ................................... SKIPPED
INFO] Ecore2OWL Update Site .............................. SKIPPED
INFO] ------------------------------------------------------------------------
INFO] BUILD FAILURE
INFO] ------------------------------------------------------------------------
INFO] Total time: 01:39 min
INFO] Finished at: 2020-04-01T08:02:32+01:00
INFO] ------------------------------------------------------------------------
ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.5.1:compile (default-compile) on project ecore2
wl.core: Compilation failure: Compilation failure:
ERROR] F:\GitHub\Ecore2OWL\bundles\edu.kit.ipd.are.ecore2owl.core\src\edu\kit\ipd\are\ecore2owl\core\Ecore2OWLTransform
r.java:[260]
ERROR] .collect(Collectors.toUnmodifiableList());
ERROR] ^^^^^^^^^^^^^^^^^^
ERROR] The method toUnmodifiableList() is undefined for the type Collectors
ERROR] F:\GitHub\Ecore2OWL\bundles\edu.kit.ipd.are.ecore2owl.core\src\edu\kit\ipd\are\ecore2owl\core\Ecore2OWLTransform
r.java:[667]
ERROR] ontologyAccess.addDataPropertyToIndividual(optIndividual.get(), optDataProperty.orElseThrow(),
ERROR] ^^^^^^^^^^^
ERROR] The method orElseThrow(Supplier<? extends X>) in the type Optional is not applicable for the a
guments ()
ERROR] 2 problems (2 errors)
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
ERROR]
ERROR] After correcting the problems, you can resume the build with the command
ERROR] mvn -rf :ecore2owl.core
The text was updated successfully, but these errors were encountered: