0

我提取了最新的 Spring Batch Admin-1.3.0-RELEASE 并尝试构建和部署。在 Eclipse 中,我将其作为 Maven 项目导入。我尝试使用 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]
4

1 回答 1

0

您必须在 pom.xml 中添加 spring 存储库,以告诉 maven 在查找此处提到的依赖项时也要查看那里

于 2015-01-02T21:48:55.410 回答