diff options
Diffstat (limited to 'hosted-tenant-base')
-rw-r--r-- | hosted-tenant-base/pom.xml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/hosted-tenant-base/pom.xml b/hosted-tenant-base/pom.xml index 66b8cb56443..f0223e28681 100644 --- a/hosted-tenant-base/pom.xml +++ b/hosted-tenant-base/pom.xml @@ -265,9 +265,17 @@ </goals> <configuration> <tasks> - <!-- Creating a dummy file to support running tests with old test runner. Remove when it is no longer in use --> - <mkdir dir="target/application-test/artifacts" /> - <touch file="target/application-test/artifacts/.ignore" /> + <!-- Workaround to copy src/test/application/tests only when its parent exists: + Copy in two steps: first with the parent, then eliminate it --> + <copy todir="target/application-test/"> + <fileset dir="src/test/" includes="application/tests/**" /> + </copy> + <mkdir dir="target/application-test/application" /> + <copy todir="target/application-test/"> + <fileset dir="target/application-test/application/" includes="tests/**" /> + </copy> + <delete dir="target/application-test/application/" /> + <copy file="target/${project.artifactId}-tests.jar" todir="target/application-test/components/" /> <zip destfile="target/application-test.zip" basedir="target/application-test/" /> </tasks> |