How to exclude dependencies in jdeps output

时间:2019-04-08 13:47:39

标签: jdeps

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

0 个答案:

没有答案