maven发布项目的snapshot到nexus
发布时间:2020-12-14 15:29:16 所属栏目:百科 来源:网络整理
导读:1、配置发布地址信息 repositories repository id nexus / name Local Repository url http://192.168.8.23:8081/nexus/content/groups/public/ offical Maven Official Repository http://repo1.maven.org/maven2 snapshots enabled false distributionMana
1、配置发布地址信息 <repositories> repository> id>nexus</name>Local Repositoryurl>http://192.168.8.23:8081/nexus/content/groups/public/>offical>Maven Official Repository>http://repo1.maven.org/maven2snapshots> enabled>false> > distributionManagement>shj-releases>Internal Releases>http://192.168.8.23:8081/nexus/content/repositories/shj-releases/snapshotRepository>shj-snapshots>Internal Snapshots>http://192.168.8.23:8081/nexus/content/repositories/shj-snapshots/> 2、设置settings.xml servers> server> username>adminpassword>admin123> > > > > > ? (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |