在构建带有依赖关系的giraph jar时,我们会收到以下警告..真的不知道如何解决这些问题..我们已经尝试过了
useProjectArtifact为false
和
解包为真
任何建议如何解决这些...... ??
[WARNING] Failure to transfer asm:asm/maven-metadata.xml from file:../../local.repository/trunk was cached in the local repository, resolution will not be reattempted until the update interval of local.repository has elapsed or updates are forced. Original error: Could not transfer metadata asm:asm/maven-metadata.xml from/to local.repository (file:../../local.repository/trunk): No connector available to access repository local.repository (file:../../local.repository/trunk) of type legacy using the available factories WagonRepositoryConnectorFactory
[WARNING] Failure to transfer asm:asm/maven-metadata.xml from file:../../local.repository/trunk was cached in the local repository, resolution will not be reattempted until the update interval of local.repository has elapsed or updates are forced. Original error: Could not transfer metadata asm:asm/maven-metadata.xml from/to local.repository (file:../../local.repository/trunk): No connector available to access repository local.repository (file:../../local.repository/trunk) of type legacy using the available factories WagonRepositoryConnectorFactory
答案 0 :(得分:0)
这看起来像连接问题,代理或防火墙,因此您可以勾选此解决方案:
显式引用ASM依赖项。看一下正确的版本并尝试将其添加到您的pom(http://mvnrepository.com/artifact/asm/asm)中。之后,执行mvn install
以确保一切正常。
如果它不起作用,您可以尝试手动下载依赖项并将其复制到本地存储库(本地文件夹“.m2”)中,可能位于“/.m2/asm/asm/”。这不是最好的解决方案,但也许这可以解决您的问题。
希望它有所帮助!