Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
113 lines (104 sloc) 3.61 KB
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2011, Chris Aniszczyk <caniszczyk@gmail.com>
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.aniszczyk.minerva</groupId>
<artifactId>minerva-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>org.aniszczyk.minerva.ui.tests</artifactId>
<packaging>eclipse-test-plugin</packaging>
<name>Minerva UI Test Plug-in (Incubation)</name>
<properties>
<ui.test.vmargs.all>-Xmx512m -XX:MaxPermSize=256m</ui.test.vmargs.all>
<ui.test.vmargs.mac>-XstartOnFirstThread</ui.test.vmargs.mac>
<ui.test.vmargs>${ui.test.vmargs.all}</ui.test.vmargs>
</properties>
<profiles>
<profile>
<id>skip-ui-tests</id>
<activation>
<property>
<name>skip-ui-tests</name>
</property>
</activation>
<properties>
<maven.test.skip>true</maven.test.skip>
</properties>
</profile>
<profile>
<id>mac-customization</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<ui.test.vmargs>${ui.test.vmargs.all} ${ui.test.vmargs.mac}</ui.test.vmargs>
</properties>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<testSuite>org.aniszczyk.minerva.ui.tests</testSuite>
<testClass>org.aniszczyk.minerva.ui.tests.AllTests</testClass>
<useUIHarness>true</useUIHarness>
<useUIThread>false</useUIThread>
<product>org.eclipse.sdk.ide</product>
<argLine>${ui.test.vmargs}</argLine>
<application>org.eclipse.ui.ide.workbench</application>
<dependencies>
<dependency>
<type>p2-installable-unit</type>
<artifactId>org.eclipse.pde.feature.group</artifactId>
<version>${platform-version}</version>
</dependency>
<dependency>
<type>eclipse-feature</type>
<artifactId>org.aniszczyk.minerva-feature</artifactId>
<version>0.0.0</version>
</dependency>
<dependency>
<type>p2-installable-unit</type>
<artifactId>org.eclipse.cvs.feature.group</artifactId>
<version>[1.1.2,2.0.0)</version>
</dependency>
</dependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.7.2</version>
<executions>
<execution>
<phase>test</phase>
<configuration>
<testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory>
<includes>
<include>**/AllJUnitTests.java</include>
</includes>
</configuration>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>