如何连接mule存储库?

时间:2017-09-21 09:03:15

标签: maven repository mule

当我运行我的mule界面时,我正在下面。

[ERROR] Failed to execute goal on project apl-integration: Could not resolve dependencies for project com.katalystm:apl-integration:mule:1.0.0-PRE: Failed to collect dependencies at com.mulesoft.muleesb:mule-core-ee:jar:3.7.0: Failed to read artifact descriptor for com.mulesoft.muleesb:mule-core-ee:jar:3.7.0:

Could not transfer artifact com.mulesoft.muleesb:mule-core-ee:pom:3.7.0 from/to mulesoft-releases (http://repository.mulesoft.org/releases/): Connect to repository.mulesoft.org:80 [repository.mulesoft.org/52.7.200.18] failed: Connection timed out: connect -> [Help 1]

似乎无法连接http://repository.mulesoft.org/releases/,我甚至在我的POM文件中添加了存储库。

<repositories>
          <repository>
            <id>Central</id>
            <name>Central</name>
            <url>http://repo1.maven.org/maven2/</url>
            <layout>default</layout>
        </repository>
        <repository>
            <id>mulesoft-releases</id>
            <name>MuleSoft Releases Repository</name>
            <url>http://repository.mulesoft.org/releases/</url>
            <layout>default</layout>
        </repository>
        <repository>
           <id>mulesoft-snapshots</id>
           <name>MuleSoft Snapshots Repository</name>
           <url>http://repository.mulesoft.org/snapshots/</url>
           <layout>default</layout>
       </repository>
    </repositories>

1 个答案:

答案 0 :(得分:1)

请添加此存储库

    <repository>
        <id>codehaus-mule-repo</id>
        <name>codehaus-mule-repo</name>
        <url>
         https://repository-master.mulesoft.org/nexus/content/groups/public/
        </url>
        <layout>default</layout>
    </repository>