【发布时间】:2015-03-19 10:28:41
【问题描述】:
我正在尝试使用命令提示符将 Mule 项目部署到 cloudhub。我收到以下错误:
" Illegal path attribute "/nexus". Path of origin: "/snapshots/org/mule/modules/mule-module- cloudhub/3.0.0-SNAPSHOT/mule-module-cloudhub-3.0.0-20140909.225040-1.pom"
我试图删除 nexus 的存储库,但我得到了同样的错误。还提到了网址
- Connection to http://dev.ee.mulesource.com refused: Operation timed out
- Why do Mule Studio 3.4 Builds with Maven Fail or Hangs Indefinitely?
但是,当我尝试使用 anypoint GUI 进行部署时,它正在部署在 cloudhub 中。控制台出现问题。
请找到我的 Nexus 的 pom 存储库
<repository>
<id>mule-ee-releases</id>
<name>Mule Release Repository</name>
<url>https://repository-master.mulesoft.org/nexus/content/repositories/ci-releases/</url>
</repository>
</repositories>
设置.xml
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
<pluginGroups>
<pluginGroup>org.mule.tools</pluginGroup>
</pluginGroups>
<servers>
<server>
<id>cloudhub.io</id>
<username>my_UserName</username>
<password>PWD</password>
</server>
</servers>
</settings>
【问题讨论】:
-
你在混合东西。 Maven 服务器用于配置 Maven 存储库的凭据,在这种情况下,您使用的是 MuleSoft 私有存储库。 CloudHub 是一个 IPaaS 提供者,您不需要使用 maven-deploy-plugin 向其部署应用程序。
标签: mule mule-studio cloudhub