Deploy standalone jar to nexus
2017-02-22 00:00
211 查看
摘要: Deploy standalone jar to nexus
再升级Nexus版本(OSS 3.2.0-01)后,Maven的包管理,通过WEB-UI操作入口被取消,所以需要通过Maven命令来上传第三方的依赖。
参数说明:
groupId : 依赖所属group
artifactId : 依赖名称
version : 依赖版本
packaging : 依赖包类型
file : 依赖文件
repositoryId: 在setting中配置的server节点的ID
url : 仓库的地址
settings.xml配置:
PS:https://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html
再升级Nexus版本(OSS 3.2.0-01)后,Maven的包管理,通过WEB-UI操作入口被取消,所以需要通过Maven命令来上传第三方的依赖。
mvn deploy:deploy-file -DgroupId=<group-id> \ -DartifactId=<artifact-id> \ -Dversion=<version> \ -Dpackaging=<type-of-packaging> \ -Dfile=<path-to-file> \ -DrepositoryId=<id-to-map-on-server-section-of-settings.xml> \ -Durl=<url-of-the-repository-to-deploy>
参数说明:
groupId : 依赖所属group
artifactId : 依赖名称
version : 依赖版本
packaging : 依赖包类型
file : 依赖文件
repositoryId: 在setting中配置的server节点的ID
url : 仓库的地址
settings.xml配置:
<servers> <server> <id>geeks-hosted</id> <username>admin</username> <password>admin</password> </server> </servers>
PS:https://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html
相关文章推荐
- 运行selenium-server-standalone.jar时,Firefox无法在***找到该文件
- eclipse 调试nodejs 发生Failed to connect to standalone V8 VM错误的解决方案
- how to use a SQLite database in a standalone program with an HTML interface and VBScript as the programming language
- maven deploy to Nexus
- Maven:利用mvn deploy命令将jar包上传到nexus服务器
- Moving property files outside jar in spring standalone application
- How to Find the Windows Live Messenger Standalone Installer
- selenium-server-standalone.jar无法启动
- cxf .jar 包 冲突 setXmlStandalone(Z)V
- Selenium::WebDriver::Error::WebDriverError:Unable to find standalone executable解决办法
- Liferay portlet or standalone app loads/overrides external spring configuration file of a jar
- CCNA(Stand-ALONE)Lab1-Connecting to a Router
- CCNA(Stand-ALONE)Lab 22-Introduction to the Switch
- spring boot + embed tomcat + standalone jar的内存泄露问题
- Failed to connect to Coordinator: All builds will run in standalone mode.
- CCNA(Stand-ALONE)Lab 23-Introduction to Basic Switch Commands
- 大数据平台搭建之deploy components to nexus
- Maven-008-Nexus 私服部署发布报错 Failed to deploy artifacts: Failed to transfer file: ... Return code is: 4X
- CCNA(Stand-ALONE)Lab 8-Introduction to Interface configuration
- spark远程调试代码报错 StandaloneAppClient$ClientEndpoint: Failed to connect to master 192.168.126.128:7077