eclipse maven配置问题(pom.xml第一行报错)(亲测解决有效)
maven
Maven: Apache Maven是一个开源的项目管理和构建工具,主要用于Java项目。适合需要自动化项目构建和依赖管理的开发者。特点包括约定优于配置、易于使用和社区驱动。
项目地址:https://gitcode.com/gh_mirrors/ma/maven

·
1.(2018.4以前)help ->Install New Software -> add ->https://otto.takari.io/content/sites/m2e.extras/m2eclipse-mavenarchiver/0.17.2/N/LATEST
(2018.4以后)help ->Install New Software -> add -
http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-mavenarchiver/0.17.2/N/LATEST/
2.add后,先reload一下,
3.然后再在help ->Install New Software ->work with ->的下拉框中选中刚刚添加的MavenArchiver -,就会出现next选项了;
4.点击 next 前,将 eclipse Install 窗口右下角的 Contact all update sites during install to find required software 选项取消掉。
5.一直next confirm 安装更新 提示重启eclipse 然后再右键项目maven update project
后来我的解决方案
在pom.xml中添加这个就解决了
<properties>
<maven-jar-plugin.version>2.6</maven-jar-plugin.version>
</properties>
mmp:气死我也:我猜测3.0版本与eclipse不匹配产生结果。




Maven: Apache Maven是一个开源的项目管理和构建工具,主要用于Java项目。适合需要自动化项目构建和依赖管理的开发者。特点包括约定优于配置、易于使用和社区驱动。
最近提交(Master分支:17 天前 )
2865dac1
- https://github.com/checkstyle/checkstyle/pull/17782
Co-authored-by: Vincent Potucek <vpotucek@me.com> 58 分钟前
7872c6d8
Changes:
* update Mimir to latest 0.8.1 version
* update infusers as well
* cache changes (see below)
Cache strategy changes:
* initial build: it is snowballing one cache when build is not about PR
* full (rebuild itself + site with itself) and its build: it is snowballing cache differentiated by OS/JDK when build is not about PR
Current problems: on unchanged POM (ie. new IT added), the dependencies ITs pull from Central will be cached by Mimir, but due "cache hit" the new cache will not get stored. Hence, Mimir caching was basically lost. Also, there was a mixup of caches from PRs and main branches. Finally, matrix jobs were competing for cache store. 2 天前
更多推荐
所有评论(0)