From 2ee39543f8ed5fd70988d353a41a3369b89ae4b5 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Sun, 25 Sep 2005 09:18:03 +0000 Subject: [PATCH] Added rar integration test. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291397 13f79535-47bb-0310-9956-ffa450edef68 --- maven-core-it/README.txt | 2 ++ maven-core-it/integration-tests.txt | 1 + maven-core-it/it0070/expected-results.txt | 3 +++ maven-core-it/it0070/goals.txt | 1 + maven-core-it/it0070/pom.xml | 20 +++++++++++++++++++ maven-core-it/it0070/src/main/custom/ra.xml | 4 ++++ .../it0070/src/main/rar/SomeResource.txt | 0 7 files changed, 31 insertions(+) create mode 100644 maven-core-it/it0070/expected-results.txt create mode 100644 maven-core-it/it0070/goals.txt create mode 100644 maven-core-it/it0070/pom.xml create mode 100644 maven-core-it/it0070/src/main/custom/ra.xml create mode 100644 maven-core-it/it0070/src/main/rar/SomeResource.txt diff --git a/maven-core-it/README.txt b/maven-core-it/README.txt index ecab116d6a..ed4a92436e 100644 --- a/maven-core-it/README.txt +++ b/maven-core-it/README.txt @@ -188,6 +188,8 @@ it0066: Test that nonstandard POM files will be installed correctly. it0067: Test activation of a profile from the command line. +it0070: Test a RAR generation. + ------------------------------------------------------------------------------- - generated sources diff --git a/maven-core-it/integration-tests.txt b/maven-core-it/integration-tests.txt index 26a626db23..63d90e5824 100644 --- a/maven-core-it/integration-tests.txt +++ b/maven-core-it/integration-tests.txt @@ -1,3 +1,4 @@ +it0070 it0067 it0066 it0065 diff --git a/maven-core-it/it0070/expected-results.txt b/maven-core-it/it0070/expected-results.txt new file mode 100644 index 0000000000..c39e890756 --- /dev/null +++ b/maven-core-it/it0070/expected-results.txt @@ -0,0 +1,3 @@ +target/maven-core-it0070-1.0.rar +target/maven-core-it0070-1.0.rar!/META-INF/ra.xml +target/maven-core-it0070-1.0.rar!/SomeResource.txt diff --git a/maven-core-it/it0070/goals.txt b/maven-core-it/it0070/goals.txt new file mode 100644 index 0000000000..9900519452 --- /dev/null +++ b/maven-core-it/it0070/goals.txt @@ -0,0 +1 @@ +package diff --git a/maven-core-it/it0070/pom.xml b/maven-core-it/it0070/pom.xml new file mode 100644 index 0000000000..de9ccc57a7 --- /dev/null +++ b/maven-core-it/it0070/pom.xml @@ -0,0 +1,20 @@ + + 4.0.0 + org.apache.maven + maven-core-it0070 + rar + 1.0 + + + + + org.apache.maven.plugins + maven-rar-plugin + + false + src/main/custom/ra.xml + + + + + diff --git a/maven-core-it/it0070/src/main/custom/ra.xml b/maven-core-it/it0070/src/main/custom/ra.xml new file mode 100644 index 0000000000..fc34128038 --- /dev/null +++ b/maven-core-it/it0070/src/main/custom/ra.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/maven-core-it/it0070/src/main/rar/SomeResource.txt b/maven-core-it/it0070/src/main/rar/SomeResource.txt new file mode 100644 index 0000000000..e69de29bb2