From 83864542d3f8104451daaa88b4606bc7b6901feb Mon Sep 17 00:00:00 2001 From: nebhale Date: Mon, 3 Dec 2007 14:00:36 +0000 Subject: [PATCH] [BATCH-235] Added Assembly Descriptors. Still need to add the lifecycle that creates and uploads them. --- pom.xml | 9 +++ src/assembly/docs.xml | 12 ++++ src/assembly/no-dependencies.xml | 39 +++++++++++ src/assembly/with-dependencies.xml | 101 +++++++++++++++++++++++++++++ 4 files changed, 161 insertions(+) create mode 100644 src/assembly/docs.xml create mode 100644 src/assembly/no-dependencies.xml create mode 100644 src/assembly/with-dependencies.xml diff --git a/pom.xml b/pom.xml index f505dd356..17c55356d 100644 --- a/pom.xml +++ b/pom.xml @@ -130,6 +130,15 @@ + + maven-assembly-plugin + + + src/assembly/no-dependencies.xml + src/assembly/with-dependencies.xml + + + org.apache.maven.plugins maven-compiler-plugin diff --git a/src/assembly/docs.xml b/src/assembly/docs.xml new file mode 100644 index 000000000..fbad08f95 --- /dev/null +++ b/src/assembly/docs.xml @@ -0,0 +1,12 @@ + + + + + + license.txt + notice.txt + + + unix + + \ No newline at end of file diff --git a/src/assembly/no-dependencies.xml b/src/assembly/no-dependencies.xml new file mode 100644 index 000000000..ca9a43e24 --- /dev/null +++ b/src/assembly/no-dependencies.xml @@ -0,0 +1,39 @@ + + no-dependencies + + zip + + + src/assembly/docs.xml + + true + + + + org.springframework.batch:spring-batch-core + org.springframework.batch:spring-batch-execution + org.springframework.batch:spring-batch-infrastructure + + + false + dist/${artifactId}-${version}.${extension} + false + + + + + org.springframework.batch:spring-batch-core + org.springframework.batch:spring-batch-execution + org.springframework.batch:spring-batch-infrastructure + + + false + dist/${artifactId}-${version}-sources.${extension} + false + + target/${artifactId}-${version}-sources.${extension} + + + + + diff --git a/src/assembly/with-dependencies.xml b/src/assembly/with-dependencies.xml new file mode 100644 index 000000000..ea6a34795 --- /dev/null +++ b/src/assembly/with-dependencies.xml @@ -0,0 +1,101 @@ + + with-dependencies + + zip + + + src/assembly/docs.xml + + true + + + + org.springframework.batch:spring-batch-core + org.springframework.batch:spring-batch-execution + org.springframework.batch:spring-batch-infrastructure + + + false + dist/${artifactId}-${version}.${extension} + false + + + + + org.springframework.batch:spring-batch-core + org.springframework.batch:spring-batch-execution + org.springframework.batch:spring-batch-infrastructure + + + false + dist/${artifactId}-${version}-sources.${extension} + false + + target/${artifactId}-${version}-sources.${extension} + + + + sources/lib/${groupId}/${artifactId}-${version}.${extension} + runtime + + org.springframework.batch:spring-batch-core + org.springframework.batch:spring-batch-execution + org.springframework.batch:spring-batch-infrastructure + + + + sources/lib/${groupId}/${artifactId}-${version}.${extension} + provided + + + + + sources/${artifactId} + + + + bin/** + target/** + + + + + + + + org.springframework.batch:spring-batch-samples + + + false + samples/${artifactId}-${version}.${extension} + false + + + samples/lib/${groupId}/${artifactId}-${version}.${extension} + runtime + + org.springframework.batch:spring-batch-core + org.springframework.batch:spring-batch-execution + org.springframework.batch:spring-batch-infrastructure + + + + sources/lib/${groupId}/${artifactId}-${version}.${extension} + provided + + + + + samples/${artifactId} + + + + bin/** + target/** + + + + + + +