欢迎来到天天文库
浏览记录
ID:11929985
大小:30.50 KB
页数:10页
时间:2018-07-15
《nexus构建maven仓库总结(nexus builds maven warehouse summary)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、nexus构建maven仓库总结(NexusbuildsMavenwarehousesummary)I.softwareinstallation1,JDK,maven,Tomcat(serverisusedtoprovideLAN,Mavenwarehouseservice),nexus-webapp-XXX.war(warehousemanagementtoolonserver)Two,thebasicconfigurationJDKsetsJAVA_HOMEandadds%JAVA_HOME%bintopath;MavensetsMAVEN_HOMEandadds%MAVEN_
2、HOME%bintopath;Deploynexustotheserver.Thedefaultusernameandpasswordis:adminadmin123;Three,associationconfigurationMavenconfigurationfile:$MAVEN_HOMEconfsetttings.xml1,setthelocalwarehousestorageaddress:D:apache-maven-3.0myrepo2,settingsarenotdirectlyremot
3、edownload:true3,setupfirstdownloadfromlan:Loginserverusernamepassword(notethatIDisthesameasbelow):centraladminadmin123Settheserveraddress(iftheLANserverdoesnothavethenecessarycomponentstodownloaditfromtheremo
4、teserver):devcentralmavencentralhttp://10.85.164.222:8080/nexus/content/groups/public/truetrue5、ories>centralmavencentralhttp://10.85.164.222:8080/nexus/content/groups/public/truetrueActivatetheconfigurationw
5、ories>centralmavencentralhttp://10.85.164.222:8080/nexus/content/groups/public/truetrue
6、ithdevID(iftheconfigurationisnotactivated,theLANwarehouseisinvalid):devFour.Create,build,anddeploytheprocess:1,createprojectfolderPSS2.Generatethejartypemoduleofpss-core(specifythegroupidentityandcomponentIDthatgeneratedthebuild):M
7、VN,archetype:create,-DgroupId=com.pubertersoft.pss.core-dartifactid=PSS的核心生成PSS的Web的战争类型模块(特殊一点,需要指定需要的构建工具-darchetypeartifactid):MVN原型:创造dgroupid=com.pubertersoft.pss.web-dartifactid=PSS网络dpackagename=com.pubertersoft.pss.web-dar
此文档下载收益归作者所有