Contact Us 1-800-596-4880

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:

Federicos-MacBook-Pro:myproject federico$ mvn clean install

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.

  1. Add a Maven dependency for the Cloud Connector:

<dependency>
            <groupId>my.group.id</groupId>
            <artifactId>my.artifact.id</artifactId>
            <version>my.version</version>
        </dependency>
  1. 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>