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

switched to maven shade plugin #239

Merged
merged 2 commits into from
Aug 28, 2019
Merged

Conversation

goodb
Copy link
Contributor

@goodb goodb commented Aug 26, 2019

I was having problems with unpredictable class loading behavior when building the project using maven command line. (There are many different versions of OWL and RDF libraries in the different dependencies.) Switching from the maven-assembly-plugin to smarter maven-shade-plugin (like in minerva-cli) seems to have resolved the issue.

I was having problems with unpredictable class loading behavior when building the project using maven command line.  Switching from the maven-assembly-plugin to maven-shade-plugin (like in minerva-cli) seems to have resolved the issue.
@goodb goodb requested review from balhoff and kltm August 26, 2019 17:05
@goodb
Copy link
Contributor Author

goodb commented Aug 26, 2019

Hang on. reproduced test error. fixing.

Version 4.5.7 causes MolecularModelManagerTest.testExportImport() to fail in a bizarre and troublesome way.  It will hang forever as the MolecularModelManager attempts to save the abox ontology to bytestream (about line 818).

I reproduced the problem in separate, simple test file.  It only happens if the OntologyManager.applyChange method is called before attempting to write to the stream.  e.g. like this:
OWLOntologyID ontologyID = new OWLOntologyID(Optional.of(expectedABoxIRI), Optional.of(expectedABoxIRI));
				manager.applyChange(new SetOntologyID(aBox, ontologyID));
if that change is not applied it will run just fine.
Yay..  So rolling back to working version.
@goodb
Copy link
Contributor Author

goodb commented Aug 28, 2019

This is working now on the dev server. Going forward with merge into dev branch.

@goodb goodb merged commit 0e5fcf6 into dev Aug 28, 2019
@kltm
Copy link
Member

kltm commented Aug 29, 2019

As they were the same, will defer switching back to dev until next update there.

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

Successfully merging this pull request may close these issues.

2 participants