mule esb 配置maven

已安装AnypointStudio

已在本地安装AnypointStudio

  1. 安装社区版
  • Help > Install New Software> Mule ESB Server Runtime 3.9.0 CE
  1. Maven Tools for Mule工具安装
  • Help > Install New Software> Maven Tools for Mule
  1. 配置eclipse
setting.xml

 <profiles>
        <profile>
        <id>mule-extra-repos</id>
        <activation>
            <activeByDefault>true</activeByDefault>
        </activation>
        <repositories>
            <repository>
                <id>mule-public</id>
                <url> https://repository.mulesoft.org/nexus/content/repositories/public </url>
            </repository>
        </repositories>
        <pluginRepositories>
            <pluginRepository>
                <id>mule-public</id>
                <url> https://repository.mulesoft.org/nexus/content/repositories/public </url>
            </pluginRepository>
        </pluginRepositories>
     </profile>
    </profiles>

  1. 项目右键 Mule 添加依赖,添加到本地仓库、更新依赖等
  2. 项目右键 RunAs

开始mule项目

  1. File -> NEW -> Mule Project




参考文档

Step-by-step-guide-to-using-mule-esb
using-maven-with-mule
maven-tools-for-mule-esb

posted on 2022-01-09 15:18  何苦->  阅读(509)  评论(0编辑  收藏  举报

导航