Upon updating to 3.0.4 the build fails with SpEL error code EL1004E when executing test method shouldFindSimpleAggregatorMethodWithArray(). Reverting for now, but SPR-7519 has been created for tracking what appears to be a minor SpEL regression. - template.mf files now declare range [3.0.3, 4.0.0) for all Spring dependencies - pom.xml files reverted to dependence on 3.0.3.RELEASE
356 lines
12 KiB
XML
356 lines
12 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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>org.springframework.integration.samples</groupId>
|
|
<artifactId>spring-integration-samples</artifactId>
|
|
<version>2.0.0.BUILD-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.test.failure.ignore>false</maven.test.failure.ignore>
|
|
<!-- versions for commonly-used dependencies -->
|
|
<cglib.version>2.2</cglib.version>
|
|
<commons-logging.version>1.1.1</commons-logging.version>
|
|
<junit.version>4.7</junit.version>
|
|
<log4j.version>1.2.12</log4j.version>
|
|
<hsqldb.version>1.8.0.10</hsqldb.version>
|
|
<org.aspectj.version>1.6.5</org.aspectj.version>
|
|
<org.easymock.version>2.3</org.easymock.version>
|
|
<org.eclipse.jdt.core.version>3.4.2.v_883_R34x</org.eclipse.jdt.core.version>
|
|
<org.mockito.version>1.8.4</org.mockito.version>
|
|
<org.hamcrest.version>1.1</org.hamcrest.version>
|
|
<org.slf4j.version>1.5.10</org.slf4j.version>
|
|
<org.springframework.version>3.0.3.RELEASE</org.springframework.version>
|
|
<org.springframework.security.version>2.0.5.RELEASE</org.springframework.security.version>
|
|
<org.springframework.ws.version>1.5.9</org.springframework.ws.version>
|
|
</properties>
|
|
<name>Spring Integration Samples</name>
|
|
<modules>
|
|
<module>cafe</module>
|
|
<module>errorhandling</module>
|
|
<module>filecopy</module>
|
|
<module>helloworld</module>
|
|
<module>jms</module>
|
|
<module>jmx</module>
|
|
<module>loan-broker</module>
|
|
<module>loanshark</module>
|
|
<module>multipart-http</module>
|
|
<module>oddeven</module>
|
|
<module>quote</module>
|
|
<module>ws-inbound-gateway</module>
|
|
<module>ws-outbound-gateway</module>
|
|
<module>xml</module>
|
|
</modules>
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/java</directory>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>**/*.java</exclude>
|
|
</excludes>
|
|
</resource>
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<testResources>
|
|
<testResource>
|
|
<directory>${project.basedir}/src/test/java</directory>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>**/*.java</exclude>
|
|
</excludes>
|
|
</testResource>
|
|
<testResource>
|
|
<directory>${project.basedir}/src/test/resources</directory>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>**/*.java</exclude>
|
|
</excludes>
|
|
</testResource>
|
|
</testResources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>1.5</source>
|
|
<target>1.5</target>
|
|
<compilerArgument>-Xlint:all</compilerArgument>
|
|
<showWarnings>true</showWarnings>
|
|
<showDeprecation>false</showDeprecation>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<useFile>false</useFile>
|
|
<includes>
|
|
<include>**/*Tests.java</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>**/Abstract*.java</exclude>
|
|
</excludes>
|
|
<junitArtifactName>junit:junit</junitArtifactName>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencyManagement>
|
|
<!--
|
|
inheritable <dependency> declarations for child poms. children still
|
|
must explicitly declare the groupId/artifactId of these dependencies
|
|
in order for them to show up on the classpath, but metadata like
|
|
<version> and <scope> are inherited, which cuts down on verbosity.
|
|
see
|
|
http://www.sonatype.com/books/mvnref-book/reference/pom-relationships-sect-dep-manage.html
|
|
-->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjrt</artifactId>
|
|
<version>${org.aspectj.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjweaver</artifactId>
|
|
<version>${org.aspectj.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aop</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aspects</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-expression</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context-support</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jms</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-orm</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-oxm</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-tx</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-web</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-file</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-stream</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.commons</groupId>
|
|
<artifactId>spring-commons-serializer</artifactId>
|
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
|
</dependency>
|
|
<!-- test-scoped dependencies -->
|
|
<dependency>
|
|
<!--
|
|
while cglib is not necessarily a 'test'-related dependency, it is
|
|
only used for testing purposes by child modules thus it's scope has
|
|
been generalized to 'test' here
|
|
-->
|
|
<groupId>cglib</groupId>
|
|
<artifactId>cglib-nodep</artifactId>
|
|
<version>${cglib.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.easymock</groupId>
|
|
<artifactId>easymock</artifactId>
|
|
<version>${org.easymock.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.easymock</groupId>
|
|
<artifactId>easymockclassextension</artifactId>
|
|
<version>${org.easymock.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-all</artifactId>
|
|
<version>${org.mockito.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-all</artifactId>
|
|
<version>${org.hamcrest.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<version>${org.springframework.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-test</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
<version>${commons-logging.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-ip</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-xml</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-jms</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-jmx</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-ws</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<!-- test-scoped dependencies -->
|
|
<dependency>
|
|
<!-- override from parent pom, switching scope from test to compile -->
|
|
<groupId>hsqldb</groupId>
|
|
<artifactId>hsqldb</artifactId>
|
|
<version>${hsqldb.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
<profiles>
|
|
<profile>
|
|
<id>classpath</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-dependencies</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>lib</outputDirectory>
|
|
<overWriteReleases>false</overWriteReleases>
|
|
<overWriteSnapshots>false</overWriteSnapshots>
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
<repositories>
|
|
<repository>
|
|
<id>repository.springframework.maven.release</id>
|
|
<name>Spring Framework Maven Release Repository</name>
|
|
<url>http://maven.springframework.org/release</url>
|
|
</repository>
|
|
<repository>
|
|
<id>repository.springframework.maven.milestone</id>
|
|
<name>Spring Framework Maven Milestone Repository</name>
|
|
<url>http://maven.springframework.org/milestone</url>
|
|
</repository>
|
|
<repository>
|
|
<id>repository.springframework.maven.snapshot</id>
|
|
<name>Spring Framework Maven Snapshot Repository</name>
|
|
<url>http://maven.springframework.org/snapshot</url>
|
|
</repository>
|
|
</repositories>
|
|
</project>
|