java - Mule 3.5.0 与 Maven 失败

标签 java maven mule mule-studio mule-component

尝试使用 maven 运行 mule 时出现以下错误。

[错误] 无法在项目中间件服务上执行目标:无法解析项目 ch.koala:middleware-services:mule:1.0 的依赖项:无法在 org.mule.transports:mule-transport-vm 收集依赖项:jar:3.5.0 -> org.mule.modules:mule-module-xml:jar:3.5.0 -> net.java.dev.stax-utils:stax-utils:jar:20080702:无法读取 Artifact 描述符对于 net.java.dev.stax-utils:stax-utils:jar:20080702:无法将 Artifact net.java.dev.stax-utils:stax-utils:pom:20080702 从/到 codehaus ( http://repository.codehaus.org ):传输文件失败:http://repository.codehaus.org/net/java/dev/stax-utils/stax-utils/20080702/stax-utils-20080702.pom 。返回代码为: 410 ,ReasonPhrase:Gone。 -> [帮助1]

当我在 pom.xml 文件中添加了提供的标签时,为什么它还要下载 mule 模块依赖项。

解决办法是什么?

最佳答案

修改 Settings.xml 有效。 Here is the blog post about it

关于java - Mule 3.5.0 与 Maven 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31057684/

相关文章:

java - Maven原型(prototype):create-from-project does not include other language folder

exception - 为什么 Mule 回滚异常会传播到调用它的流?

web-services - 仅使用magento API设置商店是否可行?

java - 如何使用 Dataweave 删除括号或忽略来自 Scatter-Gather 的括号?

java - Neo4j OGM 和多个类似的类

java - Beans 在 NetBeans 中绑定(bind) JTable

java - 错误: type org. osgi.util.tracker.ServiceTracker不接受参数

java - Android 应用程序 - 带有相机应用程序的弹出菜单

java - 使用 hibernate 在运行时为 derby 数据库设置 bootPassword

maven - 在 App Engine Standard 上部署时无法生成 quickstart.xml