This module can be used in several different ways depending on your needs and requirements. The following sections details how to use and install this module under different scenarios / environments.
Download the connector from the MuleForge and place the resulting ZIP file in /plugins directory of the Mule installation folder. For more information about how the Mule Plugin System works see this link.
To make the module available to a Mavenized Mule application, first add the following repositories to your POM:
<repositories> <repository> <id>${project.distributionManagement.repository.id}</id> <name>${project.distributionManagement.repository.name}</name> <url>${project.distributionManagement.repository.url}</url> <layout>default</layout> </repository> <repository> <id>${project.distributionManagement.snapshotRepository.id}</id> <name>${project.distributionManagement.snapshotRepository.name}</name> <url>${project.distributionManagement.snapshotRepository.url}</url> <layout>default</layout> </repository> </repositories>Then add the module as a dependency to your project. This can be done by adding the following under the dependencies element your POM:
<dependency> <groupId>com.wsl.modules</groupId> <artifactId>stripe-connector</artifactId> <version>RELEASE</version> </dependency>or if you want to be on the bleeding edge
<dependency> <groupId>com.wsl.modules</groupId> <artifactId>stripe-connector</artifactId> <version>LATEST</version> </dependency>If you plan to use this module inside a Mule application, you need add it to the packaging process. That way the final ZIP file which will contain your flows and Java code will also contain this module and its dependencies. Add an special inclusion to the configuration of the Mule Maven plugin for this module as follows:
<plugin> <groupId>org.mule.tools</groupId> <artifactId>maven-mule-plugin</artifactId> <extensions>true</extensions> <configuration> <excludeMuleDependencies>false</excludeMuleDependencies> <inclusions> <inclusion> <groupId>com.wsl.modules</groupId> <artifactId>stripe-connector</artifactId> </inclusion> </inclusions> </configuration> </plugin>