引用
Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
碰到一个类似以上的错误.
原因是maven的plugin并未下载到本地.
如果你查看
引用
~\.m2\repository\org\apache\maven\plugins\maven-surefire-plugin\2.7.1
的话,会发现里面只有一个
maven-surefire-plugin-2.7.1.pom.lastUpdated
的文件.
而并没有maven-surefire-plugin-2.7.1.jar
解决办法:
1.删除maven-surefire-plugin-2.7.1.pom.lastUpdated文件
2.右键点击project -> Maven - Update Dependencies
如果点击更新后发现
~\.m2\repository\org\apache\maven\plugins\maven-surefire-plugin\2.7.1
下还是没有maven-surefire-plugin-2.7.1.jar
去
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.7.1/
下载
maven-surefire-plugin-2.7.1.jar
maven-surefire-plugin-2.7.1.jar.sha1
maven-surefire-plugin-2.7.1.pom
maven-surefire-plugin-2.7.1.pom.sha1
包再重复步骤2.
分享到:
相关推荐
implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> <resource>META-INF/spring.handlers implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> ...
本文主要阐述了maven build是用来干什么的,以及对build标签中各子元素配置的作用
eclipse新建maven项目时,pom.xml文件第一行报错: org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject, org.apache.maven.archiver.MavenArchiveConfiguration) 解决...
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
java运行依赖jar包
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
Maven插件和目标 (Plugins and Goals) 3.5.2. Maven生命周期 (Lifecycle) 3.5.3. Maven坐标 (Coordinates) 3.5.4. Maven仓库(Repositories) 3.5.5. Maven依赖管理 (Dependency Management) 3.5.6. 站点生成和...
官方离线安装包,亲测可用
maven本地仓库的更新 连网后window+R 输入cmd回车 输入maven 版本查看 mvn -v ... on project standalone-pom: Execution default-cli of goal org.apache.maven.plugins:maven-help-plugin:3.1.0:sy
Build your own custom plugins and get to know how Maven extension points are used Troubleshoot build issues with greater confidence Optimize Maven's configuration settings Write custom lifecycles and ...
GitHub Maven Plugins Collection of Maven plugins that integrate with GitHub. These plugins are built on top of API v3 through the GitHub Java library. Released builds are available from Maven Central...
jruby-maven-plugins, 以 Maven 方式,Maven 插件用来处理 rubygems 包括对 rspec Rails Cucumber rake等的支持 Maven 插件 gem-工件有 Maven 存储库,torquebox.org 提供了来自 rubygems.org的gem ( 只有 ruby 和...
maven编译pentaho-big-data-plugin遇到的所有问题解决,pentaho6.0
the concept of a Project Object Model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information. Documentation ------------- The most up-to-date...
今天在使用IDEA创建Maven的webapp时遇见这样一个不叫问题的问题: Downloading from central: ...解决方式:在项目的pom.xml中添加如下一段代码: centra
<groupId>org.apache.maven.plugins <artifactId>maven-compiler-plugin <version>3.1 <source>1.7 <target>1.7 <groupId>org.apache.tomcat.maven <artifactId>tomcat7-maven-plugin <version>2.2 <url>...
解决方法: 1、先在pom.xml文件中加入<build></build>标签 <plugins> <groupId>org.apache.maven.plugins <artifactId>maven-jar-plugin <version>2.3.1 <!--运行jar包时运行的主类,要求类...
When you install this component you will be installing all of the core Wizards, the POM Editor, Maven Repository integration, and Maven integration m2eclipse Core Update Site: ...
D:\JetBrains\IntelliJ IDEA 2020.3.3\plugins\maven\lib\maven3\conf 目录下(你自己PC中IntelliJ IDEA实际安装目录) 替换原文件 重启IntelliJ IDEA即可 实测目前IntelliJ IDEA2020.3.3最问题,推荐使用。 如更新...