更新时间:2022-04-10 07:51:59
一种可能性是,罐子 - 这是在一个'库'目录 - 是您的构建过程中使用的类路径。是否包括在构建文件中使用的类路径 $ {lib.dir}
?
One possibility is that the jar - which is in a 'lib' directory - is on a classpath in use during your build. Is ${lib.dir}
included on a classpath used in the buildfile?
您可以创建一个单独的目录存放签署的jar,并使用 DESTDIR 属性。
You could create a separate directory to deposit signed jars to, and specify that to the 'signjar' task using the destdir attribute.