我正在尝试为 spring batch 2.1.6 构建示例应用程序。(即 spring-batch-2.1.6.RELEASE/samples/spring-batch-samples)使用 maven,但由于缺少插件而出现此错误:
[错误] 插件 com.springsource.bundlor:com.springsource.bundlor.maven:1.0.0.RELEASE 或其依赖项之一无法解析:未能找到 com.springsource.bundlor:com.springsource.bundlor.maven:http://repo1.maven.org/maven2中的jar:1.0.0.RELEASE被缓存在本地仓库中,直到 Central 的更新间隔已过或强制更新后才会重新尝试解析 ->
我可以设置另一个存储库来获取此插件吗?收到这个错误我有点惊讶,因为这是春季批次的最新发布版本。
这是下载时来自 pom 的存储库部分:
<repositories>
<repository>
<id>com.springsource.repository.bundles.external</id>
<name>SpringSource Enterprise Bundle Repository - SpringSource Bundle External</name>
<url>http://repository.springsource.com/maven/bundles/external</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>