<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    java要多思考下

    成長^_^

       ::  :: 新隨筆 ::  ::  :: 管理 ::
      33 隨筆 :: 0 文章 :: 19 評論 :: 0 Trackbacks
    1、安裝svn插件
    2、安裝maven插件
    3、編寫settings.xml文件
     1 <mirrors>
     2      
     3       <mirror>
     4           <id>aaa</id>
     5           <mirrorOf>*</mirrorOf>
     6           <url>http://192.168.1.5:8080/nexus/content/groups/public/</url>
     7     </mirror>
     8   </mirrors>
     9   
    10   <profiles>  
    11     <profile>   
    12       <id>nexus</id>   
    13       <repositories>   
    14         <repository>   
    15             <id>nexus</id>   
    16             <name>local private nexus</name>   
    17             <url>http://192.168.1.5:8080/nexus/content/repositories/releases/</url>   
    18             <releases><enabled>true</enabled></releases>   
    19             <snapshots><enabled>true</enabled></snapshots>   
    20         </repository>   
    21         <repository>   
    22             <id>nexus</id>   
    23             <name>local private nexus</name>   
    24             <url>http://192.168.1.5:8080/nexus/content/repositories/snapshots/</url>   
    25             <releases><enabled>true</enabled></releases>   
    26             <snapshots><enabled>true</enabled></snapshots>   
    27         </repository>   
    28       </repositories>   
    29       <pluginRepositories>   
    30         <pluginRepository>   
    31             <id>nexus</id>   
    32             <name>local private nexus</name>   
    33             <url>http://192.168.1.5:8080/nexus/content/groups/public</url>   
    34             <releases><enabled>true</enabled></releases>   
    35             <snapshots><enabled>false</enabled></snapshots>   
    36         </pluginRepository>   
    37        </pluginRepositories>   
    38     </profile> 
    4、在eclipse->preferences-->maven-->user settings中將settings文件的完整路徑配置上去
    5、配置好svn資源庫位置
    6、選擇new project--->maven--->checkout maven projects from scm,此時由于沒有配置任何scm連接器,所以無法使用,因此先點選m2e marketplace選擇安裝連接器,在彈出的列表中選擇m2e-subversion,繼續按提示安裝至成功
    7、選擇new project--->maven--->checkout maven projects from scm,scm url中選擇svn,然后在資源庫位置中選擇有pom.xml文件的maven項目,直接check下來即可。
    ------------------------------------------------------------------------------------------------------------
    遇到的問題:
    1、pom.xml文件報錯:根據錯誤提示進行修正,包括語法錯誤,還有容易忽略的錯誤就是settings.xml文件的配置錯誤
    2、項目的依賴jar文件缺失:首先要確定settings.xml文件配置是正確的,其次pom.xml配置的相應jar dependency正確
    ------------------------------------------------------------------------------------------------------------
    8、發布maven項目到中央庫:選中項目名,右鍵run as  --> maven install 即可,看控制臺信息進行調試
    9、更新maven項目依賴:選中項目名,右鍵maven---> update dependency即可


    posted on 2014-08-15 13:57 java要多思考下 閱讀(1847) 評論(0)  編輯  收藏 所屬分類: 研發管理
    主站蜘蛛池模板: 热久久这里是精品6免费观看| 综合一区自拍亚洲综合图区| a级毛片免费全部播放| 久久久久亚洲AV无码专区桃色| 黄色网址大全免费| 亚洲国产人成中文幕一级二级| 四虎影视永久在线精品免费| 亚洲国产一区明星换脸| 成在线人视频免费视频| 亚洲AV无码专区亚洲AV伊甸园 | 亚洲永久中文字幕在线| 免费黄色福利视频| 亚洲综合色婷婷在线观看| 在线免费观看中文字幕| 曰批免费视频播放在线看片二| 国产自偷亚洲精品页65页| 免费视频精品一区二区三区| 亚洲第一成年人网站| 女人被弄到高潮的免费视频| 免费观看又污又黄在线观看| 亚洲成A人片777777| 免免费国产AAAAA片| 立即播放免费毛片一级| 亚洲乱码国产乱码精品精| 亚洲免费视频网址| 麻豆亚洲AV成人无码久久精品 | 啦啦啦高清视频在线观看免费| 精品国产日韩亚洲一区在线| 久久亚洲国产精品一区二区| 免费观看黄色的网站| 亚洲av无码日韩av无码网站冲| 国产亚洲日韩一区二区三区| 亚洲性线免费观看视频成熟| 无码精品人妻一区二区三区免费| 亚洲AV天天做在线观看| 免费看少妇作爱视频| 久久国产精品免费看| 麻豆亚洲AV成人无码久久精品| 亚洲一级二级三级不卡| 免费夜色污私人影院在线观看| 免费无遮挡无码永久视频 |