Reputation: 275
I am compiling an ear file from the Eclipse. I don't have the bcprov-jdk15on-1.51 .jar declared anywhere in the codebase (neither in pom.xml, nor in Deployment Assembly). But it goes into the lib directory of the ear file. Where was it populated from?
Upvotes: 0
Views: 687
Reputation: 380
As @MattClark said, it's probably required by one of your dependencies. Open up your pom in eclipse and go to the "Dependency Hierarchy" tab, select the bouncy castle jar from the "Resolved Dependencies" section on the right and eclipse will actually filter the "Dependency Hierarchy" view to show you exactly why that jar is being included.
Upvotes: 2