• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

mulesoft/mule-maven-plugin: Maven plugins for Mule Runtime

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

mulesoft/mule-maven-plugin

开源软件地址(OpenSource Url):

https://github.com/mulesoft/mule-maven-plugin

开源编程语言(OpenSource Language):

Java 100.0%

开源软件介绍(OpenSource Introduction):

Mule Artifact Tools

The project contains all the modules required to create Mule artifacts and to deploy them to the different environments of the Anypoint Platform.

Modules

  • mule-classloader-model

  • mule-packager

  • mule-deployer

  • mule-maven-plugin

  • mule-artifact-it

mule-classloader-model

Contains the abstract model which describes the descriptor files used when generating a repository for heavy weight packages

mule-packager

Contains the Java API that allows you to create the different Mule artifacts:

  • mule-application

  • mule-policy

  • mule-domain

  • mule-domain-bundle

It also contains a set of validators to ensure that the artifact can be generated properly

mule-deployer

Contains the Java API that allows you to deploy the Mule artifacts to the different environments

mule-maven-plugin

Is the Maven Plugin that provides Maven integration. Through it you can package different Mule artifacts and deploy them to both Nexus Servers and the different Anypoint Environments.

mule-artifact-it

Contains the integration tests for the modules:

  • mule-packager

  • mule-deployer

  • mule-maven-plugin

Debugging

In case you run into problems while using the plugin and wants to try find the cause by yourself, you can easily debug the plugin using mvnDebug. These are the steps:

  • Clone this project;

  • In the project base folder, checkout to the tag that corresponds to the version of the mule project that you are building/deploying;

  • Then, run

mvn clean install
  • In your IDE, create a new remote debug configuration and set the port to 8000;

  • Run the command that failed and that you want to debug, but replace mvn by mvnDebug (check the tips session below);

  • Place a breakpoint in one of the mojos of the mule-maven-plugin module (that should be a good starting point);

  • Start debugging.

Tips:

To find the right tag, run

git tag -l
  • And then run

git checkout <tag_name>

Also, if the build failed when invoking (as an example)

mvn clean deploy -DmuleDeploy

You should debug by running

mvnDebug clean deploy -DmuleDeploy



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap