首页 > 其他分享 >Maven – Guide to using Multiple Repositories

Maven – Guide to using Multiple Repositories

时间:2023-12-26 18:12:56浏览次数:31  
标签:p3 Multiple ERROR jar Maven org using jeecg

 

[Maven – Guide to using Multiple Repositories](https://maven.apache.org/guides/mini/guide-multiple-repositories.html)

PS D:\gitrepo\fairbeautycrm\fairbeauty-crm-test> mvn --version
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: D:\apache-maven
Java version: 1.8.0_291, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_291\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
<repository>
      <id>jeecgrepo</id>
      <name>jeecg com repo</name>
      <url>http://maven.jeecg.com/nexus/content/groups/public</url>
    </repository>

 

注意:是http而不是https。

原因:https使用的ssl证书无效导致的一个错误。

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project fairbeauty-crm-test: Could not resolve dependencies for project com.fairbeauty:fairbeauty-crm-test:jar:0.0.2: The following artifacts could not be resolved: org.jeecgframework.p3:jeecg-p3-core-api:jar:1.0.0 (absent), org.jeecgframework.p3:jeecg-p3-core-ui:jar:1.0.0 (present, but unavailable): Could not find artifact org.jeecgframework.p3:jeecg-p3-core-api:jar:1.0.0 in mirror (https://maven.aliyun.com/nexus/content/groups/public) -> [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/DependencyResolutionException

 

标签:p3,Multiple,ERROR,jar,Maven,org,using,jeecg
From: https://www.cnblogs.com/rgqancy/p/17928982.html

相关文章

  • maven toolchains 简单说明
    很多时候我们项目可以会包含需要不同jdk构建,比如有些只能使用jdk8,有些需要使用jdk11,toolchains可以帮助我们解决此问题一般玩法创建一个toolchains.xml目录,放到home目录下,里边配置实际需要的jdk版本(我们的环境可以安装多jdk)项目构建的时候(使用的插件)使用配置的工具参考配置......
  • maven 引入外部jar包
    有时依赖的第三方jar不在maven仓库中,为了能按照maven的方式管理jar同时方便成员间协同,可使用如下方式在pom.xml同级目录下新建lib文件夹,然后将jar放入,然后纳入版本管理在pom.xml中配置依赖,比如<dependency><groupId>com.group</groupId><artifactId>arti......
  • C# 中使用 using 关键字和不使用 using 关键字创建 FileStream
    在C#中使用using关键字和不使用using关键字创建FileStream实例之间有一些区别。使用using关键字:using(FileStreamfileStream=newFileStream(filePath,FileMode.Open,FileAccess.Read)){//使用fileStream进行操作}using关键字用于创建FileStream......
  • Maven安装步骤--linux
    安装 maven环境前,需要先安装java环境Linux安装jdk1、maven 官网下载安装包maven官网地址:Maven–DownloadApacheMaven历史版本3.6.3为例:  2、安装maven 2.1创建maven文件夹,仓库文件夹mkdir-p/usr/local/maven  mkdir-p/usr/local/maven/reposi......
  • Maven学习笔记 - git-commit-id-plugin插件
    转载自:https://blog.csdn.net/mytt_10566/article/details/100116670参考:插件GitHub地址:https://github.com/git-commit-id/maven-git-commit-id-plugingit-commit-id-plugin是一个类似于buildnumber-maven-plugin的插件,由于buildnumber-maven-plugin插件仅支持CVS和......
  • Maven系列(二)exec-maven-plugin
    转载自:https://www.cnblogs.com/binarylei/p/8628243.htmlMaven系列(二)exec-maven-pluginMaven系列(二)exec-maven-plugin1.mvn命令行运行#exec:java不会自动编译代码,你需要手动执行mvncompile来完成编译mvncompile#执行exec运行main方法mvnexec:java-......
  • Maven War 插件详解
     MavenWar插件详解转载自:https://www.jianshu.com/p/0895de58c524WAR插件负责收集Web应用程序的所有依赖项、类和资源,并将它们打包到WAR包中,仅包含scope为compile+runtime的依赖项,默认绑定到package阶段。详情请参考:https://maven.apache.org/plugins/maven-w......
  • Maven打包插件之——maven-jar-plugin、maven-assembly-plugin、maven-shade-plugin
    转载自:https://blog.csdn.net/calm_encode/article/details/1039315371.打包插件的介绍   打包插件是把class文件,配置文件打包成一个jar(war或者其他格式)的包。而且可执行jar包中包含或者不包含相应的依赖包包,当不包含相应的依赖包时,我们需要建立lib目录,且jar和lib目......
  • Maven uber-jar(带依赖的打包插件)maven-shade-plugin
    转载自:https://blog.csdn.net/Ares5kong/article/details/128832989文章目录最基础的maven-shade-plugin使用生成可执行的Jar包和常用的资源转换类包名重命名打包时排除依赖与其他常用打包插件比较 本文是对maven-shade-plugin常用配置的介绍,更详细的学习......
  • Maven uber-jar(带依赖的打包插件) spring-boot-maven-plugin
    转载自:https://blog.csdn.net/Ares5kong/article/details/128791102文章目录最基础的spring-boot-maven-plugin使用指定入口类安装部署原始Jar包到仓库保持原始Jar包名称,为spring-boot-maven-plugin生成的Jar包添加名称后缀打包时排除依赖建议将生成的Jar解压后......