Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.eliadil:mule-maven-plugin:mule-maven-plugin-1.3.0'
}
dependencies {
implementation("com.github.eliadil:mule-maven-plugin:mule-maven-plugin-1.3.0")
}
<dependency>
<groupId>com.github.eliadil</groupId>
<artifactId>mule-maven-plugin</artifactId>
<version>mule-maven-plugin-1.3.0</version>
</dependency>
libraryDependencies += "com.github.eliadil" % "mule-maven-plugin" % "mule-maven-plugin-1.3.0"
:dependencies [[com.github.eliadil/mule-maven-plugin "mule-maven-plugin-1.3.0"]]
#Maven Mule Plugin#
This project was forked from https://github.com/NicholasAStuart/Maven-Mule-REST-Plugin. Among many changes, the main one is that I have added support for Mule Domain deployment through Mule Agent (https://docs.mulesoft.com/mule-agent/v/1.4.0/).
This is a personal project and is not affiliated with MuleSoft or the maven mule plugin in any way.
Example:
<project>
...
<build>
<plugins>
<plugin>
<groupId>com.github.pedrong</groupId>
<artifactId>mule-maven-plugin</artifactId>
<version>1.3.0-SNAPSHOT</version>
</plugin>
</plugins>
</build>
...
</project>
There is only one goal, deploy. To call the plugin, do the following
mule:deploy
This goal will
In order to post to the Mule Repository, you need only these permissions: