Hello community!
I am writing on behalf of Comit SRL. We are working on the migration from ADempiere 361.Final to iDempiere. This process involves migrating the Argentine Localization (LAR).
We are currently developing a plugin for electronic invoicing. For this, we need the plugin wrapped.org.dom4j.dom4j (2.1.3), which we added to Required-Bundle section. However, we got the
following error:
Caused by: java.lang.ClassNotFoundException: org.dom4j.Element cannot be found by org.apache.servicemix.bundles.jaxen_1.1.6.1:.
We did some research where we detected the following in the MANIFEST.MF of org.apache.servicemix.bundles.jaxen_1.1.6.1:
Import-Package: org.dom4j;resolution:=optional;version="[1.6.1,2)"
We believe increasing the version range might solve the problem.
Additionally, we noticed that in iDempiere there is a directory called org.idempiere.p2.repackaged, where the README file states "Repackage osgi bundles to fix MANIFEST.MF issues."
Is this the correct way to address the issue?
Thank you in advance.
Best regards,
Santiago Imas.