如何解决maven xmlbeans插件依赖问题

时间:2014-07-14 05:42:27

标签: java maven

我正在使用maven xmlbeans 2.5.0插件。我无法运行mvn clean命令。我收到以下问题。任何人都可以帮我解决这个问题

[ERROR] Plugin org.apache.xmlbeans:xmlbeans:2.5.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.xmlbeans:xmlbeans:jar:2.5.0: Could not transfer artifact org.apache.xmlbeans:xmlbeans:pom:2.5.0 from/to nexus (https://nexus.tuinteractive.com/content/groups/public): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty -> [Help 1]
org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.xmlbeans:xmlbeans:2.5.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.xmlbeans:xmlbeans:jar:2.5.0

1 个答案:

答案 0 :(得分:0)

根据http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.codehaus.mojo%22%20AND%20a%3A%22xmlbeans-maven-plugin%22

xmlbeans-maven-plugin的最新版本是2.3.3,看起来您已将版本配置为2.5.0

你介意分享你的插件配置。

相关问题