jar 'org.opensaml:opensaml', '2.6.1', :exclusions => ['org.bouncycastle:bcprov-jdk15']
works OK when there is no Jarfile.lock and .jbundler/classpath.rb. but with Jarfile.lock and without jbundler/classpath.rb the transitive dependency org.opensaml:xmltooling:jar:1.4.1 does pull in org.bouncycastle:bcprov-jdk15 while creating .jbundler/classpath.rb.
Jarfile with
works OK when there is no Jarfile.lock and .jbundler/classpath.rb. but with Jarfile.lock and without jbundler/classpath.rb the transitive dependency org.opensaml:xmltooling:jar:1.4.1 does pull in org.bouncycastle:bcprov-jdk15 while creating .jbundler/classpath.rb.
also see: