Add property to control GTK version used in SWTBot tests
[deliverable/tracecompass.git] / pom.xml
CommitLineData
89882f20
SG
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
8336b412
AM
20 <groupId>org.eclipse.tracecompass</groupId>
21 <artifactId>org.eclipse.tracecompass</artifactId>
c7e8f6e3 22 <version>1.0.0-SNAPSHOT</version>
89882f20 23 <packaging>pom</packaging>
8336b412 24 <name>Trace Compass Parent</name>
89882f20
SG
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>
5b953e7c
MAL
39
40<properties>
41 <base.test.vmargs>-Xms256m -Xmx1024m -XX:MaxPermSize=256m</base.test.vmargs>
5194c8ca 42 <tycho-version>0.22.0</tycho-version>
5bc05277
MAL
43 <tycho-extras-version>0.22.0</tycho-extras-version>
44 <tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/tracecompass/org.eclipse.tracecompass.git</tycho.scmUrl>
f696c579 45 <target-platform>tracecompass-eStaging</target-platform>
33112414
AM
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.7</sonar.java.source>
50 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
887cb879 51 <help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/4.4</help-docs-eclipserun-repo>
c4998bb2
MAL
52 <!-- 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) -->
53 <SWT_GTK3>0</SWT_GTK3>
5b953e7c
MAL
54</properties>
55
33112414
AM
56<pluginRepositories>
57 <pluginRepository>
58 <id>repo.eclipse.org</id>
59 <url>https://repo.eclipse.org/content/groups/releases/</url>
60 </pluginRepository>
61 <pluginRepository>
62 <id>tycho-snapshots</id>
63 <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
64 </pluginRepository>
d538e443
MAL
65 <pluginRepository>
66 <id>jboss-public-repository-group</id>
67 <name>JBoss Public Repository Group</name>
68 <url>http://repository.jboss.org/nexus/content/groups/public/</url>
69 </pluginRepository>
33112414
AM
70</pluginRepositories>
71
422f0fb8 72<profiles>
9c0ffa34 73 <profile>
e09a2e40 74 <id>build-rcp</id>
9c0ffa34 75 <modules>
9d26aebf 76 <module>org.eclipse.tracecompass.rcp.product</module>
9c0ffa34
BH
77 </modules>
78 </profile>
bbd79a63
MAL
79 <profile>
80 <id>sign-update-site</id>
81 <build>
82 <plugins>
3870d08a
MAL
83 <plugin>
84 <groupId>org.eclipse.tycho.extras</groupId>
85 <artifactId>tycho-pack200a-plugin</artifactId>
86 <version>${tycho-extras-version}</version>
87 <executions>
88 <execution>
89 <id>pack200-normalize</id>
90 <goals>
91 <goal>normalize</goal>
92 </goals>
93 <phase>package</phase>
94 </execution>
95 </executions>
96 </plugin>
bbd79a63
MAL
97 <plugin>
98 <groupId>org.eclipse.cbi.maven.plugins</groupId>
99 <artifactId>eclipse-jarsigner-plugin</artifactId>
100 <version>1.1.1</version>
101 <executions>
102 <execution>
103 <id>sign</id>
3870d08a 104 <phase>package</phase>
bbd79a63
MAL
105 <goals>
106 <goal>sign</goal>
107 </goals>
108 </execution>
109 </executions>
110 </plugin>
e3651426
MAL
111 <plugin>
112 <groupId>org.eclipse.tycho.extras</groupId>
113 <artifactId>tycho-pack200b-plugin</artifactId>
114 <version>${tycho-extras-version}</version>
115 <executions>
116 <execution>
117 <id>pack200-pack</id>
118 <goals>
119 <goal>pack</goal>
120 </goals>
121 <phase>package</phase>
122 </execution>
123 </executions>
124 </plugin>
bbd79a63
MAL
125 </plugins>
126 </build>
127 </profile>
a167a565
MAL
128 <profile>
129 <id>performance</id>
130 <modules>
83dbbb62 131 <module>org.eclipse.tracecompass.alltests</module>
a167a565
MAL
132 </modules>
133 </profile>
5b953e7c
MAL
134 <profile>
135 <id>macosx</id>
136 <activation>
137 <os>
138 <family>mac</family>
139 </os>
140 </activation>
141 <properties>
142 <base.ui.test.vmargs>${base.test.vmargs} -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</base.ui.test.vmargs>
143 </properties>
144 </profile>
145 <profile>
146 <id>not-macosx</id>
147 <activation>
148 <os>
149 <family>!mac</family>
150 </os>
151 </activation>
152 <properties>
e6d4bff0
MAL
153 <!-- Disable webkit integration, especially unstable on Linux -->
154 <base.ui.test.vmargs>${base.test.vmargs} -Dorg.eclipse.swt.browser.DefaultType=mozilla</base.ui.test.vmargs>
5b953e7c
MAL
155 </properties>
156 </profile>
422f0fb8
BH
157</profiles>
158
89882f20 159 <modules>
8995fed0 160 <module>doc</module>
e110fed1
AM
161 <module>org.eclipse.tracecompass.common.core</module>
162
850e65ac 163 <module>org.eclipse.tracecompass.btf</module>
98f65be9
AM
164 <module>org.eclipse.tracecompass.btf.core</module>
165 <module>org.eclipse.tracecompass.btf.core.tests</module>
166 <module>org.eclipse.tracecompass.btf.ui</module>
ff71e543 167
9da723c0
AM
168 <module>org.eclipse.tracecompass.ctf</module>
169 <module>org.eclipse.tracecompass.ctf.core</module>
170 <module>org.eclipse.tracecompass.ctf.core.tests</module>
171 <module>org.eclipse.tracecompass.ctf.parser</module>
172 <module>org.eclipse.tracecompass.ctf.parser.tests</module>
866e5b51 173
93f3824e
AM
174 <module>org.eclipse.tracecompass.pcap.core</module>
175 <module>org.eclipse.tracecompass.pcap.core.tests</module>
b2b163e9 176
fbdee51b
AM
177 <module>org.eclipse.tracecompass.statesystem.core</module>
178 <module>org.eclipse.tracecompass.statesystem.core.tests</module>
bcec0116 179
c77a695a
AM
180 <module>org.eclipse.tracecompass.tmf</module>
181 <module>org.eclipse.tracecompass.tmf.core</module>
182 <module>org.eclipse.tracecompass.tmf.core.tests</module>
183 <module>org.eclipse.tracecompass.tmf.ui</module>
184 <module>org.eclipse.tracecompass.tmf.ui.tests</module>
185 <module>org.eclipse.tracecompass.tmf.ui.swtbot.tests</module>
c77a695a
AM
186
187 <module>org.eclipse.tracecompass.tmf.ctf</module>
188 <module>org.eclipse.tracecompass.tmf.ctf.core</module>
189 <module>org.eclipse.tracecompass.tmf.ctf.core.tests</module>
190 <module>org.eclipse.tracecompass.tmf.ctf.ui.swtbot.tests</module>
191
192 <module>org.eclipse.tracecompass.tmf.pcap</module>
193 <module>org.eclipse.tracecompass.tmf.pcap.core</module>
194 <module>org.eclipse.tracecompass.tmf.pcap.core.tests</module>
195 <module>org.eclipse.tracecompass.tmf.pcap.ui</module>
196 <module>org.eclipse.tracecompass.tmf.pcap.ui.swtbot.tests</module>
c77a695a
AM
197
198 <module>org.eclipse.tracecompass.tmf.analysis.xml.core</module>
199 <module>org.eclipse.tracecompass.tmf.analysis.xml.core.tests</module>
200 <module>org.eclipse.tracecompass.tmf.analysis.xml.ui</module>
201 <module>org.eclipse.tracecompass.tmf.analysis.xml.ui.tests</module>
faf37fd0 202
ec619615
BH
203 <module>org.eclipse.tracecompass.tmf.remote</module>
204 <module>org.eclipse.tracecompass.tmf.remote.core</module>
1d6a2139 205 <module>org.eclipse.tracecompass.tmf.remote.core.tests</module>
ec619615 206 <module>org.eclipse.tracecompass.tmf.remote.ui</module>
6614e196 207 <module>org.eclipse.tracecompass.tmf.remote.ui.swtbot.tests</module>
ec619615 208
911efc8f
MAL
209 <module>org.eclipse.tracecompass.tmf.remote.ui.tests</module>
210
8336b412
AM
211 <module>org.eclipse.tracecompass.releng-site</module>
212 <module>org.eclipse.tracecompass.target</module>
556101f3 213 <module>org.eclipse.tracecompass.testing</module>
c9b530b0 214
e363eae1
AM
215 <module>org.eclipse.tracecompass.analysis.os.linux.core</module>
216 <module>org.eclipse.tracecompass.analysis.os.linux.core.tests</module>
217 <module>org.eclipse.tracecompass.analysis.os.linux.ui</module>
218
86703386
AM
219 <module>org.eclipse.tracecompass.lttng2.control</module>
220 <module>org.eclipse.tracecompass.lttng2.control.core</module>
221 <module>org.eclipse.tracecompass.lttng2.control.core.tests</module>
222 <module>org.eclipse.tracecompass.lttng2.control.ui</module>
223 <module>org.eclipse.tracecompass.lttng2.control.ui.tests</module>
224
225 <module>org.eclipse.tracecompass.lttng2.kernel</module>
226 <module>org.eclipse.tracecompass.lttng2.kernel.core</module>
227 <module>org.eclipse.tracecompass.lttng2.kernel.core.tests</module>
228 <module>org.eclipse.tracecompass.lttng2.kernel.ui</module>
86703386
AM
229 <module>org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests</module>
230
231 <module>org.eclipse.tracecompass.lttng2.ust</module>
232 <module>org.eclipse.tracecompass.lttng2.ust.core</module>
233 <module>org.eclipse.tracecompass.lttng2.ust.core.tests</module>
234 <module>org.eclipse.tracecompass.lttng2.ust.ui</module>
235 <module>org.eclipse.tracecompass.lttng2.ust.ui.tests</module>
91fc3690 236
374cd3cd
AM
237 <module>org.eclipse.tracecompass.gdbtrace</module>
238 <module>org.eclipse.tracecompass.gdbtrace.core</module>
239 <module>org.eclipse.tracecompass.gdbtrace.core.tests</module>
240 <module>org.eclipse.tracecompass.gdbtrace.ui</module>
241 <module>org.eclipse.tracecompass.gdbtrace.ui.tests</module>
3bdf8523 242
a6140f01
AM
243 <module>org.eclipse.tracecompass.rcp.branding</module>
244 <module>org.eclipse.tracecompass.rcp.branding.feature</module>
245 <module>org.eclipse.tracecompass.rcp</module>
a6140f01 246 <module>org.eclipse.tracecompass.rcp.ui</module>
d9ac72f4 247
556101f3 248 <module>org.eclipse.tracecompass.examples</module>
89882f20
SG
249 </modules>
250
9c0ffa34
BH
251 <build>
252 <plugins>
253 <plugin>
254 <groupId>org.eclipse.tycho</groupId>
255 <artifactId>target-platform-configuration</artifactId>
256 <version>${tycho-version}</version>
257 <configuration>
3870d08a 258 <includePackedArtifacts>true</includePackedArtifacts>
9c0ffa34
BH
259 <environments>
260 <environment>
261 <os>win32</os>
262 <ws>win32</ws>
263 <arch>x86</arch>
264 </environment>
265 <environment>
266 <os>win32</os>
267 <ws>win32</ws>
268 <arch>x86_64</arch>
269 </environment>
270 <environment>
271 <os>macosx</os>
272 <ws>cocoa</ws>
273 <arch>x86_64</arch>
274 </environment>
9c0ffa34
BH
275 <environment>
276 <os>linux</os>
277 <ws>gtk</ws>
278 <arch>x86</arch>
279 </environment>
280 <environment>
281 <os>linux</os>
282 <ws>gtk</ws>
283 <arch>x86_64</arch>
284 </environment>
9c0ffa34 285 </environments>
33112414
AM
286 <target>
287 <artifact>
8336b412
AM
288 <groupId>org.eclipse.tracecompass</groupId>
289 <artifactId>org.eclipse.tracecompass.target</artifactId>
33112414
AM
290 <classifier>${target-platform}</classifier>
291 <version>1.0.0</version>
292 </artifact>
293 </target>
9df8efff
MAL
294 <filters>
295 <filter>
296 <type>eclipse-plugin</type>
297 <id>org.eclipse.jdt.annotation</id>
298 <restrictTo>
299 <versionRange>[1.0,2.0)</versionRange>
300 </restrictTo>
301 </filter>
302 </filters>
9c0ffa34
BH
303 </configuration>
304 </plugin>
305 <plugin>
306 <groupId>org.eclipse.tycho</groupId>
307 <artifactId>tycho-maven-plugin</artifactId>
308 <version>${tycho-version}</version>
309 <extensions>true</extensions>
310 </plugin>
33112414
AM
311 <plugin>
312 <groupId>org.eclipse.tycho</groupId>
313 <artifactId>tycho-source-plugin</artifactId>
314 <version>${tycho-version}</version>
315 <executions>
316 <execution>
317 <id>plugin-source</id>
318 <goals>
319 <goal>plugin-source</goal>
320 </goals>
321 </execution>
322 </executions>
323 </plugin>
324 <plugin>
325 <groupId>org.eclipse.tycho.extras</groupId>
326 <artifactId>tycho-source-feature-plugin</artifactId>
327 <version>${tycho-version}</version>
328 <configuration>
329 <includeBinaryFeature>false</includeBinaryFeature>
330 </configuration>
331 <executions>
332 <execution>
333 <id>source-feature</id>
334 <phase>package</phase>
335 <goals>
336 <goal>source-feature</goal>
337 </goals>
338 </execution>
339 </executions>
340 </plugin>
341 <plugin>
342 <groupId>org.jacoco</groupId>
343 <artifactId>jacoco-maven-plugin</artifactId>
7679e68a 344 <version>0.7.4.201502262128</version>
33112414
AM
345 <executions>
346 <execution>
347 <id>pre-test</id>
348 <goals>
349 <goal>prepare-agent</goal>
350 </goals>
351 <configuration>
352 <!-- Where to put jacoco coverage report -->
353 <destFile>${sonar.jacoco.reportPath}</destFile>
354 <includes>
730dbd2a 355 <include>org.eclipse.tracecompass.*</include>
33112414
AM
356 </includes>
357 <append>true</append>
358 </configuration>
359 </execution>
360 <execution>
361 <id>post-test</id>
362 <phase>post-integration-test</phase>
363 <goals>
364 <goal>report</goal>
365 </goals>
366 <configuration>
367 <dataFile>${sonar.jacoco.reportPath}</dataFile>
368 </configuration>
369 </execution>
370 </executions>
371 </plugin>
3870d08a
MAL
372 <plugin>
373 <groupId>org.eclipse.tycho.extras</groupId>
374 <artifactId>tycho-pack200b-plugin</artifactId>
375 <version>${tycho-extras-version}</version>
376 <executions>
377 <execution>
378 <id>pack200-pack</id>
379 <goals>
380 <goal>pack</goal>
381 </goals>
382 <phase>package</phase>
383 </execution>
384 </executions>
385 </plugin>
386 <plugin>
387 <groupId>org.eclipse.tycho</groupId>
388 <artifactId>tycho-p2-plugin</artifactId>
389 <version>${tycho-version}</version>
390 <executions>
391 <execution>
392 <id>p2-metadata</id>
393 <goals>
394 <goal>p2-metadata</goal>
395 </goals>
396 <phase>package</phase>
397 </execution>
398 </executions>
399 <configuration>
400 <defaultP2Metadata>false</defaultP2Metadata>
401 </configuration>
402 </plugin>
33112414
AM
403 </plugins>
404 <pluginManagement>
405 <plugins>
406 <plugin>
407 <groupId>org.eclipse.tycho</groupId>
408 <artifactId>tycho-compiler-plugin</artifactId>
409 <version>${tycho-version}</version>
410 <configuration>
411 <encoding>UTF-8</encoding>
5194c8ca 412 <useProjectSettings>true</useProjectSettings>
33112414 413 </configuration>
7679e68a
MAL
414 </plugin>
415 <plugin>
416 <groupId>org.eclipse.tycho</groupId>
417 <artifactId>target-platform-configuration</artifactId>
418 <version>${tycho-version}</version>
419 </plugin>
420 <plugin>
421 <groupId>org.eclipse.tycho</groupId>
422 <artifactId>tycho-p2-plugin</artifactId>
423 <version>${tycho-version}</version>
424 </plugin>
425 <plugin>
426 <groupId>org.eclipse.tycho</groupId>
427 <artifactId>tycho-p2-publisher-plugin</artifactId>
428 <version>${tycho-version}</version>
429 </plugin>
430 <plugin>
431 <groupId>org.eclipse.tycho</groupId>
432 <artifactId>tycho-p2-repository-plugin</artifactId>
433 <version>${tycho-version}</version>
434 </plugin>
33112414
AM
435 <plugin>
436 <groupId>org.eclipse.tycho</groupId>
437 <artifactId>tycho-surefire-plugin</artifactId>
438 <version>${tycho-version}</version>
439 <configuration>
440 <useUIHarness>true</useUIHarness>
441 <useUIThread>true</useUIThread>
442 <dependencies>
443 <dependency>
444 <type>p2-installable-unit</type>
445 <artifactId>org.eclipse.platform.feature.group</artifactId>
446 <version>${sdk-version}</version>
447 </dependency>
448 </dependencies>
449 <product>org.eclipse.platform.ide</product>
450 <argLine>${tycho.testArgLine} -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m</argLine>
451 </configuration>
452 </plugin>
453 <plugin>
454 <groupId>org.eclipse.tycho</groupId>
455 <artifactId>tycho-versions-plugin</artifactId>
456 <version>${tycho-version}</version>
457 </plugin>
5bc05277
MAL
458 <plugin>
459 <groupId>org.eclipse.tycho</groupId>
460 <artifactId>tycho-packaging-plugin</artifactId>
461 <version>${tycho-version}</version>
462 <configuration>
463 <sourceReferences>
464 <generate>true</generate>
465 </sourceReferences>
466 </configuration>
467 <dependencies>
468 <dependency>
469 <groupId>org.eclipse.tycho.extras</groupId>
470 <artifactId>tycho-sourceref-jgit</artifactId>
471 <version>${tycho-extras-version}</version>
472 </dependency>
473 </dependencies>
474 </plugin>
33112414
AM
475 <plugin>
476 <groupId>org.apache.maven.plugins</groupId>
477 <artifactId>maven-resources-plugin</artifactId>
7679e68a 478 <version>2.7</version>
33112414
AM
479 <configuration>
480 <encoding>UTF-8</encoding>
481 </configuration>
482 </plugin>
483 <plugin>
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-antrun-plugin</artifactId>
7679e68a 486 <version>1.8</version>
33112414
AM
487 </plugin>
488 <plugin>
489 <groupId>org.apache.maven.plugins</groupId>
490 <artifactId>maven-site-plugin</artifactId>
491 <version>3.4</version>
492 </plugin>
7679e68a
MAL
493 <plugin>
494 <groupId>org.apache.maven.plugins</groupId>
495 <artifactId>maven-clean-plugin</artifactId>
496 <version>2.6.1</version>
497 </plugin>
498 <plugin>
499 <groupId>org.apache.maven.plugins</groupId>
500 <artifactId>maven-deploy-plugin</artifactId>
501 <version>2.8.2</version>
502 </plugin>
503 <plugin>
504 <groupId>org.apache.maven.plugins</groupId>
505 <artifactId>maven-install-plugin</artifactId>
506 <version>2.5.2</version>
507 </plugin>
33112414
AM
508 <plugin>
509 <groupId>org.apache.maven.plugins</groupId>
510 <artifactId>maven-project-info-reports-plugin</artifactId>
7679e68a 511 <version>2.8</version>
33112414
AM
512 </plugin>
513 <plugin>
514 <groupId>org.apache.maven.plugins</groupId>
515 <artifactId>maven-javadoc-plugin</artifactId>
7679e68a 516 <version>2.10.1</version>
33112414 517 <configuration>
730dbd2a 518 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*</excludePackageNames>
33112414
AM
519 </configuration>
520 </plugin>
d538e443
MAL
521 <plugin>
522 <groupId>org.jboss.tools.tycho-plugins</groupId>
523 <artifactId>repository-utils</artifactId>
5194c8ca 524 <version>0.22.0</version>
d538e443 525 </plugin>
887cb879
MAL
526 <plugin>
527 <groupId>org.eclipse.tycho.extras</groupId>
528 <artifactId>tycho-eclipserun-plugin</artifactId>
529 <version>${tycho-extras-version}</version>
530 <configuration>
531 <dependencies>
532 <dependency>
533 <artifactId>org.apache.ant</artifactId>
534 <type>eclipse-plugin</type>
535 </dependency>
536 <dependency>
537 <artifactId>org.eclipse.help.base</artifactId>
538 <type>eclipse-plugin</type>
539 </dependency>
540 <dependency>
541 <artifactId>org.eclipse.ant.core</artifactId>
542 <type>eclipse-plugin</type>
543 </dependency>
544 </dependencies>
545 <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
546 <repositories>
547 <repository>
548 <id>platform</id>
549 <layout>p2</layout>
550 <url>${help-docs-eclipserun-repo}</url>
551 </repository>
552 </repositories>
553 </configuration>
554 <executions>
555 <execution>
556 <goals>
557 <goal>eclipse-run</goal>
558 </goals>
559 <phase>compile</phase>
560 </execution>
561 </executions>
562 </plugin>
33112414
AM
563 </plugins>
564 </pluginManagement>
565 </build>
9c0ffa34 566
89882f20 567</project>
This page took 0.096465 seconds and 5 git commands to generate.