Fix SWTBot keyboard failure on headless Mac
[deliverable/tracecompass.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2011, Red Hat, Inc.
4
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 -->
10
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>
15
16 <prerequisites>
17 <maven>3.0</maven>
18 </prerequisites>
19
20 <groupId>org.eclipse.tracecompass</groupId>
21 <artifactId>org.eclipse.tracecompass</artifactId>
22 <version>2.0.0-SNAPSHOT</version>
23 <packaging>pom</packaging>
24 <name>Trace Compass Parent</name>
25
26 <licenses>
27 <license>
28 <name>Eclipse Public License v1.0</name>
29 <comments>
30 All rights reserved.
31
32 This program and the accompanying materials are made
33 available under the terms of the Eclipse Public License v1.0
34 which accompanies this distribution, and is available at
35 http://www.eclipse.org/legal/epl-v10.htm
36 </comments>
37 </license>
38 </licenses>
39
40 <properties>
41 <base.test.vmargs>-Xms256m -Xmx1024m -XX:MaxPermSize=256m</base.test.vmargs>
42 <tycho-version>0.24.0</tycho-version>
43 <tycho-extras-version>0.24.0</tycho-extras-version>
44 <tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/tracecompass/org.eclipse.tracecompass.git</tycho.scmUrl>
45 <target-platform>tracecompass-e4.5</target-platform>
46 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
47 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
48 <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
49 <sonar.java.source>1.8</sonar.java.source>
50 <sonar.exclusions>**/tests/**,**/test/**,**/stubs/**,**/Messages*,**/alltests/**</sonar.exclusions>
51 <sonar.skippedModules>org.eclipse.tracecompass.ctf.parser,org.eclipse.tracecompass.examples</sonar.skippedModules>
52 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
53 <help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/4.5</help-docs-eclipserun-repo>
54 <!-- Disable GTK3 because it's not quite usable yet and it can make the tests hang (bug in IcedTea http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1736) -->
55 <SWT_GTK3>0</SWT_GTK3>
56 </properties>
57
58 <pluginRepositories>
59 <pluginRepository>
60 <id>repo.eclipse.org</id>
61 <url>https://repo.eclipse.org/content/groups/releases/</url>
62 </pluginRepository>
63 <pluginRepository>
64 <id>tycho-snapshots</id>
65 <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
66 </pluginRepository>
67 <pluginRepository>
68 <id>jboss-public-repository-group</id>
69 <name>JBoss Public Repository Group</name>
70 <url>http://repository.jboss.org/nexus/content/groups/public/</url>
71 </pluginRepository>
72 </pluginRepositories>
73
74 <profiles>
75 <profile>
76 <id>sign-update-site</id>
77 <build>
78 <plugins>
79 <plugin>
80 <groupId>org.eclipse.tycho.extras</groupId>
81 <artifactId>tycho-pack200a-plugin</artifactId>
82 <version>${tycho-extras-version}</version>
83 <executions>
84 <execution>
85 <id>pack200-normalize</id>
86 <goals>
87 <goal>normalize</goal>
88 </goals>
89 <phase>package</phase>
90 </execution>
91 </executions>
92 </plugin>
93 <plugin>
94 <groupId>org.eclipse.cbi.maven.plugins</groupId>
95 <artifactId>eclipse-jarsigner-plugin</artifactId>
96 <version>1.1.2</version>
97 <executions>
98 <execution>
99 <id>sign</id>
100 <phase>package</phase>
101 <goals>
102 <goal>sign</goal>
103 </goals>
104 </execution>
105 </executions>
106 </plugin>
107 <plugin>
108 <groupId>org.eclipse.tycho.extras</groupId>
109 <artifactId>tycho-pack200b-plugin</artifactId>
110 <version>${tycho-extras-version}</version>
111 <executions>
112 <execution>
113 <id>pack200-pack</id>
114 <goals>
115 <goal>pack</goal>
116 </goals>
117 <phase>package</phase>
118 </execution>
119 </executions>
120 </plugin>
121 </plugins>
122 </build>
123 </profile>
124 <profile>
125 <id>macosx</id>
126 <activation>
127 <os>
128 <family>mac</family>
129 </os>
130 </activation>
131 <properties>
132 <base.ui.test.vmargs>${base.test.vmargs} -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Djava.awt.headless=false</base.ui.test.vmargs>
133 </properties>
134 </profile>
135 <profile>
136 <id>not-macosx</id>
137 <activation>
138 <os>
139 <family>!mac</family>
140 </os>
141 </activation>
142 <properties>
143 <!-- Disable webkit integration, especially unstable on Linux -->
144 <base.ui.test.vmargs>${base.test.vmargs} -Dorg.eclipse.swt.browser.DefaultType=mozilla</base.ui.test.vmargs>
145 </properties>
146 </profile>
147 </profiles>
148
149 <modules>
150 <module>analysis</module>
151 <module>btf</module>
152 <module>common</module>
153 <module>ctf</module>
154 <module>doc</module>
155 <module>gdbtrace</module>
156 <module>lttng</module>
157 <module>pcap</module>
158 <module>rcp</module>
159 <module>releng</module>
160 <module>statesystem</module>
161 <module>tmf</module>
162 </modules>
163
164 <build>
165 <plugins>
166 <plugin>
167 <groupId>org.eclipse.tycho</groupId>
168 <artifactId>target-platform-configuration</artifactId>
169 <configuration>
170 <includePackedArtifacts>true</includePackedArtifacts>
171 <environments>
172 <environment>
173 <os>win32</os>
174 <ws>win32</ws>
175 <arch>x86</arch>
176 </environment>
177 <environment>
178 <os>win32</os>
179 <ws>win32</ws>
180 <arch>x86_64</arch>
181 </environment>
182 <environment>
183 <os>macosx</os>
184 <ws>cocoa</ws>
185 <arch>x86_64</arch>
186 </environment>
187 <environment>
188 <os>linux</os>
189 <ws>gtk</ws>
190 <arch>x86</arch>
191 </environment>
192 <environment>
193 <os>linux</os>
194 <ws>gtk</ws>
195 <arch>x86_64</arch>
196 </environment>
197 </environments>
198 <target>
199 <artifact>
200 <groupId>org.eclipse.tracecompass</groupId>
201 <artifactId>org.eclipse.tracecompass.target</artifactId>
202 <classifier>${target-platform}</classifier>
203 <version>2.0.0</version>
204 </artifact>
205 </target>
206 </configuration>
207 </plugin>
208 <plugin>
209 <groupId>org.eclipse.tycho</groupId>
210 <artifactId>tycho-maven-plugin</artifactId>
211 <version>${tycho-version}</version>
212 <extensions>true</extensions>
213 </plugin>
214 <plugin>
215 <groupId>org.eclipse.tycho</groupId>
216 <artifactId>tycho-source-plugin</artifactId>
217 <version>${tycho-version}</version>
218 <executions>
219 <execution>
220 <id>plugin-source</id>
221 <goals>
222 <goal>plugin-source</goal>
223 </goals>
224 </execution>
225 </executions>
226 </plugin>
227 <plugin>
228 <groupId>org.eclipse.tycho.extras</groupId>
229 <artifactId>tycho-source-feature-plugin</artifactId>
230 <version>${tycho-version}</version>
231 <configuration>
232 <includeBinaryFeature>false</includeBinaryFeature>
233 </configuration>
234 <executions>
235 <execution>
236 <id>source-feature</id>
237 <phase>package</phase>
238 <goals>
239 <goal>source-feature</goal>
240 </goals>
241 </execution>
242 </executions>
243 </plugin>
244 <plugin>
245 <groupId>org.jacoco</groupId>
246 <artifactId>jacoco-maven-plugin</artifactId>
247 <version>0.7.4.201502262128</version>
248 <executions>
249 <execution>
250 <id>pre-test</id>
251 <goals>
252 <goal>prepare-agent</goal>
253 </goals>
254 <configuration>
255 <!-- Where to put jacoco coverage report -->
256 <destFile>${sonar.jacoco.reportPath}</destFile>
257 <includes>
258 <include>org.eclipse.tracecompass.*</include>
259 </includes>
260 <append>true</append>
261 </configuration>
262 </execution>
263 <execution>
264 <id>post-test</id>
265 <phase>post-integration-test</phase>
266 <goals>
267 <goal>report</goal>
268 </goals>
269 <configuration>
270 <dataFile>${sonar.jacoco.reportPath}</dataFile>
271 </configuration>
272 </execution>
273 </executions>
274 </plugin>
275 <plugin>
276 <groupId>org.eclipse.tycho.extras</groupId>
277 <artifactId>tycho-pack200b-plugin</artifactId>
278 <version>${tycho-extras-version}</version>
279 <executions>
280 <execution>
281 <id>pack200-pack</id>
282 <goals>
283 <goal>pack</goal>
284 </goals>
285 <phase>package</phase>
286 </execution>
287 </executions>
288 </plugin>
289 <plugin>
290 <groupId>org.eclipse.tycho</groupId>
291 <artifactId>tycho-p2-plugin</artifactId>
292 <executions>
293 <execution>
294 <id>p2-metadata</id>
295 <goals>
296 <goal>p2-metadata</goal>
297 </goals>
298 <phase>package</phase>
299 </execution>
300 </executions>
301 <configuration>
302 <defaultP2Metadata>false</defaultP2Metadata>
303 </configuration>
304 </plugin>
305 </plugins>
306 <pluginManagement>
307 <plugins>
308 <plugin>
309 <groupId>org.eclipse.tycho</groupId>
310 <artifactId>tycho-compiler-plugin</artifactId>
311 <version>${tycho-version}</version>
312 <configuration>
313 <encoding>UTF-8</encoding>
314 <useProjectSettings>true</useProjectSettings>
315 <compilerArguments>
316 <annotationpath>common/org.eclipse.tracecompass.common.core/annotations</annotationpath>
317 </compilerArguments>
318 </configuration>
319 </plugin>
320 <plugin>
321 <groupId>org.eclipse.tycho</groupId>
322 <artifactId>target-platform-configuration</artifactId>
323 <version>${tycho-version}</version>
324 </plugin>
325 <plugin>
326 <groupId>org.eclipse.tycho</groupId>
327 <artifactId>tycho-p2-plugin</artifactId>
328 <version>${tycho-version}</version>
329 </plugin>
330 <plugin>
331 <groupId>org.eclipse.tycho</groupId>
332 <artifactId>tycho-p2-publisher-plugin</artifactId>
333 <version>${tycho-version}</version>
334 </plugin>
335 <plugin>
336 <groupId>org.eclipse.tycho</groupId>
337 <artifactId>tycho-p2-repository-plugin</artifactId>
338 <version>${tycho-version}</version>
339 </plugin>
340 <plugin>
341 <groupId>org.eclipse.tycho</groupId>
342 <artifactId>tycho-surefire-plugin</artifactId>
343 <version>${tycho-version}</version>
344 <configuration>
345 <useUIHarness>true</useUIHarness>
346 <useUIThread>true</useUIThread>
347 <dependencies>
348 <dependency>
349 <type>p2-installable-unit</type>
350 <artifactId>org.eclipse.platform.feature.group</artifactId>
351 <version>${sdk-version}</version>
352 </dependency>
353 </dependencies>
354 <product>org.eclipse.platform.ide</product>
355 <argLine>${tycho.testArgLine} -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m</argLine>
356 </configuration>
357 </plugin>
358 <plugin>
359 <groupId>org.eclipse.tycho</groupId>
360 <artifactId>tycho-versions-plugin</artifactId>
361 <version>${tycho-version}</version>
362 </plugin>
363 <plugin>
364 <groupId>org.eclipse.tycho</groupId>
365 <artifactId>tycho-packaging-plugin</artifactId>
366 <version>${tycho-version}</version>
367 <configuration>
368 <sourceReferences>
369 <generate>true</generate>
370 </sourceReferences>
371 </configuration>
372 <dependencies>
373 <dependency>
374 <groupId>org.eclipse.tycho.extras</groupId>
375 <artifactId>tycho-sourceref-jgit</artifactId>
376 <version>${tycho-extras-version}</version>
377 </dependency>
378 </dependencies>
379 </plugin>
380 <plugin>
381 <groupId>org.apache.maven.plugins</groupId>
382 <artifactId>maven-resources-plugin</artifactId>
383 <version>2.7</version>
384 <configuration>
385 <encoding>UTF-8</encoding>
386 </configuration>
387 </plugin>
388 <plugin>
389 <groupId>org.apache.maven.plugins</groupId>
390 <artifactId>maven-antrun-plugin</artifactId>
391 <version>1.8</version>
392 </plugin>
393 <plugin>
394 <groupId>org.apache.maven.plugins</groupId>
395 <artifactId>maven-site-plugin</artifactId>
396 <version>3.4</version>
397 </plugin>
398 <plugin>
399 <groupId>org.apache.maven.plugins</groupId>
400 <artifactId>maven-clean-plugin</artifactId>
401 <version>2.6.1</version>
402 </plugin>
403 <plugin>
404 <groupId>org.apache.maven.plugins</groupId>
405 <artifactId>maven-deploy-plugin</artifactId>
406 <version>2.8.2</version>
407 </plugin>
408 <plugin>
409 <groupId>org.apache.maven.plugins</groupId>
410 <artifactId>maven-install-plugin</artifactId>
411 <version>2.5.2</version>
412 </plugin>
413 <plugin>
414 <groupId>org.apache.maven.plugins</groupId>
415 <artifactId>maven-project-info-reports-plugin</artifactId>
416 <version>2.8</version>
417 </plugin>
418 <plugin>
419 <groupId>org.apache.maven.plugins</groupId>
420 <artifactId>maven-javadoc-plugin</artifactId>
421 <version>2.10.1</version>
422 <configuration>
423 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*</excludePackageNames>
424 </configuration>
425 </plugin>
426 <plugin>
427 <groupId>org.jboss.tools.tycho-plugins</groupId>
428 <artifactId>repository-utils</artifactId>
429 <version>0.23.2</version>
430 </plugin>
431 <plugin>
432 <groupId>org.codehaus.mojo</groupId>
433 <artifactId>sonar-maven-plugin</artifactId>
434 <version>2.6</version>
435 </plugin>
436 <plugin>
437 <groupId>org.eclipse.tycho.extras</groupId>
438 <artifactId>tycho-eclipserun-plugin</artifactId>
439 <version>${tycho-extras-version}</version>
440 <configuration>
441 <dependencies>
442 <dependency>
443 <artifactId>org.apache.ant</artifactId>
444 <type>eclipse-plugin</type>
445 </dependency>
446 <dependency>
447 <artifactId>org.eclipse.help.base</artifactId>
448 <type>eclipse-plugin</type>
449 </dependency>
450 <dependency>
451 <artifactId>org.eclipse.ant.core</artifactId>
452 <type>eclipse-plugin</type>
453 </dependency>
454 </dependencies>
455 <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
456 <repositories>
457 <repository>
458 <id>platform</id>
459 <layout>p2</layout>
460 <url>${help-docs-eclipserun-repo}</url>
461 </repository>
462 </repositories>
463 </configuration>
464 <executions>
465 <execution>
466 <goals>
467 <goal>eclipse-run</goal>
468 </goals>
469 <phase>compile</phase>
470 </execution>
471 </executions>
472 </plugin>
473 </plugins>
474 </pluginManagement>
475 </build>
476
477 </project>
This page took 0.041463 seconds and 6 git commands to generate.