For M2 you need to use the older S3 milestone repo as described here http://blog.springsource.com/main/20...en-artifacts-2
Below is an example pom using M2 note that the artifact ids are different from more recent milestones.
You can browse the repo here http://s3browse.com/explore/maven.sp...egration-core/
Code:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.springsource</groupId>
<artifactId>maven-m2-test</artifactId>
<packaging>jar</packaging>
<version>0.0.1-SNAPSHOT</version>
<name>maven-m2-test</name>
<url>http://maven.apache.org</url>
<properties>
<springIntegrationVersion>1.0.0.m2</springIntegrationVersion>
</properties>
<repositories>
<repository>
<id>spring-snapshot</id>
<name>Spring Portfolio Snapshot Repository</name>
<url>http://s3.amazonaws.com/maven.springframework.org/milestone</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.springframework.integration</groupId>
<artifactId>spring-integration-core</artifactId>
<version>${springIntegrationVersion}</version>
</dependency>
</dependencies>
</project>