Add the following within the <dependencies> section of your POM:
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:
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 dependencies, such as Jackson for JSON mapping, are not pulled in as transitive dependencies so you will need to add these to your POM (this also applies if you are using other build systems such as gradle).
The artifacts are available via the Maven central repository
, but you can also add the SpringSource repository within the <repositories> section of your POM:
<name>Spring Framework Maven Release Repository</name>
If you want to use Milestone or Snapshot dependencies instead-of or in-addition-to the Release dependencies, then you can provide the following URLs, respectively: