首页 > 其他分享 >Maven打包项目时异常:Cannot access nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public) in off

Maven打包项目时异常:Cannot access nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public) in off

时间:2023-11-11 11:11:48浏览次数:36  
标签:maven nexus surefire access aliyun offline content

package是报错

Cannot access nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public) in offline mode and the artifact org.apache.maven.surefire:maven-surefire-common:pom:2.22.2 has not been downloaded from it before.

根据翻译的意思:

无法在脱机模式下访问nexus-aliyun (http://maven.aliyun.com/nexus/content/groups/public),并且之前没有从该文件下载过工件org.apache.maven.surefire:maven-surefire-common:pom:2.22.2。

解决方法:在设置找到maven的配置,取消Work_offline的勾选,再次package即可

标签:maven,nexus,surefire,access,aliyun,offline,content
From: https://www.cnblogs.com/CHENJUN0427/p/17825669.html

相关文章

  • ACCESS 使用API函数检测shift的状态
    如果是放在   窗体模块   中:PrivateDeclareFunctionGetKeyStateLib"user32"(ByValnVirtKeyAsLong)AsInteger如果是放在  模块      中:PublicDeclareFunctionGetKeyStateLib"user32"(ByValnVirtKeyAsLong)AsInteger调用......
  • Java安全机制之一——SecurityManager和AccessController
    前言:在看socket相关代码的时候,AbstractPlainSocketImpl中的一段代码吸引了我,其实之前见过很多次类似的代码,但一直不想去看,只知道肯定和权限什么的相关,这次既然又碰到了就研究一下,毕竟也不能对java基本代码一无所知。static{java.security.AccessController.doPrivileged(......
  • nexus配置使用国内源
    http://192.168.xx.xxx:8081/#admin/repository/repositories:maven-central配置上国内源:http://maven.aliyun.com/nexus/content/groups/public http://192.168.xx.xxx:8081/#admin/repository/repositories:maven-releases配置允许deploy:Allowredeploy mavennexus相......
  • 安装Maven私有仓库Nexus
    安装Maven私有仓库Nexus下载nexus免费版--下载链接https://sonatype-download.global.ssl.fastly.net/repository/downloads-prod-group/3/nexus-3.61.0-02-unix.tar.gz上传至服务器解压到/roottar-zxvfnexus-3.61.0-02-unix.tar.gz-C/rootmv/root/nexus-3.61.0-0/roo......
  • nexus搭建实践
    安装nexus dockerrun-d\ --namenexus\ -p8081:8081/tcp\ -p8082:8082/tcp\ -p8083:8083/tcp\ -p8084:8084/tcp\ -p8085:8085/tcp\ --restart=always\ sonatype/nexus3:3.28.0 dockercpnexus:/nexus-data/opt/nexus chmod-R777/opt/nex......
  • fatal: unable to access 'https://github.com/wolfcw/libfaketime.git/': Encountere
    您遇到的问题可能是网络问题或与`git`配置有关。以下是一些建议的解决步骤:1.**检查网络连接**:确保您的服务器/计算机可以正常访问外部网站。您可以尝试使用`ping`或`curl`来检查网络连接。 ```bash pinggithub.com ```2.**使用HTTP代替HTTPS**:尝试使用HTTP代替HTT......
  • 了解交换口的链路类型以及实际使用场景(access篇)
    作者:网络之路一天 首发公众号:网络之路博客(ID:NetworkBlog)VLAN在数据包中如何体现?在上一篇实际测试了,从PC2访问PC1的时候,ARP请求广播包,只从E0/0/2发送给E0/0/3,这是因为两个口都配置成了accessvlan10里面,那一个数据包过来交换机它具体是如何处理的呢?,这就要了解下VLAN以及access处理......
  • Flutter开发遇到The instance member 'widget' can't be accessed in an initializer.
    问题描述Theinstancemember'widget'can'tbeaccessedinaninitializer.问题原因"Theinstancemember'widget'can'tbeaccessedinaninitializer"错误是因为在初始化器列表中(constructorinitializerlist)访问了widget成员。这是因为在构造函数的初始化器......
  • 了解交换口的链路类型以及实际使用场景(access篇)
    作者:网络之路一天 首发公众号:网络之路博客(ID:NetworkBlog)VLAN在数据包中如何体现?在上一篇实际测试了,从PC2访问PC1的时候,ARP请求广播包,只从E0/0/2发送给E0/0/3,这是因为两个口都配置成了accessvlan10里面,那一个数据包过来交换机它具体是如何处理的呢?,这就要了解下VLAN以及access处理......
  • xxl-job默认accessToken命令执行漏洞复现
    起因:昨天看见微步发布XXL-JOB默认accessToken身份绕过漏洞,之前hw期间遇到过几次,都没弱口令和未授权,对其有点印象,遂复现一下。漏洞影响:2.3.1和2.4 环境准备:1、下载即可:https://github.com/xuxueli/xxl-job/releases/tag/2.4.0将其导入IDEA中,即可进行分析。环境要求:Maven......