[Libreoffice-bugs] [Bug 134248] JURT and JUH JARs contain bad class path declaration

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 24 10:13:14 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=134248

--- Comment #3 from Alexander Veit <alexander.veit at unitedplanet.com> ---
> Those entries are necessary so that native code used by those jars can be found.

The usual way to provide a class path for a JVM instance is that the caller
specifies the class path to be uses before the JVM is started.

When JARs try to pull in dependencies on their own they do not play nicely
together with other libraries the same JVM.

Currently we're manually removing the offending entries from the JARs after
download and manage the patched libraries on our own.  However, this is not the
way Maven is supposed to work. ;-)


> The LibreOffice jars were never designed to be made available via Maven,
> outside the context of a LibreOffice installation.

We use the libraries to utilize LibreOffice/OpenOffice as backend service for
rendering documents.  I hope that such use cases are also supported by the
LibreOffice Java API.


> I know that there have been efforts to make them available via Maven,
> but do not know how effective the results of those efforts were.
> I personally know next to nothing about Maven.

The LibreOffice/OpenOffice libraries have been published and regularly updated
via Maven since 2007:

https://mvnrepository.com/artifact/org.libreoffice
https://mvnrepository.com/artifact/org.openoffice

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200624/fb4d31b2/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list