首先,我已经安装maven 3
到 /path/to/maven 并在下面配置了 /path/to/maven/conf/setting.xml,
<localRepository>/path/to/repository</localRepository>
然后m2eclipse
在 Eclipse 3.7.2 for Java EE 上安装并在下面进行配置,
preferences->maven->
installation->"/path/to/maven"
userSettings->"/path/to/maven/conf/setting.xml"
localRepository->"/path/to/repository"
通过 完成索引构建后,在下面的 /path/to/repository 和 /path/to/home/.m2/repository 下都生成m2eclipse
了一个重复的目录,.cache
.cache/
└── [4.0K] m2e
└── [4.0K] 1.2.0
└── ....
├── [ 64M] nexus-maven-repository-index.gz
└── [1.1K] nexus-maven-repository-index.properties
什么可能导致索引重复?这只是正常的吗?
mvn CLI
如果我同时使用两者并m2eclispe
交替使用(不是并行),对上面的索引会有什么副作用?