Maven Configuration for Spring Integration
Dependencies
Add the following within the <dependencies> section of your POM:
<dependency>
<groupId>org.springframework.integration</groupId>
<artifactId>spring-integration-core</artifactId>
<version>2.2.3.RELEASE</version>
</dependency>
That will make the "spring-integration-core" module available to your project (the "core" includes the Messaging API and Enterprise Integration Patterns support). If you want to use any of the adapters or support for XML, Groovy, and/or Spring Security, you can instead add one or more of the following as the "artifactId" value:
- spring-integration-event
- spring-integration-feed
- spring-integration-file
- spring-integration-ftp
- spring-integration-groovy
- spring-integration-http
- spring-integration-ip
- spring-integration-jdbc
- spring-integration-jms
- spring-integration-jmx
- spring-integration-mail
- spring-integration-rmi
- spring-integration-security
- spring-integration-sftp
- spring-integration-stream
- spring-integration-test
- spring-integration-twitter
- spring-integration-ws
- spring-integration-xml
- spring-integration-xmpp
NOTE: Any of the modules listed above will bring the "core" module in as a transitive dependency, so you do not need to include it in the POM if you are using at least one from that list. Also, some…