215 lines
6.6 KiB
XML
215 lines
6.6 KiB
XML
<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.archetype.simple.cli</artifactId>
|
|
<version>2.0.0.CI-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
<name>Commandline</name>
|
|
<url>http://www.springframework.org/spring-batch/archetypes/simple-cli-archetype</url>
|
|
<description>
|
|
<![CDATA[
|
|
This project is a minimal command line batch sample from
|
|
Spring Batch. Once installed you can use "mvn exec:java" to
|
|
see the job run.
|
|
]]>
|
|
</description>
|
|
<properties>
|
|
<maven.test.failure.ignore>true</maven.test.failure.ignore>
|
|
<spring.framework.version>2.5.6.A</spring.framework.version>
|
|
<bundlor.version>1.0.0.M1</bundlor.version>
|
|
</properties>
|
|
<profiles>
|
|
<profile>
|
|
<id>strict</id>
|
|
<properties>
|
|
<maven.test.failure.ignore>false</maven.test.failure.ignore>
|
|
</properties>
|
|
</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>
|
|
</profiles>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.4</version>
|
|
<scope>test</scope>
|
|
</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.jdbc</artifactId>
|
|
<version>${spring.framework.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.batch</groupId>
|
|
<artifactId>org.springframework.batch.core</artifactId>
|
|
<version>${pom.version}</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.apache.commons</groupId>
|
|
<artifactId>com.springsource.org.apache.commons.io</artifactId>
|
|
<version>1.4.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hsqldb</groupId>
|
|
<artifactId>com.springsource.org.hsqldb</artifactId>
|
|
<version>1.8.0.9</version>
|
|
</dependency>
|
|
<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>
|
|
</dependencies>
|
|
<build>
|
|
<extensions>
|
|
<extension>
|
|
<groupId>org.springframework.build.aws</groupId>
|
|
<artifactId>org.springframework.build.aws.maven</artifactId>
|
|
<version>2.0.0.RELEASE</version>
|
|
</extension>
|
|
</extensions>
|
|
<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>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>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<!--forkMode>pertest</forkMode-->
|
|
<includes>
|
|
<include>**/*Tests.java</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>**/Abstract*.java</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>1.1</version>
|
|
<configuration>
|
|
<mainClass>org.springframework.batch.core.launch.support.CommandLineJobRunner</mainClass>
|
|
<arguments>
|
|
<!-- job configuration file -->
|
|
<argument>classpath:/launch-context.xml</argument>
|
|
<!-- job name -->
|
|
<argument>job1</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<repositories>
|
|
<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>
|
|
<snapshots><enabled>false</enabled></snapshots>
|
|
</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>
|
|
<snapshots><enabled>false</enabled></snapshots>
|
|
</repository>
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>Codehaus</id>
|
|
<url>http://repository.codehaus.org/</url>
|
|
<snapshots><enabled>false</enabled></snapshots>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>com.springsource.repository.bundles.plugins</id>
|
|
<name>SpringSource Enterprise Bundle Repository -
|
|
SpringSource Bundle Plugins</name>
|
|
<url>http://repository.springsource.com/maven/bundles/milestone</url>
|
|
<snapshots><enabled>false</enabled></snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
<distributionManagement>
|
|
<downloadUrl>http://www.springframework.org/download</downloadUrl>
|
|
<site>
|
|
<id>staging</id>
|
|
<url>file:///${user.dir}/archetypes/simple-cli/target/staging</url>
|
|
</site>
|
|
<repository>
|
|
<id>spring-milestone</id>
|
|
<name>Spring Milestone Repository</name>
|
|
<url>s3://maven.springframework.org/milestone</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>spring-snapshot</id>
|
|
<name>Spring Snapshot Repository</name>
|
|
<url>s3://maven.springframework.org/snapshot</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
</project>
|