Spring Batch Admin ...构建1.3.0 RELEASE的问题

时间:2015-01-02 21:08:23

标签: spring maven spring-batch spring-batch-admin

我提取了最新的Spring Batch Admin-1.3.0-RELEASE,并尝试构建和部署。在eclipse中我导入了Maven Projects。我尝试使用maven进行构建,除非我从pom.xml文件中删除这些行,否则它将失败。

        <plugin>
            <groupId>com.springsource.bundlor</groupId>
            <artifactId>com.springsource.bundlor.maven</artifactId>
        </plugin>

或者我收到错误

[ERROR] Failed to execute goal com.springsource.bundlor:com.springsource.bundlor.maven:1.0.0.RELEASE:bundlor (bundlor-transform) on project spring-batch-admin-resources: Execution bundlor-transform of goal com.springsource.bundlor:com.springsource.bundlor.maven:1.0.0.RELEASE:bundlor failed: Plugin com.springsource.bundlor:com.springsource.bundlor.maven:1.0.0.RELEASE or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.objectweb.asm:com.springsource.org.objectweb.asm.tree:jar:3.1.0, org.objectweb.asm:com.springsource.org.objectweb.asm.commons:jar:3.1.0, org.objectweb.asm:com.springsource.org.objectweb.asm:jar:3.1.0: Could not find artifact org.objectweb.asm:com.springsource.org.objectweb.asm.tree:jar:3.1.0 in internal-repository (http://nexus-server:8082/nexus/content/groups/released) -> [Help 1]

1 个答案:

答案 0 :(得分:0)

您必须在pom.xml中添加spring存储库,以便在查找依赖项as mentioned here

时告诉maven查看它们