Add property to control GTK version used in SWTBot tests
[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>1.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.22.0</tycho-version>
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>
45 <target-platform>tracecompass-eStaging</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.7</sonar.java.source>
50 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
51 <help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/4.4</help-docs-eclipserun-repo>
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>
54 </properties>
55
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>
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>
70 </pluginRepositories>
71
72 <profiles>
73 <profile>
74 <id>build-rcp</id>
75 <modules>
76 <module>org.eclipse.tracecompass.rcp.product</module>
77 </modules>
78 </profile>
79 <profile>
80 <id>sign-update-site</id>
81 <build>
82 <plugins>
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>
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>
104 <phase>package</phase>
105 <goals>
106 <goal>sign</goal>
107 </goals>
108 </execution>
109 </executions>
110 </plugin>
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>
125 </plugins>
126 </build>
127 </profile>
128 <profile>
129 <id>performance</id>
130 <modules>
131 <module>org.eclipse.tracecompass.alltests</module>
132 </modules>
133 </profile>
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>
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>
155 </properties>
156 </profile>
157 </profiles>
158
159 <modules>
160 <module>doc</module>
161 <module>org.eclipse.tracecompass.common.core</module>
162
163 <module>org.eclipse.tracecompass.btf</module>
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>
167
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>
173
174 <module>org.eclipse.tracecompass.pcap.core</module>
175 <module>org.eclipse.tracecompass.pcap.core.tests</module>
176
177 <module>org.eclipse.tracecompass.statesystem.core</module>
178 <module>org.eclipse.tracecompass.statesystem.core.tests</module>
179
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>
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>
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>
202
203 <module>org.eclipse.tracecompass.tmf.remote</module>
204 <module>org.eclipse.tracecompass.tmf.remote.core</module>
205 <module>org.eclipse.tracecompass.tmf.remote.core.tests</module>
206 <module>org.eclipse.tracecompass.tmf.remote.ui</module>
207 <module>org.eclipse.tracecompass.tmf.remote.ui.swtbot.tests</module>
208
209 <module>org.eclipse.tracecompass.tmf.remote.ui.tests</module>
210
211 <module>org.eclipse.tracecompass.releng-site</module>
212 <module>org.eclipse.tracecompass.target</module>
213 <module>org.eclipse.tracecompass.testing</module>
214
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
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>
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>
236
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>
242
243 <module>org.eclipse.tracecompass.rcp.branding</module>
244 <module>org.eclipse.tracecompass.rcp.branding.feature</module>
245 <module>org.eclipse.tracecompass.rcp</module>
246 <module>org.eclipse.tracecompass.rcp.ui</module>
247
248 <module>org.eclipse.tracecompass.examples</module>
249 </modules>
250
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>
258 <includePackedArtifacts>true</includePackedArtifacts>
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>
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>
285 </environments>
286 <target>
287 <artifact>
288 <groupId>org.eclipse.tracecompass</groupId>
289 <artifactId>org.eclipse.tracecompass.target</artifactId>
290 <classifier>${target-platform}</classifier>
291 <version>1.0.0</version>
292 </artifact>
293 </target>
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>
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>
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>
344 <version>0.7.4.201502262128</version>
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>
355 <include>org.eclipse.tracecompass.*</include>
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>
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>
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>
412 <useProjectSettings>true</useProjectSettings>
413 </configuration>
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>
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>
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>
475 <plugin>
476 <groupId>org.apache.maven.plugins</groupId>
477 <artifactId>maven-resources-plugin</artifactId>
478 <version>2.7</version>
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>
486 <version>1.8</version>
487 </plugin>
488 <plugin>
489 <groupId>org.apache.maven.plugins</groupId>
490 <artifactId>maven-site-plugin</artifactId>
491 <version>3.4</version>
492 </plugin>
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>
508 <plugin>
509 <groupId>org.apache.maven.plugins</groupId>
510 <artifactId>maven-project-info-reports-plugin</artifactId>
511 <version>2.8</version>
512 </plugin>
513 <plugin>
514 <groupId>org.apache.maven.plugins</groupId>
515 <artifactId>maven-javadoc-plugin</artifactId>
516 <version>2.10.1</version>
517 <configuration>
518 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*</excludePackageNames>
519 </configuration>
520 </plugin>
521 <plugin>
522 <groupId>org.jboss.tools.tycho-plugins</groupId>
523 <artifactId>repository-utils</artifactId>
524 <version>0.22.0</version>
525 </plugin>
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>
563 </plugins>
564 </pluginManagement>
565 </build>
566
567 </project>
This page took 0.042269 seconds and 6 git commands to generate.