diff options
Diffstat (limited to 'containers/org.eclipse.linuxtools.docker.ui.tests/pom.xml')
-rw-r--r-- | containers/org.eclipse.linuxtools.docker.ui.tests/pom.xml | 97 |
1 files changed, 94 insertions, 3 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.ui.tests/pom.xml b/containers/org.eclipse.linuxtools.docker.ui.tests/pom.xml index 1ae81d75b4..56347b90d8 100644 --- a/containers/org.eclipse.linuxtools.docker.ui.tests/pom.xml +++ b/containers/org.eclipse.linuxtools.docker.ui.tests/pom.xml @@ -2,12 +2,103 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.eclipse.linuxtools</groupId> - <artifactId>org.eclipse.linuxtools.docker</artifactId> - <version>1.2.0-SNAPSHOT</version> + <groupId>org.eclipse.linuxtools</groupId> + <artifactId>org.eclipse.linuxtools.docker</artifactId> + <version>1.2.0-SNAPSHOT</version> </parent> <artifactId>org.eclipse.linuxtools.docker.ui.tests</artifactId> <version>1.1.0-SNAPSHOT</version> <packaging>eclipse-test-plugin</packaging> + + <properties> + <tycho.test.jvmArgs>-Xmx800m</tycho.test.jvmArgs> + <tycho.surefire.timeout>900</tycho.surefire.timeout> + </properties> + + + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-surefire-plugin</artifactId> + <version>${tycho-version}</version> + <configuration> + <!-- useUIHarness>true</useUIHarness --> + <useUIThread>false</useUIThread> + <!-- kill test JVM if tests take more than 10 minutes (600 seconds) + to finish --> + <forkedProcessTimeoutInSeconds>${tycho.surefire.timeout}</forkedProcessTimeoutInSeconds> + <argLine>${tycho.test.jvmArgs}</argLine> + <includes> + <include>**/*Test.class</include> + </includes> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + + <profiles> + <profile> + <!-- Ignore optional deps to swt.macosx --> + <id>ignore-mac-deps-on-other-os</id> + <activation> + <os> + <family>!mac</family> + </os> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>target-platform-configuration</artifactId> + <configuration> + <dependency-resolution> + <optionalDependencies>ignore</optionalDependencies> + </dependency-resolution> + </configuration> + </plugin> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-compiler-plugin</artifactId> + <configuration> + <optionalDependencies>ignore</optionalDependencies> + </configuration> + </plugin> + </plugins> + </build> + </profile> + <profile> + <id>mac</id> + <activation> + <os> + <family>mac</family> + </os> + </activation> + <properties> + <!-- Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=388084 --> + <!-- THE FOLLOWING LINE MUST NOT BE BROKEN BY AUTOFORMATTING --> + <tycho.test.jvmArgs>-Xmx800m -XstartOnFirstThread</tycho.test.jvmArgs> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>target-platform-configuration</artifactId> + <configuration> + <environments> + <environment> + <os>macosx</os> + <ws>cocoa</ws> + <arch>x86_64</arch> + </environment> + </environments> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> |