Prepare 3.4.2-SNAPSHOT builds
[egit/eclipse.git] / org.eclipse.egit.mylyn.ui.test / pom.xml
blob3eba276fe53091cee8414fb82da87a910c60284a
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3    Copyright (C) 2011, Benjamin Muskalla <benjamin.muskalla@tasktop.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.4.2-SNAPSHOT</version>
20   </parent>
22   <artifactId>org.eclipse.egit.mylyn.ui.test</artifactId>
23   <packaging>eclipse-test-plugin</packaging>
25   <name>EGit Mylyn UI Test Plug-in</name>
27   <profiles>
28     <profile>
29       <id>skip-ui-tests</id>
30       <activation>
31         <property>
32           <name>skip-ui-tests</name>
33         </property>
34       </activation>
35       <properties>
36         <maven.test.skip>true</maven.test.skip>
37       </properties>
38     </profile>
39     <profile>
40       <id>macosx</id>
41       <activation>
42         <os>
43           <name>mac os x</name>
44           <family>mac</family>
45         </os>
46       </activation>
47       <properties>
48         <ui.test.vmargs>-Xmx512m -XX:MaxPermSize=256m -XstartOnFirstThread</ui.test.vmargs>
49       </properties>
50     </profile>
51     <profile>
52       <id>other-os</id>
53       <activation>
54         <os>
55           <name>not-mac</name>
56           <family>!mac</family>
57         </os>
58       </activation>
59       <properties>
60         <ui.test.vmargs>-Xmx512m -XX:MaxPermSize=256m</ui.test.vmargs>
61       </properties>
62     </profile>
63   </profiles>
65   <build>
66     <plugins>
67       <plugin>
68         <groupId>org.eclipse.tycho</groupId>
69         <artifactId>tycho-surefire-plugin</artifactId>
70         <version>${tycho-version}</version>
71         <configuration>
72           <includes>
73             <include>**/*Test.java</include>
74           </includes>
75           <useUIHarness>true</useUIHarness>
76           <useUIThread>true</useUIThread>
77           <product>org.eclipse.sdk.ide</product>
78           <argLine>${ui.test.vmargs}</argLine>
79           <application>org.eclipse.ui.ide.workbench</application>
80           <dependency-resolution>
81             <extraRequirements>
82               <requirement>
83                 <type>eclipse-feature</type>
84                 <id>org.eclipse.jgit.java7</id>
85                 <versionRange>0.0.0</versionRange>
86               </requirement>
87             </extraRequirements>
88           </dependency-resolution>
89           <dependencies>
90             <dependency>
91               <type>p2-installable-unit</type>
92               <artifactId>org.eclipse.egit.feature.group</artifactId>
93               <version>3.4.2</version>
94             </dependency>
95             <dependency>
96               <type>p2-installable-unit</type>
97               <artifactId>org.eclipse.egit.mylyn.feature.group</artifactId>
98               <version>3.4.2</version>
99             </dependency>
100             <dependency>
101               <type>p2-installable-unit</type>
102               <artifactId>org.eclipse.jgit.feature.group</artifactId>
103               <version>3.4.2</version>
104             </dependency>
105             <dependency>
106               <type>p2-installable-unit</type>
107               <artifactId>org.eclipse.pde.feature.group</artifactId>
108               <version>${platform-version}</version>
109             </dependency>
110             <dependency>
111               <type>p2-installable-unit</type>
112               <artifactId>org.eclipse.cvs.feature.group</artifactId>
113               <version>[1.1.2,2.0.0)</version>
114             </dependency>
115            </dependencies>
116         </configuration>
117       </plugin>
118     </plugins>
119   </build>
120   <dependencies>
121     <dependency>
122       <groupId>junit</groupId>
123       <artifactId>junit</artifactId>
124       <scope>test</scope>
125     </dependency>
126   </dependencies>
127 </project>