maven 下载不到jar包时候,更改阿里源

maven 源 下载太慢,该国内的阿里源会快一些

    <repositories>
        <repository>
            <id>alimaven</id>
            <name>aliyun maven</name>
            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
            <layout>default</layout>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
    </repositories>

  

经常有mssql 的jar包下载不到,

mssql

仓库地址:

        <dependency>
            <groupId>com.microsoft.sqlserver</groupId>
            <artifactId>sqljdbc4</artifactId>
            <version>4.0</version>
        </dependency>

  

mysql仓库地址:

 <dependency>
            <groupId>com.microsoft.sqlserver</groupId>
            <artifactId>mssql-jdbc</artifactId>
            <scope>runtime</scope>
        </dependency>

  

猜你喜欢

转载自www.cnblogs.com/qianjinyan/p/9548455.html