为了账号安全,请及时绑定邮箱和手机立即绑定

maven使用插件报错

maven使用插件报错

青春有我 2019-03-12 13:15:09
   <build>        <pluginManagement>            <plugins>                <plugin>                    <groupId>org.apache.maven.plugins</groupId>                    <artifactId>maven-site-plugin</artifactId>                    <version>3.0-bate-1</version>                </plugin>            </plugins>        </pluginManagement>        <finalName>springmaven</finalName>    </build>上面是插件信息,下面是当运行mvn site时包的错误,本地仓库中我已经看到有maven-site-plugin插件的jar包存在了。[ERROR] Plugin org.apache.maven.plugins:maven-site-plugin:3.0-bate-1 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-site-plugin:jar:3.0-bate-1 in http://10.10.13.5:8081/artifactory/plugins-release was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
查看完整描述

3 回答

?
阿波罗的战车

TA贡献1862条经验 获得超6个赞

mvn命令后面加上-U就好了


查看完整回答
反对 回复 2019-04-18
?
梦里花落0921

TA贡献1772条经验 获得超6个赞

更改了版本号就好了


查看完整回答
反对 回复 2019-04-18
  • 3 回答
  • 0 关注
  • 1176 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信