Federicos-MacBook-Pro:myproject federico$ mvn clean install
Packaging Mule Extensions
The DevKit packages extensions using the Mule 3.2 way: a self-containing zip file with all the dependencies. Building and packaging connectors is as simple as running:
If you get an error because the documentation is incomplete but that is ok to you, you can skip the documentation check as follows:
Federicos-MacBook-Pro:myproject federico$ mvn clean install -Ddevkit.javadoc.check.skip
Using connectors in Mule applications
Follow these steps to use a Cloud Connector within a Mule application.
-
Add a Maven dependency for the Cloud Connector:
<dependency>
<groupId>my.group.id</groupId>
<artifactId>my.artifact.id</artifactId>
<version>my.version</version>
</dependency>
-
In the <build> section of the pom.xml look for the maven-mule-plugin and add the following configuration:
<plugin>
<groupId>org.mule.tools</groupId>
<artifactId>maven-mule-plugin</artifactId>
<version>${mule.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<inclusions>
<inclusion>
<groupId>my.group.id</groupId>
<artifactId>my.artifact.id</artifactId>
</inclusion>
</inclusions>
</configuration>
</plugin>