jar包上传maven私服出错Cannot deploy artifact from the local repository
来源:互联网 发布:cocos2d js 教程 mac 编辑:程序博客网 时间:2024/06/13 17:02
mvn deploy:deploy-file -Dfile=C:/Users/zhangzubin/Desktop/EisAPIForHA-2.1.jar -DgroupId=cn.evun -DartifactId=EisAPIForHA -Dversion=2.0 -Durl=http://218.75.72.114:8081/nexus/content/repositories/releases -DrepositoryId=nexus-release
关于安装第三方jar到Artifact, 从Artifact的官方上看到其实有很多种方法(请看这里),最简单的就是从Archiva的web 页面上找到Upload Artifact这个功能. 我使用的方法是maven的 deploy:deploy-file 命令,这种方法时要注意的是如果你要安装的jar和pom是位于本地repository的目录下,这个命令就会出错 (Cannot deploy artifact from the local repository…), 解决方法:将要安装的jar和pom copy到其它目录再安装,只要不在本地仓库目录都应该可以.
关于安装第三方jar到Artifact, 从Artifact的官方上看到其实有很多种方法(请看这里),最简单的就是从Archiva的web 页面上找到Upload Artifact这个功能. 我使用的方法是maven的 deploy:deploy-file 命令,这种方法时要注意的是如果你要安装的jar和pom是位于本地repository的目录下,这个命令就会出错 (Cannot deploy artifact from the local repository…), 解决方法:将要安装的jar和pom copy到其它目录再安装,只要不在本地仓库目录都应该可以.
1 0
- jar包上传maven私服出错Cannot deploy artifact from the local repository
- Maven deploy向私有repository中上传artifact, 共项目组内部使用依赖包
- 将本地jar包导入到maven local repository
- [Maven]install the jar file into local repository manualy
- maven missing artifact 但是 jar 存在 repository
- Maven使用deploy上传jar包到远程库
- Maven使用deploy上传jar包到远程库
- maven上传私有jar包到本地私服仓库,私服使用nexus repository manager 3.3
- Maven: 'org.apache.maven.artifact.repository.ArtifactRepository' cannot be instantiated
- maven jar包上传私服
- Maven私服上传 jar包
- maven: install jar file in local repository
- maven install jar file to local repository
- Maven:the way to add third-party jar-package to Local Maven Repository for using conveniently
- maven添加非官方jar包到本地库(maven: install an external jar into local maven repository)
- maven添加非官方jar包到本地库(maven: install an external jar into local maven repository)
- maven添加非官方jar包到本地库(maven: install an external jar into local maven repository)
- maven添加非官方jar包到本地库(maven: install an external jar into local maven repository
- Python练习实例11
- Kernel 中断分析六——softirq
- C# 给Excel添加边框,获取有效行数,然后添加边框
- linux c++ 高并发tcp服务器架构
- resource is out of sync with the file system .
- jar包上传maven私服出错Cannot deploy artifact from the local repository
- python实现希尔排序
- VB6.0 写的日历类模块
- 程序性能优化之编译器篇(Racoon)
- git删除文件夹/文件(不删除本地文件)
- 《首席医官》感想
- 最浓缩的基于TCP协议的网络通信详解
- servlet、报表制作及Java反射杂记
- React-native学习