From 4d8161ced8d55a8420c9bcab6176c7de48f5dab6 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 21 Mar 2011 14:39:57 +0000 Subject: [PATCH] Add ant config for uploading to S3 --- pom.xml | 60 ++++++++++++++++++++++++++++++------- src/ant/upload-dist.xml | 65 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+), 10 deletions(-) create mode 100644 src/ant/upload-dist.xml diff --git a/pom.xml b/pom.xml index c3590e99d..854d3a7db 100644 --- a/pom.xml +++ b/pom.xml @@ -46,7 +46,16 @@ + UTF-8 false + spring-batch + Spring Batch + BATCH + ${project.version} + ${dist.id}-${dist.version}-no-dependencies + ${dist.finalName}.zip + target/${dist.fileName} + dist.springframework.org @@ -215,6 +224,20 @@ run + + upload-dist + deploy + + run + + + + + + + + + @@ -322,6 +345,9 @@ staging + + /${user.dir}/target/staging/dist + staging @@ -346,6 +372,9 @@ + + ${dist.finalName} @@ -405,17 +434,28 @@ org.apache.maven.plugins maven-antrun-plugin + 1.4 - - org.apache.ant - ant - 1.7.0 - - - org.apache.ant - ant-apache-regexp - 1.7.0 - + + org.springframework.build + org.springframework.build.aws.ant + 3.0.5.RELEASE + + + net.java.dev.jets3t + jets3t + 0.7.2 + + + org.apache.ant + ant + 1.7.0 + + + org.apache.ant + ant-apache-regexp + 1.7.0 + diff --git a/src/ant/upload-dist.xml b/src/ant/upload-dist.xml new file mode 100644 index 000000000..20f49a662 --- /dev/null +++ b/src/ant/upload-dist.xml @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Copying dist .ZIP to ${dist.staging} + + + + +