Add Luna target platform and update dependencies for Luna
[egit/eclipse.git] / org.eclipse.egit.ui.test / pom.xml
blobf53b717bc2629e8b8daf6926e6a7a13757ed6c6f
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3    Copyright (C) 2010-2012 Matthias Sohn <matthias.sohn@sap.com>
5    All rights reserved. This program and the accompanying materials
6    are made available under the terms of the Eclipse Public License v1.0
7    which accompanies this distribution, and is available at
8    http://www.eclipse.org/legal/epl-v10.html
9 -->
11 <project xmlns="http://maven.apache.org/POM/4.0.0"
12     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
13     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
14   <modelVersion>4.0.0</modelVersion>
16   <parent>
17     <groupId>org.eclipse.egit</groupId>
18     <artifactId>egit-parent</artifactId>
19     <version>3.2.0-SNAPSHOT</version>
20   </parent>
22   <artifactId>org.eclipse.egit.ui.test</artifactId>
23   <packaging>eclipse-test-plugin</packaging>
25   <name>EGit UI Test Plug-in</name>
27   <properties>
28     <uitest.vmparams>-Dorg.eclipse.swtbot.search.timeout=30000 -Xmx1024m -XX:MaxPermSize=384m</uitest.vmparams>
29   </properties>
31   <profiles>
32     <profile>
33       <id>skip-ui-tests</id>
34       <activation>
35         <property>
36           <name>skip-ui-tests</name>
37         </property>
38       </activation>
39       <properties>
40         <maven.test.skip>true</maven.test.skip>
41       </properties>
42     </profile>
43     <profile>
44       <id>macosx</id>
45       <activation>
46         <os>
47           <name>mac os x</name>
48           <family>mac</family>
49         </os>
50       </activation>
51       <properties>
52         <ui.test.vmargs>${uitest.vmparams} -XstartOnFirstThread</ui.test.vmargs>
53       </properties>
54     </profile>
55     <profile>
56       <id>other-os</id>
57       <activation>
58         <os>
59           <name>not-mac</name>
60           <family>!mac</family>
61         </os>
62       </activation>
63       <properties>
64         <ui.test.vmargs>${test.vmparams} ${uitest.vmparams}</ui.test.vmargs>
65       </properties>
66     </profile>
67   </profiles>
69   <build>
70     <plugins>
71       <plugin>
72         <groupId>org.eclipse.tycho</groupId>
73         <artifactId>tycho-surefire-plugin</artifactId>
74         <version>${tycho-version}</version>
75         <configuration>
76           <includes>
77             <include>**/*Test.java</include>
78           </includes>
79           <useUIHarness>true</useUIHarness>
80           <useUIThread>false</useUIThread>
81           <product>org.eclipse.sdk.ide</product>
82           <argLine>${ui.test.vmargs}</argLine>
83           <application>org.eclipse.ui.ide.workbench</application>
84           <dependencies>
85             <dependency>
86               <type>p2-installable-unit</type>
87               <groupId>org.eclipse.egit.feature</groupId>
88               <artifactId>org.eclipse.egit.feature.group</artifactId>
89               <version>3.2.0</version>
90             </dependency>
91             <dependency>
92               <type>p2-installable-unit</type>
93               <groupId>org.eclipse.jgit.feature</groupId>
94               <artifactId>org.eclipse.jgit.feature.group</artifactId>
95               <version>3.2.0</version>
96             </dependency>
97             <dependency>
98               <type>p2-installable-unit</type>
99               <artifactId>org.eclipse.pde.feature.group</artifactId>
100               <version>${platform-version}</version>
101             </dependency>
102             <dependency>
103               <type>p2-installable-unit</type>
104               <artifactId>org.eclipse.cvs.feature.group</artifactId>
105               <version>[1.1.2,2.0.0)</version>
106             </dependency>
107            </dependencies>
108         </configuration>
109       </plugin>
110     </plugins>
111   </build>
112 </project>