maven管理jar包的机制
1.maven的.lastUpdated文件
1.1 看下.lastUpdated文件内部:
2. 看一下_remote.repositories文件的结构
看一下详情
#NOTE: This is an Aether internal implementation file, its format can be changed without prior notice.
#Thu Jan 10 17:42:11 CST 2019
tasks-proxy-3.6.0-SNAPSHOT.pom>=
tasks-proxy-3.6.0-SNAPSHOT-sources.jar>=
tasks-proxy-3.6.0-SNAPSHOT.jar>=
问: >= 代表什么意思???
3.Maven can't find pom/jar from local repository 和 jar.lastUpdated文件之间是什么关系?
删除.lastUpdated文件之后,maven仓库中的jar包就能被maven找到了: