Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

7/8/24, 11:46 AM GitHub - mulesoft/mule-maven-plugin: Maven plugins for Mule Runtime

mulesoft / mule-maven-plugin Public

Maven plugins for Mule Runtime

34 stars 46 forks Branches Tags Activity

Star Notifications

Code Issues 25 Pull requests 30 Actions Wiki Security Insights

136 Branches 81 Tags Go to file Go to file Code

aguozden W-15903074: upgrade MMP version to 4.3.0-SNAPSHOT (#838)

e9a0117 · last month

mule-artifact-it W-15903074: upgrade MMP v… last month

mule-artifact-tools-it/m… W-14039040 Change License … 10 months ago

mule-classloader-model W-15903074: upgrade MMP v… last month

mule-deployer W-15903074: upgrade MMP v… last month

mule-extension-model-… W-15903074: upgrade MMP v… last month

mule-maven-plugin W-15903074: upgrade MMP v… last month

mule-packager W-15903074: upgrade MMP v… last month

.gitignore MMP-395: mule-artifact.json n… 6 years ago

CODEOWNERS add codeowners file (#583) 2 years ago

Jenkinsfile [W-14853621] Internal - 0038… 6 months ago

MMP-Release.jenkinsfile W-14996640: Improve release … 4 months ago

README.adoc Update README.adoc 6 years ago

build.jenkinsfile W-14996640: Improve release … 4 months ago

formatter.xml MMP-86 Add formatter plugin… 7 years ago

integrationTests-Windo… W-11727183:Updating windo… 2 years ago

Add jenkinsfile2 6 years ago


https://github.com/mulesoft/mule-maven-plugin 1/4
7/8/24, 11:46 AM GitHub - mulesoft/mule-maven-plugin: Maven plugins for Mule Runtime

integrationTests.jenkins…
integrationTestsJDK11.j… MMP-520 Fix deployment issu… 5 years ago

pom.xml W-15903074: upgrade MMP v… last month

renovate.json Create renovate.json (#376) 4 years ago

README

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
https://github.com/mulesoft/mule-maven-plugin 2/4
7/8/24, 11:46 AM GitHub - mulesoft/mule-maven-plugin: Maven plugins for Mule Runtime

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:
https://github.com/mulesoft/mule-maven-plugin 3/4
7/8/24, 11:46 AM GitHub - mulesoft/mule-maven-plugin: Maven plugins for Mule Runtime

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

Releases

81 tags

Packages

No packages published

Contributors 55

+ 41 contributors

Languages

Java 100.0%

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

You might also like