Bertrand, I confirmed the approach works two ways: 1. By embedding the dependency directly in the bundle using the <Include-Dependency> directive.
2. By using the <Include-Resource> directive with the following content: @org.apache.sling.servlets.post-*.jar!/org/apache/sling/servlets/post/impl/** This includes the full private package that is not accessible as part of the bundle. Regards, Carlos On Mon, Jun 22, 2020 at 10:35 AM Bertrand Delacretaz <[email protected]> wrote: > On Mon, Jun 22, 2020 at 2:36 PM Carlos Munoz <[email protected]> wrote: > > ...My suggestion would be to add this > > solution you just proposed to the javadocs of those deprecated classes... > > Good idea - let's wait until you confirm that it works for you and > this sounds like a plan! > > -Bertrand > >
