diff options
Diffstat (limited to 'hosted-tenant-base')
-rw-r--r-- | hosted-tenant-base/pom.xml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/hosted-tenant-base/pom.xml b/hosted-tenant-base/pom.xml index f0223e28681..e4f71f48d4d 100644 --- a/hosted-tenant-base/pom.xml +++ b/hosted-tenant-base/pom.xml @@ -265,16 +265,18 @@ </goals> <configuration> <tasks> - <!-- Workaround to copy src/test/application/tests only when its parent exists: - Copy in two steps: first with the parent, then eliminate it --> + <!-- Workaround to copy src/test/application/tests only when its parents exists: + Copy in two steps, eliminating the parents in the helper step--> + + <mkdir dir="target/application-test/src/test/application" /> <copy todir="target/application-test/"> - <fileset dir="src/test/" includes="application/tests/**" /> + <fileset dir="." includes="src/test/application/tests/**" /> </copy> - <mkdir dir="target/application-test/application" /> + <copy todir="target/application-test/"> - <fileset dir="target/application-test/application/" includes="tests/**" /> + <fileset dir="target/application-test/src/test/application" includes="tests/**" /> </copy> - <delete dir="target/application-test/application/" /> + <delete dir="target/application-test/src" /> <copy file="target/${project.artifactId}-tests.jar" todir="target/application-test/components/" /> <zip destfile="target/application-test.zip" basedir="target/application-test/" /> |