Bouncy Castle built-in libs

He we will discuss about how to make customization and improvement to the OpenKM source code.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Tue May 11, 2021 7:06 am

Bouncy Castle built-in libs

Post by danjo »

I'm customizing the openkm environment.
I need to use the bouncy castle FIPS libs, so i have added the dependency in the .pom file.

When i try to invoke the library the console gives me an error, i noticed that in the:
folder there are already various versions of the Bouncy Castle library (non-FIPS).

I tried to remove manually them, but at compile time they are automatically downloaded again.

No references to there libraries are present in the .pom file.
This console error is caused by the collision of the packages as the both start with:

Is there a way to permanently delete them?
Thank you all :roll:
Posts: 11475
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain

Re: Bouncy Castle built-in libs

Post by jllort »

If you open the pom.xml in your IDE should have a dependency analyzer. For example in Intellij got something like the next screenshot:
Finally depending the enhancement wish to do, maybe it is better implement external module with webservices API and user from OpenKM as a remote service. Usually this is a good aproach. If explan what are trying to do maybe I can suggest serveral options ( I do not need a large description, only a general idea about what kind of problem are trying to solve and what got in your mind ).
Post Reply