Code Monkey home page Code Monkey logo

mule-maven-plugin's 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

mule-maven-plugin's People

Contributors

williampinho avatar damiansima avatar asequeira avatar lucianorm avatar aiannucci avatar gsfernandes avatar egrave avatar andresgregoire avatar facundopoblete avatar fernandothea avatar elrodro83 avatar fernandezlautaro avatar pablolagreca avatar jaatadiamulesoft avatar kip-mulesoft avatar pablokraan avatar marianomerlo avatar marianogonzalez avatar joshrosso avatar igua95 avatar aabdala avatar dnp1988 avatar diegostrubolini avatar balbifm avatar garodriguezlp avatar ldebello avatar manikmagar avatar mauriarroqui avatar ca-stefan-cordes avatar anosenzo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.