Hi Guillaume,

Could you please fill an enhancement jira ticket for this? We can track it
there.

Thanks!
Freeman

On Wed, Aug 12, 2020 at 4:45 PM Guillaume Girard <[email protected]>
wrote:

> Hi all,
>
> I am trying to use the karaf-maven-plugin to customize a distribution and
> more specifically to add bouncy castle support.
> On JDK 8, there is no issue as additional libraries can be added to the
> distribution with the AssemblyMojo and specifying them like
> <libraries>
>
> <library>mvn:org.bouncycastle/bcmail-jdk15on/1.66;type:=extension;delegate:=true</library>
> <libraries>
>
> But on JDK11, it looks like bouncy castle jars need to be installed in
> `lib/jdk9plus` and not `lib/ext`.
> This seems to not be possible today with karaf-maven-plugin as the
> AssemblyMojo supports only `endorsed`, `ext` and `boot` locations.
> There is no option to add a library to both `lib/ext` and `lib/jdk9plus`,
> which seems to be required to have a working solution for both JDK8 and
> JDK11.
>
> Is there any clean solution to achieve my aim?
>
> Thanks,
>
> Guillaume.
>

Reply via email to