239 lines
11 KiB
XML
239 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>spring-batch-core</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>Core</name>
|
|
<description> Core domain for batch processing, expressing a domain of Jobs, Steps, Chunks, etc.
|
|
</description>
|
|
<parent>
|
|
<groupId>org.springframework.batch</groupId>
|
|
<artifactId>spring-batch-parent</artifactId>
|
|
<version>2.0.1.CI-SNAPSHOT</version>
|
|
<relativePath>../spring-batch-parent</relativePath>
|
|
</parent>
|
|
<profiles>
|
|
<profile>
|
|
<id>tiger</id>
|
|
<activation>
|
|
<jdk>1.5</jdk>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>stax</groupId>
|
|
<artifactId>stax</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
</profiles>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.batch</groupId>
|
|
<artifactId>spring-batch-infrastructure</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>asm</groupId>
|
|
<artifactId>asm-commons</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>hsqldb</groupId>
|
|
<artifactId>hsqldb</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-lang</groupId>
|
|
<artifactId>commons-lang</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.easymock</groupId>
|
|
<artifactId>easymock</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjrt</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjweaver</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cglib</groupId>
|
|
<artifactId>cglib-nodep</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
<artifactId>xstream</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.jettison</groupId>
|
|
<artifactId>jettison</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.osgi</groupId>
|
|
<artifactId>osgi_R4_core</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aop</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-beans</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.osgi</groupId>
|
|
<artifactId>spring-osgi-core</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-tx</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.annotation</groupId>
|
|
<artifactId>jsr250-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<optional>false</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.springsource.bundlor</groupId>
|
|
<artifactId>com.springsource.bundlor.maven</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-sql</id>
|
|
<phase>generate-sources</phase>
|
|
<configuration>
|
|
<tasks> <typedef resource="foundrylogic/vpp/typedef.properties"/> <taskdef resource="foundrylogic/vpp/taskdef.properties"/> <vppcopy todir="${basedir}/target/generated-resources" overwrite="true">
|
|
<config>
|
|
<context> <property key="includes" value="src/main/sql"/> <property file="${basedir}/src/main/sql/hsqldb.properties"/>
|
|
</context>
|
|
<engine> <property key="velocimacro.library" value="src/main/sql/hsqldb.vpp"/>
|
|
</engine>
|
|
</config> <fileset dir="${basedir}/src/main/sql" includes="schema*.sql.vpp"/> <mapper type="glob" from="*.sql.vpp" to="*-hsqldb.sql"/>
|
|
</vppcopy> <vppcopy todir="${basedir}/target/generated-resources" overwrite="true">
|
|
<config>
|
|
<context> <property key="includes" value="src/main/sql"/> <property file="${basedir}/src/main/sql/db2.properties"/>
|
|
</context>
|
|
<engine> <property key="velocimacro.library" value="src/main/sql/db2.vpp"/>
|
|
</engine>
|
|
</config> <fileset dir="${basedir}/src/main/sql" includes="schema*.sql.vpp"/> <mapper type="glob" from="*.sql.vpp" to="*-db2.sql"/>
|
|
</vppcopy> <vppcopy todir="${basedir}/target/generated-resources" overwrite="true">
|
|
<config>
|
|
<context> <property key="includes" value="src/main/sql"/> <property file="${basedir}/src/main/sql/derby.properties"/>
|
|
</context>
|
|
<engine> <property key="velocimacro.library" value="src/main/sql/derby.vpp"/>
|
|
</engine>
|
|
</config> <fileset dir="${basedir}/src/main/sql" includes="schema*.sql.vpp"/> <mapper type="glob" from="*.sql.vpp" to="*-derby.sql"/>
|
|
</vppcopy> <vppcopy todir="${basedir}/target/generated-resources" overwrite="true">
|
|
<config>
|
|
<context> <property key="includes" value="src/main/sql"/> <property file="${basedir}/src/main/sql/oracle10g.properties"/>
|
|
</context>
|
|
<engine> <property key="velocimacro.library" value="src/main/sql/oracle10g.vpp"/>
|
|
</engine>
|
|
</config> <fileset dir="${basedir}/src/main/sql" includes="schema*.sql.vpp"/> <mapper type="glob" from="*.sql.vpp" to="*-oracle10g.sql"/>
|
|
</vppcopy> <vppcopy todir="${basedir}/target/generated-resources" overwrite="true">
|
|
<config>
|
|
<context> <property key="includes" value="src/main/sql"/> <property file="${basedir}/src/main/sql/postgresql.properties"/>
|
|
</context>
|
|
<engine> <property key="velocimacro.library" value="src/main/sql/postgresql.vpp"/>
|
|
</engine>
|
|
</config> <fileset dir="${basedir}/src/main/sql" includes="schema*.sql.vpp"/> <mapper type="glob" from="*.sql.vpp" to="*-postgresql.sql"/>
|
|
</vppcopy> <vppcopy todir="${basedir}/target/generated-resources" overwrite="true">
|
|
<config>
|
|
<context> <property key="includes" value="src/main/sql"/> <property file="${basedir}/src/main/sql/mysql.properties"/>
|
|
</context>
|
|
<engine> <property key="velocimacro.library" value="src/main/sql/mysql.vpp"/>
|
|
</engine>
|
|
</config> <fileset dir="${basedir}/src/main/sql" includes="schema*.sql.vpp"/> <mapper type="glob" from="*.sql.vpp" to="*-mysql.sql"/>
|
|
</vppcopy> <vppcopy todir="${basedir}/target/generated-resources" overwrite="true">
|
|
<config>
|
|
<context> <property key="includes" value="src/main/sql"/> <property file="${basedir}/src/main/sql/sqlserver.properties"/>
|
|
</context>
|
|
<engine> <property key="velocimacro.library" value="src/main/sql/sqlserver.vpp"/>
|
|
</engine>
|
|
</config> <fileset dir="${basedir}/src/main/sql" includes="schema.sql.vpp"/> <mapper type="glob" from="*.sql.vpp" to="*-sqlserver.sql"/>
|
|
</vppcopy> <vppcopy todir="${basedir}/target/generated-resources" overwrite="true">
|
|
<config>
|
|
<context> <property key="includes" value="src/main/sql"/> <property file="${basedir}/src/main/sql/sybase.properties"/>
|
|
</context>
|
|
<engine> <property key="velocimacro.library" value="src/main/sql/sybase.vpp"/>
|
|
</engine>
|
|
</config> <fileset dir="${basedir}/src/main/sql" includes="schema.sql.vpp"/> <mapper type="glob" from="*.sql.vpp" to="*-sybase.sql"/>
|
|
</vppcopy>
|
|
</tasks>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<junitArtifactName>junit:junit</junitArtifactName>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>emma-maven-plugin</artifactId>
|
|
<version>1.0-alpha-1</version>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
</project>
|