![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Maven
文章平均质量分 71
clooker
这个作者很懒,什么都没留下…
展开
-
发布依赖到maven仓库
maven中央仓库是一个开放的仓库,所以我们也可以把自己开发的jar推送到远程仓库,这样可以直接引入pom依赖使用我们的库。原创 2023-03-01 17:56:30 · 1096 阅读 · 1 评论 -
maven下载依赖失败
前情提要由于特殊原因,官方maven库经常连接失败,所以很多maven都配置了阿里云的镜像。但是阿里云的镜像里有很多依赖都没有,这时候如果你的项目需要这些依赖,就会导致编译失败。1. 问题1描述:This failure was cached in the local repository and resolution is not reattempted until the update interval of aliyunmaven has elapsed or updates are forc原创 2021-10-21 18:46:05 · 27637 阅读 · 3 评论 -
【问题】duplicate-finder-maven-plugin:1.4.0:check (default) on project presto-vv: Found duplicate
问题在编译打包某些项目中出现依赖检查错误,具体如下:[ERROR] Failed to execute goal org.basepom.maven:duplicate-finder-maven-plugin:1.4.0:check (default) on project presto-vv: Found duplicate classes/resources! -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException:原创 2021-10-04 17:00:32 · 636 阅读 · 0 评论 -
【问题】maven中设置不引入子依赖
问题在编译某些开源项目时,会提示如下内容:Require upper bound dependencies error for io.airlift:aircompressor:0.15 paths to dependency are:+-io.hetu.core:presto-vv:1.3.0 +-io.hetu.core:presto-main:1.3.0 +-io.airlift:aircompressor:0.15 (managed) <-- io.airlift:airco原创 2021-10-04 16:53:52 · 1053 阅读 · 0 评论 -
【问题】Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:analyze-only
问题在编译某开源项目(openLooKeng)时出现异常,导致编译失败。异常内容[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:analyze-only (default) on project presto-vv: Dependency problems found -> [Help 1]org.apache.maven.lifecycle.LifecycleExecu原创 2021-10-04 16:47:58 · 3250 阅读 · 4 评论