标签:style nexus lips content 技术分享 xsd alt 更改 index
当前使用eclipse自带的maven碰到两个蛋疼的问题:
因此为了解决这个问题就介绍两个eclipse配置:maven本地路径配置和maven外部路径配置(改为阿里的仓库,享受顺香丝滑)。

<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <localRepository>C:\Users\Ocean\.m2\repository</localRepository>
  <mirrors>
  <mirror>
        <id>nexus-aliyun</id>
        <mirrorOf>*</mirrorOf>
        <name>Nexus aliyun</name>
        <url>http://maven.aliyun.com/nexus/content/groups/public</url>
    </mirror> 
  </mirrors>
</settings>
<localRepository>C:\Users\Ocean\.m2\repository</localRepository>
 <mirror>
        <id>nexus-aliyun</id>
        <mirrorOf>*</mirrorOf>
        <name>Nexus aliyun</name>
        <url>http://maven.aliyun.com/nexus/content/groups/public</url>
    </mirror> 

以上就是如果配置eclipse自带maven的本地路径和远程仓库。
标签:style nexus lips content 技术分享 xsd alt 更改 index
原文地址:http://www.cnblogs.com/mvilplss/p/6102472.html