From 1d41cb54652ff0afaebf7499712fa73c68b80248 Mon Sep 17 00:00:00 2001 From: dsyer Date: Sat, 15 Dec 2007 16:39:24 +0000 Subject: [PATCH] RESOLVED: Add parent pom for samples in assembly package. Now you can unzip and (cd samples/spring-batch-samples; mvn test). Cool. --- dist/pom.xml | 18 ++++++++++++++++++ dist/src/assembly/docs.xml | 2 +- dist/src/assembly/no-dependencies.xml | 8 ++++++-- dist/src/assembly/parent.xml | 13 +++++++++++++ dist/src/assembly/with-dependencies.xml | 1 + 5 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 dist/src/assembly/parent.xml diff --git a/dist/pom.xml b/dist/pom.xml index f0bf5c8e9..7b139e363 100644 --- a/dist/pom.xml +++ b/dist/pom.xml @@ -51,6 +51,24 @@ + + org.apache.maven.plugins + maven-antrun-plugin + + + copy-parent-pom + generate-sources + + + + + + + run + + + + diff --git a/dist/src/assembly/docs.xml b/dist/src/assembly/docs.xml index 5935fe5ed..faf2243a2 100644 --- a/dist/src/assembly/docs.xml +++ b/dist/src/assembly/docs.xml @@ -4,7 +4,7 @@ license.txt - notice.txt + notice.txt unix diff --git a/dist/src/assembly/no-dependencies.xml b/dist/src/assembly/no-dependencies.xml index a16886501..457bd2377 100644 --- a/dist/src/assembly/no-dependencies.xml +++ b/dist/src/assembly/no-dependencies.xml @@ -44,12 +44,16 @@ samples/${artifactId} - + + + pom.xml + bin/** target/** **/clover.license - *.xml + *.xml + derby*/** diff --git a/dist/src/assembly/parent.xml b/dist/src/assembly/parent.xml new file mode 100644 index 000000000..7804588d4 --- /dev/null +++ b/dist/src/assembly/parent.xml @@ -0,0 +1,13 @@ + + + + + target + samples + + pom.xml + + + unix + + \ No newline at end of file diff --git a/dist/src/assembly/with-dependencies.xml b/dist/src/assembly/with-dependencies.xml index c5a8cd4a6..249a1115d 100644 --- a/dist/src/assembly/with-dependencies.xml +++ b/dist/src/assembly/with-dependencies.xml @@ -5,6 +5,7 @@ src/assembly/docs.xml + src/assembly/parent.xml true