在eclipse下使用maven的配置

1
2
3
4
5
6
7
8
public class Shifty {
    public static void main(String[] args) {
        int i = 0;
        while (-1 << i != 0)
            i++;
        System.out.println(i);
    }
}
前提:
已安装jdk、maven及m2e.

这里只说明maven安装后对eclipse的配置。

1. 禁用自动更新


2. 使用自己安装的maven,不使用m2e自带的maven


3. 调整用户设置,采用自己安装的maven的设置。同时调整本地资源库位置。








原文地址:https://www.cnblogs.com/amunote/p/3957201.html