Files
spring-batch/pom.xml
2008-11-04 22:05:53 +00:00

774 lines
24 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.batch</groupId>
<artifactId>org.springframework.batch</artifactId>
<name>Spring Batch</name>
<description>
<!-- Use CDATA to keep it on a single line in the manifest -->
<![CDATA[Spring Batch provides tools for enterprise batch or bulk processing. It can be used to wire up jobs, and track their execution, or simply as an optimization for repetitive processing in a transactional environment. Spring Batch is part of the Spring Portfolio.]]>
</description>
<version>2.0.0.CI-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>spring-batch-infrastructure</module>
<module>spring-batch-infrastructure-tests</module>
<module>spring-batch-core</module>
<module>spring-batch-samples</module>
<!-- <module>spring-batch-integration</module>-->
<module>docs</module>
<module>archetypes</module>
</modules>
<url>http://www.springframework.org/spring-batch</url>
<organization>
<name>SpringSource</name>
<url>http://www.springsource.com</url>
</organization>
<scm>
<url>https://fisheye.springframework.org/browse/spring-batch</url>
<connection>scm:svn:https://src.springframework.org/svn/spring-batch/trunk</connection>
<developerConnection>scm:svn:https://src.springframework.org/svn/spring-batch/trunk</developerConnection>
</scm>
<issueManagement>
<system>JIRA</system>
<url>http://opensource.atlassian.com/projects/spring/browse/BATCH</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>Spring Batch Forum</name>
<post>http://forum.springframework.org/forumdisplay.php?f=41</post>
<archive>http://forum.springframework.org/forumdisplay.php?f=41</archive>
</mailingList>
</mailingLists>
<ciManagement>
<system>Bamboo</system>
<url>https://build.springframework.org/bamboo/browse/BATCH</url>
</ciManagement>
<licenses>
<license>
<name>Apache 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<properties>
<maven.test.failure.ignore>true</maven.test.failure.ignore>
<spring.framework.version>3.0.0.BUILD-SNAPSHOT</spring.framework.version>
<bundlor.version>1.0.0.M1</bundlor.version>
</properties>
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>deployment</id>
<distributionManagement>
<site>
<id>static.springframework.org</id>
<url>
scp://static.springframework.org:/var/www/domains/springframework.org/static/htdocs/spring-batch/trunk
</url>
</site>
</distributionManagement>
</profile>
<profile>
<id>strict</id>
<properties>
<maven.test.failure.ignore>false</maven.test.failure.ignore>
</properties>
</profile>
<profile>
<id>fast</id>
<properties>
<maven.test.skip>true</maven.test.skip>
</properties>
</profile>
<profile>
<id>snapshots</id>
<pluginRepositories>
<pluginRepository>
<id>apache-snapshots</id>
<url>http://people.apache.org/maven-snapshot-repository</url>
</pluginRepository>
<!-- Clover 2 is still a snapshot plugin -->
<pluginRepository>
<id>atlassian-m2-repository</id>
<name>Atlassian Maven 2.x Repository</name>
<url>http://repository.atlassian.com/maven2</url>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>apache-snapshot</id>
<name>Apache Foundation Snapshot Repository</name>
<url>http://people.apache.org/maven-snapshot-repository</url>
</repository>
</repositories>
<build>
<pluginManagement>
<plugins>
<!--
This seems to work better than the default (2008/03/19) because
links on sub-module sites are not broken
-->
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>2.0-beta-7-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>manifest</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.springsource.bundlor</groupId>
<artifactId>com.springsource.bundlor.maven</artifactId>
<version>${bundlor.version}</version>
<executions>
<execution>
<id>bundlor-manifest</id>
<phase>package</phase>
<goals>
<goal>manifest</goal>
</goals>
<configuration>
<outputFile>${project.basedir}/src/main/resources/META-INF/MANIFEST.MF</outputFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>mysql</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<property>
<name>environment</name>
<value>mysql</value>
</property>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>xsl-aggregation</id>
<activation>
<file>
<exists>src/main/xsl/emma.xsl</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<inherited>false</inherited>
<executions>
<execution>
<id>xsl</id>
<phase>site</phase>
<configuration>
<tasks>
<echo>Aggregating XSL reports</echo>
<mkdir dir="target/emma-reports" />
<concat destfile="target/site/emma-reports/emma-report.xml">
<fileset dir="." includes="**/coverage.fragment" />
<filterchain>
<linecontainsregexp>
<regexp pattern="[a-zA-Z]" />
</linecontainsregexp>
</filterchain>
<header trimleading="yes">
<![CDATA[<summary>]]>
</header>
<footer trimleading="yes">
<![CDATA[</summary>]]>
</footer>
</concat>
<xslt in="target/site/emma-reports/emma-report.xml" out="target/site/emma-reports/index.html"
style="src/main/xsl/emma2html.xsl">
<param name="project" expression="${project.name}" />
<param name="version" expression="${project.version}" />
</xslt>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<distributionManagement>
<downloadUrl>http://www.springframework.org/download</downloadUrl>
<site>
<id>staging</id>
<url>file:///${user.dir}/target/staging</url>
</site>
<repository>
<id>spring-milestone</id>
<name>Spring Milestone Repository</name>
<url>s3://repository.springsource.com/maven/bundles/milestone</url>
</repository>
<snapshotRepository>
<id>spring-snapshot</id>
<name>Spring Snapshot Repository</name>
<url>s3://repository.springsource.com/maven/bundles/snapshot</url>
</snapshotRepository>
</distributionManagement>
<build>
<extensions>
<extension>
<groupId>org.springframework.aws</groupId>
<artifactId>spring-aws-maven</artifactId>
<version>1.2.2</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>emma-maven-plugin</artifactId>
<version>1.0-20070912.011112-4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>junitreport</id>
<phase>site</phase>
<configuration>
<tasks>
<echo>Creating JUnit reports</echo>
<mkdir dir="target/surefire-reports" />
<junitreport todir="target/surefire-reports">
<fileset dir=".">
<filename name="**/target/surefire-reports/TEST-*.xml" />
</fileset>
<report todir="target/site/junit-reports" />
</junitreport>
<echo>Creating Emma reports</echo>
<mkdir dir="target/site/emma-reports" />
<xslt includes="target/emma/coverage.xml" destdir="target/emma-reports"
style="${project.parent.basedir}/src/main/xsl/emma.xsl">
<mapper type="glob" from="*.xml" to="*.fragment" />
<param name="project" expression="${project.name}" />
</xslt>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.7.0</version>
</dependency>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-junit</artifactId>
<version>1.6.5</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-trax</artifactId>
<version>1.7.0</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-apache-regexp</artifactId>
<version>1.7.0</version>
</dependency>
<dependency>
<groupId>foundrylogic.vpp</groupId>
<artifactId>vpp</artifactId>
<version>2.2.1</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>com.springsource.bundlor</groupId>
<artifactId>com.springsource.bundlor.maven</artifactId>
<version>${bundlor.version}</version>
<executions>
<execution>
<id>bundlor-transform</id>
<!-- This isn't necessary, but Q4E barfs without it. -->
<phase>package</phase>
<goals>
<goal>transform</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>javadoc</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<links>
<link>http://java.sun.com/j2ee/1.4/docs/api</link>
<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
<link>http://jakarta.apache.org/commons/collections/apidocs-COLLECTIONS_3_0/</link>
<link>http://jakarta.apache.org/commons/dbcp/apidocs/</link>
<link>http://jakarta.apache.org/commons/fileupload/apidocs/</link>
<link>http://jakarta.apache.org/commons/httpclient/apidocs/</link>
<link>http://jakarta.apache.org/commons/pool/apidocs/</link>
<link>http://jakarta.apache.org/commons/logging/apidocs/</link>
<link>http://junit.sourceforge.net/javadoc/</link>
<link>http://logging.apache.org/log4j/docs/api/</link>
<link>http://jakarta.apache.org/regexp/apidocs/</link>
<link>http://jakarta.apache.org/velocity/api/</link>
<link>http://static.springframework.org/spring/docs/2.5.x/api/</link>
<link>http://static.springframework.org/spring-batch/apidocs/</link>
<link>http://static.springframework.org/spring-ws/site/apidocs/</link>
</links>
<aggregate>true</aggregate>
<excludePackageNames>*.batch.sample,*.batch.container</excludePackageNames>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/*Tests.java</include>
</includes>
<excludes>
<exclude>**/Abstract*.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>${basedir}</directory>
<includes>
<include>activemq-data</include>
<include>derby-home</include>
<include>amqstore</include>
<include>.clover</include>
<include>surefire*</include>
<include>derby.log</include>
</includes>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>com.springsource.org.aspectj.runtime</artifactId>
<version>1.5.4</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>com.springsource.org.aspectj.weaver</artifactId>
<version>1.5.4</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>com.springsource.org.easymock</artifactId>
<version>2.3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.jms</groupId>
<artifactId>com.springsource.javax.jms</artifactId>
<version>1.1.0</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>com.springsource.javax.transaction</artifactId>
<version>1.1.0</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>com.springsource.org.hibernate</artifactId>
<version>3.2.6.ga</version>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>org.objectweb.asm</groupId>
<artifactId>com.springsource.org.objectweb.asm</artifactId>
</exclusion>
<exclusion>
<groupId>org.objectweb.asm</groupId>
<artifactId>com.springsource.org.objectweb.asm.attrs</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>com.springsource.org.hibernate.ejb</artifactId>
<version>3.3.2.GA</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>com.springsource.org.hibernate.annotations</artifactId>
<version>3.3.1.ga</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>net.sourceforge.cglib</groupId>
<artifactId>com.springsource.net.sf.cglib</artifactId>
<version>2.1.3</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>com.springsource.org.apache.commons.logging</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>com.springsource.org.apache.commons.lang</artifactId>
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>com.springsource.org.apache.commons.io</artifactId>
<version>1.4.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>com.springsource.org.apache.commons.collections</artifactId>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>com.springsource.org.apache.commons.dbcp</artifactId>
<version>1.2.2.osgi</version>
</dependency>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>com.springsource.org.hsqldb</artifactId>
<version>1.8.0.9</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>com.springsource.org.apache.derby</artifactId>
<version>10.3.2000001.599110</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>com.springsource.com.thoughtworks.xstream</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>org.codehaus.jettison</groupId>
<artifactId>com.springsource.org.codehaus.jettison</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.apache.ibatis</groupId>
<artifactId>com.springsource.com.ibatis</artifactId>
<version>2.3.0.677</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>javax.persistence</groupId>
<artifactId>com.springsource.javax.persistence</artifactId>
<version>1.0.0</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.eclipse.osgi</groupId>
<artifactId>org.eclipse.osgi</artifactId>
<version>3.4.2.R34x_v20080826-1230</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.objectweb.asm</groupId>
<artifactId>com.springsource.org.objectweb.asm</artifactId>
<version>2.2.3</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.objectweb.asm</groupId>
<artifactId>com.springsource.org.objectweb.asm.attrs</artifactId>
<version>2.2.3</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.objectweb.asm</groupId>
<artifactId>com.springsource.org.objectweb.asm.commons</artifactId>
<version>2.2.3</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>com.springsource.javax.servlet</artifactId>
<version>2.5.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<!-- TODO: remove this or find a replacement in Java 5 / BRITS -->
<groupId>stax</groupId>
<artifactId>stax</artifactId>
<version>1.2.0</version>
<optional>true</optional>
</dependency>
<!-- Spring Dependencies -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.aop</artifactId>
<version>${spring.framework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.beans</artifactId>
<version>${spring.framework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.context</artifactId>
<version>${spring.framework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.context.support</artifactId>
<version>${spring.framework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.core</artifactId>
<version>${spring.framework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.jdbc</artifactId>
<version>${spring.framework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.jms</artifactId>
<version>${spring.framework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.orm</artifactId>
<version>${spring.framework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.test</artifactId>
<version>${spring.framework.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.transaction</artifactId>
<version>${spring.framework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>org.springframework.web</artifactId>
<version>${spring.framework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.ws</groupId>
<artifactId>org.springframework.oxm</artifactId>
<version>1.5.4.A</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.osgi</groupId>
<artifactId>org.springframework.osgi.core</artifactId>
<version>1.1.2.A</version>
</dependency>
</dependencies>
</dependencyManagement>
<reporting>
<excludeDefaults>true</excludeDefaults>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.3</version>
</plugin>
<plugin>
<groupId>com.interface21.maven</groupId>
<artifactId>maven-external-report-plugin</artifactId>
<version>1.0</version>
<configuration>
<name>JUnit Report</name>
<description>JUnit test results for this project</description>
<base>junit-reports</base>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<reportSets>
<reportSet>
<id>html</id>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
</plugin>
</plugins>
</reporting>
<developers>
<developer>
<id>dsyer</id>
<name>Dave Syer</name>
<email>david.syer@springsource.com</email>
</developer>
<developer>
<id>nebhale</id>
<name>Ben Hale</name>
<email>ben.hale@springsource.com</email>
<timezone>0</timezone>
</developer>
<developer>
<id>lward</id>
<name>Lucas Ward</name>
<email>lucas.l.ward@accenture.com</email>
</developer>
<developer>
<id>robokaso</id>
<name>Robert Kasanicky</name>
<email>robert.kasanicky@accenture.com</email>
</developer>
<developer>
<id>trisberg</id>
<name>Thomas Risberg</name>
<email>thomas.risberg@springsource.com</email>
</developer>
</developers>
<repositories>
<repository>
<id>objectstyle</id>
<name>ObjectStyle.org Repository</name>
<url>http://objectstyle.org/maven2/</url>
</repository>
<repository>
<id>com.springsource.repository.bundles.release</id>
<name>SpringSource Enterprise Bundle Repository -
SpringSource Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/release</url>
</repository>
<repository>
<id>com.springsource.repository.bundles.external</id>
<name>SpringSource Enterprise Bundle Repository -
External Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/external</url>
</repository>
<repository>
<id>com.springsource.repository.bundles.snapshot</id>
<name>SpringSource Enterprise Bundle Repository -
Snapshot Bundle Releases</name>
<url>http://repository.springsource.com/maven/bundles/snapshot</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>com.springsource.repository.bundles.milestone</id>
<name>SpringSource Enterprise Bundle Repository -
SpringSource Bundle Milestones</name>
<url>http://repository.springsource.com/maven/bundles/milestone</url>
</pluginRepository>
<pluginRepository>
<id>spring-external</id>
<name>Spring External Repository</name>
<url>http://s3.amazonaws.com/maven.springframework.org/external</url>
</pluginRepository>
<pluginRepository>
<id>Codehaus Snapshots</id>
<url>http://snapshots.repository.codehaus.org/</url>
</pluginRepository>
<pluginRepository>
<id>spring-external-svn</id>
<name>Spring External SVN Repository</name>
<url>https://springframework.svn.sourceforge.net/svnroot/springframework/repos/repo-ext</url>
</pluginRepository>
</pluginRepositories>
</project>