- 1、本文档共10页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
nexus构建maven仓库总结(Nexus builds Maven warehouse summary)
nexus构建maven仓库总结(Nexus builds Maven warehouse summary)
I. software installation
1, JDK, maven, Tomcat (server is used to provide LAN, Maven warehouse service), nexus-webapp-XXX.war (warehouse management tool on server)
Two, the basic configuration
JDK sets JAVA_HOME and adds%JAVA_HOME%\bin to path;
Maven sets MAVEN_HOME and adds%MAVEN_HOME%\bin to path;
Deploy nexus to the server. The default user name and password is: admin admin123;
Three, association configuration
Maven configuration file: $MAVEN_HOME\conf\setttings.xml
1, set the local warehouse storage address: localRepositoryD:\apache-maven-3.0\myrepo/localRepository
2, settings are not directly remote download: offlinetrue/offline
3, set up first download from lan:
Login server user name password (note that ID is the same as below):
server
idcentral/id
usernameadmin/username
passwordadmin123/password
/server
Set the server address (if the LAN server does not have the necessary components to download it from the remote server):
profile
iddev/id
repositories
repository
idcentral/id
namemaven central/name
url22:8080/nexus/content/groups/public//url
releases
enabledtrue/enabled
/releases
snapshots
enabledtrue/enabled
/snapshots
/repository
/repositories
pluginRepositories
pluginRepository
idcentral/id
namemaven central/name
url22:8080/nexus/content/groups/public//url
releases
enabledtrue/enabled
/releases
snapshots
enabledtrue/enabled
/snapshots
/pluginRepository
/pluginRepositories
/profile
Activate the configuration with dev ID (if the configuration is not activated, the LAN warehouse is invalid):
activeProfiles
activeProfiledev/activeProfile
/activeProfiles
Four. Create, build, and deploy the process:
1, create project folder PSS
2. Generate the jar type module of pss-core (specify the group identity and component ID that generated the build): MVN, archetype:create, -DgroupId=com.
pubertersoft.pss.core - dartifactid = PSS的核心
生成PSS的Web的战争类型模块(特殊一点,需要指定需要的构建工具- darchetypeartifactid):MVN原型:创造dgroupid = com.pubert
您可能关注的文档
- 土楼(Tulou).doc
- 土豆的营养价值(The nutritional value of potatoes).doc
- 圣典(Canon).doc
- 圣心慈悲(The sacred heart of compassion).doc
- 土豆预防高血压海星之谜告诉你那些你不知道的养生食物(Potatoes prevent the mystery of high blood pressure starfish, telling you what you don't know about health foods).doc
- 圣斗士144人出招表(Saint Seiya 144 shift table).doc
- 图放大代码(Figure enlarge code).doc
- 在 word 中如何输入分数(How do I enter a fraction in word).doc
- 在cad中如何对三维体渲染(How to render 3D body in CAD).doc
- 在pocket pc的today界面上的任务栏加入你的应用程序图标(Add taskbar to your application icon on the taskbar at the pocket PC today interface).doc
最近下载
- 2024年中级社工法规四色讲义-完整版全189页 .pdf VIP
- 17K408:散热器选用与管道安装.docx VIP
- 2025年湖北省武汉市高考物理四调试卷+答案解析(附后) .pdf VIP
- 合信 COTRUST科创思CTSC-200系列用户手册V1.40.pdf
- 2012湖南公务员考试-公共基础知识.doc VIP
- 二年级语文教师家长会专用.ppt
- 杭州名鑫双氧水有限公司每年10万吨(折27.5%)过氧化氢技术改造项目可行性研究报告.doc
- DB14Z 1-2025 高速公路智慧服务区建设指南.docx
- [城市轨道交通地下段列车运行引起的住宅室内振动与结构噪声限值及测量方法上海市.doc VIP
- SR变更管理程序+变更全套表单 OK.doc
文档评论(0)