我原本期望maven-shade-plugin支持:
<archive>
<indexed>true</indexed
<archive>但事实似乎并非如此。
有没有其他方法可以对阴影jar进行索引?
发布于 2014-10-16 04:10:35
看起来就是这样。DefaultShader.java包含:
if ( "META-INF/INDEX.LIST".equals( name ) )
{
// we cannot allow the jar indexes to be copied over or the
// jar is useless. Ideally, we could create a new one
// later
continue;
}显然,这种理想的情况从未出现过,因为我在source-release.zip的其他任何地方都找不到"INDEX.LIST"。
https://stackoverflow.com/questions/26388030
复制相似问题