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