I am trying to filter the class dependency using -f
option of jdeps
command, but that does not seems to be working. Here is my command
[~]# jdeps -f 'org.bouncycastle.jce.provider.BouncyCastleProvider' -verbose:class -cp ../jars/* ./my.jar | grep bouncy
io.kubernetes.client.util.SSLUtils -> org.bouncycastle.jce.provider.BouncyCastleProvider not found
io.kubernetes.client.util.SSLUtils -> org.bouncycastle.openssl.PEMKeyPair not found
io.kubernetes.client.util.SSLUtils -> org.bouncycastle.openssl.PEMParser not found
io.kubernetes.client.util.SSLUtils -> org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter not found
But somehow it does not exclude org.bouncycastle.jce.provider.BouncyCastleProvider. I would like to ignore any bouncycastle dependency. How to do that using jdeps