Prepare 3.6.1-SNAPSHOT builds
[egit/eclipse.git] / org.eclipse.egit.ui.test / pom.xml
blob1725ba2c01c0102bb01b05dcb59d1c96b40d0a7c
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.6.1-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>target-platform-configuration</artifactId>
74         <version>${tycho-version}</version>
75         <configuration>
76           <dependency-resolution>
77             <extraRequirements>
78               <requirement>
79                 <type>eclipse-feature</type>
80                 <id>org.eclipse.jgit</id>
81                 <versionRange>0.0.0</versionRange>
82               </requirement>
83               <requirement>
84                 <type>eclipse-feature</type>
85                 <id>org.eclipse.jgit.java7</id>
86                 <versionRange>0.0.0</versionRange>
87               </requirement>
88               <requirement>
89                 <type>eclipse-feature</type>
90                 <id>org.eclipse.egit</id>
91                 <versionRange>0.0.0</versionRange>
92               </requirement>
93               <requirement>
94                 <type>eclipse-feature</type>
95                 <id>org.eclipse.pde</id>
96                 <versionRange>${platform-version}</versionRange>
97               </requirement>
98               <requirement>
99                 <type>eclipse-feature</type>
100                 <id>org.eclipse.cvs</id>
101                 <versionRange>[1.1.2,2.0.0)</versionRange>
102               </requirement>
103             </extraRequirements>
104           </dependency-resolution>
105         </configuration>
106       </plugin>
107       <plugin>
108         <groupId>org.eclipse.tycho</groupId>
109         <artifactId>tycho-surefire-plugin</artifactId>
110         <version>${tycho-version}</version>
111         <configuration>
112           <includes>
113             <include>**/*Test.java</include>
114           </includes>
115           <useUIHarness>true</useUIHarness>
116           <useUIThread>false</useUIThread>
117           <product>org.eclipse.sdk.ide</product>
118           <argLine>${ui.test.vmargs}</argLine>
119           <application>org.eclipse.ui.ide.workbench</application>
120         </configuration>
121       </plugin>
122     </plugins>
123   </build>
124 </project>