tmf: Keep focused item aligned on vertical zoom
[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>
53e14a11 17 <maven>3.3</maven>
89882f20
SG
18 </prerequisites>
19
8336b412
AM
20 <groupId>org.eclipse.tracecompass</groupId>
21 <artifactId>org.eclipse.tracecompass</artifactId>
38a9b03f 22 <version>2.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 39
9541b578
AM
40 <properties>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
43
44 <tycho-version>0.24.0</tycho-version>
45 <tycho-extras-version>0.24.0</tycho-extras-version>
46 <tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/tracecompass/org.eclipse.tracecompass.git</tycho.scmUrl>
47 <target-platform>tracecompass-e4.5</target-platform>
48 <help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/4.5</help-docs-eclipserun-repo>
49
50 <!-- 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) -->
51 <SWT_GTK3>0</SWT_GTK3>
52
53 <!-- Sonar rule configuration -->
54 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
55 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
56 <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
57 <sonar.java.source>1.8</sonar.java.source>
58 <sonar.exclusions>**/tests/**,**/test/**,**/stubs/**,**/Messages*,**/alltests/**</sonar.exclusions>
59 <sonar.skippedModules>org.eclipse.tracecompass.ctf.parser,org.eclipse.tracecompass.examples</sonar.skippedModules>
206fbbca 60 <sonar.issue.ignore.multicriteria>e1,e2,e3,e4,e5,e6,e7,e8</sonar.issue.ignore.multicriteria>
9541b578
AM
61 <sonar.issue.ignore.multicriteria.e1.ruleKey>findbugs:NP_STORE_INTO_NONNULL_FIELD</sonar.issue.ignore.multicriteria.e1.ruleKey>
62 <sonar.issue.ignore.multicriteria.e1.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e1.resourceKey>
63 <sonar.issue.ignore.multicriteria.e2.ruleKey>findbugs:RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE</sonar.issue.ignore.multicriteria.e2.ruleKey>
64 <sonar.issue.ignore.multicriteria.e2.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e2.resourceKey>
65 <sonar.issue.ignore.multicriteria.e3.ruleKey>findbugs:NP_NONNULL_PARAM_VIOLATION</sonar.issue.ignore.multicriteria.e3.ruleKey>
66 <sonar.issue.ignore.multicriteria.e3.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e3.resourceKey>
67 <sonar.issue.ignore.multicriteria.e4.ruleKey>findbugs:NP_NULL_PARAM_DEREF_NONVIRTUAL</sonar.issue.ignore.multicriteria.e4.ruleKey>
68 <sonar.issue.ignore.multicriteria.e4.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e4.resourceKey>
69 <sonar.issue.ignore.multicriteria.e5.ruleKey>findbugs:NP_NONNULL_RETURN_VIOLATION</sonar.issue.ignore.multicriteria.e5.ruleKey>
70 <sonar.issue.ignore.multicriteria.e5.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e5.resourceKey>
71 <sonar.issue.ignore.multicriteria.e6.ruleKey>findbugs:NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR</sonar.issue.ignore.multicriteria.e6.ruleKey>
72 <sonar.issue.ignore.multicriteria.e6.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e6.resourceKey>
206fbbca
MAL
73 <sonar.issue.ignore.multicriteria.e7.ruleKey>findbugs:NP_NULL_PARAM_DEREF</sonar.issue.ignore.multicriteria.e7.ruleKey>
74 <sonar.issue.ignore.multicriteria.e7.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e7.resourceKey>
75 <sonar.issue.ignore.multicriteria.e8.ruleKey>findbugs:RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE</sonar.issue.ignore.multicriteria.e8.ruleKey>
76 <sonar.issue.ignore.multicriteria.e8.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e8.resourceKey>
9541b578
AM
77 </properties>
78
79 <pluginRepositories>
80 <pluginRepository>
81 <id>repo.eclipse.org</id>
82 <url>https://repo.eclipse.org/content/groups/releases/</url>
83 </pluginRepository>
84 <pluginRepository>
85 <id>tycho-snapshots</id>
86 <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
87 </pluginRepository>
88 <pluginRepository>
89 <id>jboss-public-repository-group</id>
90 <name>JBoss Public Repository Group</name>
91 <url>http://repository.jboss.org/nexus/content/groups/public/</url>
92 </pluginRepository>
93 </pluginRepositories>
94
95 <profiles>
96 <!-- Manually-set profile to sign the generated update sites -->
97 <profile>
98 <id>sign-update-site</id>
99 <build>
100 <plugins>
101 <plugin>
102 <groupId>org.eclipse.tycho.extras</groupId>
103 <artifactId>tycho-pack200a-plugin</artifactId>
104 <version>${tycho-extras-version}</version>
105 <executions>
106 <execution>
107 <id>pack200-normalize</id>
108 <goals>
109 <goal>normalize</goal>
110 </goals>
111 <phase>package</phase>
112 </execution>
113 </executions>
114 </plugin>
115
116 <plugin>
117 <groupId>org.eclipse.cbi.maven.plugins</groupId>
118 <artifactId>eclipse-jarsigner-plugin</artifactId>
119 <version>1.1.2</version>
120 <executions>
121 <execution>
122 <id>sign</id>
123 <phase>package</phase>
124 <goals>
125 <goal>sign</goal>
126 </goals>
127 </execution>
128 </executions>
129 </plugin>
130
131 <plugin>
132 <groupId>org.eclipse.tycho.extras</groupId>
133 <artifactId>tycho-pack200b-plugin</artifactId>
134 <version>${tycho-extras-version}</version>
135 <executions>
136 <execution>
137 <id>pack200-pack</id>
138 <goals>
139 <goal>pack</goal>
140 </goals>
141 <phase>package</phase>
142 </execution>
143 </executions>
144 </plugin>
145 </plugins>
146 </build>
147 </profile>
148
149 <!-- Automatic profile for Mac-specific settings -->
150 <profile>
151 <id>macosx</id>
152 <activation>
153 <os>
154 <family>mac</family>
155 </os>
156 </activation>
157 <properties>
158 <base.ui.test.vmargs>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Djava.awt.headless=false</base.ui.test.vmargs>
159 </properties>
160 </profile>
161
162 <!-- Automatic profile for non-Mac platforms settings -->
163 <profile>
164 <id>not-macosx</id>
165 <activation>
166 <os>
167 <family>!mac</family>
168 </os>
169 </activation>
170 <properties>
171 <!-- Disable webkit integration, especially unstable on Linux -->
172 <base.ui.test.vmargs>-Dorg.eclipse.swt.browser.DefaultType=mozilla</base.ui.test.vmargs>
173 </properties>
174 </profile>
53e14a11
AM
175
176 <!-- Automatic profile to define the settings for UI test plugins -->
177 <profile>
178 <id>ui-test-plugin</id>
179 <activation>
180 <file>
181 <exists>ui-test-plugin.properties</exists>
182 </file>
183 </activation>
184 <build>
185 <plugins>
186 <plugin>
187 <groupId>org.eclipse.tycho</groupId>
188 <artifactId>tycho-surefire-plugin</artifactId>
189 <configuration>
190 <useUIHarness>true</useUIHarness>
191 <useUIThread>true</useUIThread>
192 </configuration>
193 </plugin>
194 </plugins>
195 </build>
196 </profile>
197
198 <!-- Automatic profile to define the settings for SWTBot test plugins -->
199 <profile>
200 <id>swtbot-test-plugin</id>
201 <activation>
202 <file>
203 <exists>swtbot-test-plugin.properties</exists>
204 </file>
205 </activation>
206 <build>
207 <plugins>
208 <plugin>
209 <groupId>org.eclipse.tycho</groupId>
210 <artifactId>tycho-surefire-plugin</artifactId>
211 <configuration>
212 <useUIHarness>true</useUIHarness>
213 <useUIThread>false</useUIThread>
214 <environmentVariables>
215 <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
216 <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
217 </environmentVariables>
218 </configuration>
219 </plugin>
220 </plugins>
221 </build>
222 </profile>
9541b578 223 </profiles>
422f0fb8 224
89882f20 225 <modules>
657cb785 226 <module>analysis</module>
6e244963 227 <module>btf</module>
69bf2390 228 <module>common</module>
4da8cd5b 229 <module>ctf</module>
8995fed0 230 <module>doc</module>
76a6eebb 231 <module>gdbtrace</module>
4252328e 232 <module>lttng</module>
39697ee7 233 <module>pcap</module>
5be236ca 234 <module>rcp</module>
2e225298 235 <module>releng</module>
c84075b4 236 <module>statesystem</module>
3cbca186 237 <module>tmf</module>
89882f20
SG
238 </modules>
239
032bdcc4
AM
240 <build>
241 <plugins>
242 <plugin>
243 <inherited>true</inherited>
244 <groupId>org.apache.maven.plugins</groupId>
245 <artifactId>maven-enforcer-plugin</artifactId>
246 <version>1.4.1</version>
247 <executions>
248 <execution>
249 <id>enforce-maven-version</id>
250 <goals>
251 <goal>enforce</goal>
252 </goals>
253 <configuration>
254 <rules>
255 <requireMavenVersion>
53e14a11 256 <version>3.3</version>
032bdcc4
AM
257 </requireMavenVersion>
258 <requireJavaVersion>
259 <version>1.8</version>
260 </requireJavaVersion>
261 </rules>
262 <fail>true</fail>
263 </configuration>
264 </execution>
265 </executions>
266 </plugin>
9541b578
AM
267
268 <plugin>
269 <groupId>org.eclipse.tycho</groupId>
270 <artifactId>target-platform-configuration</artifactId>
271 <configuration>
272 <includePackedArtifacts>true</includePackedArtifacts>
273 <environments>
274 <environment>
275 <os>win32</os>
276 <ws>win32</ws>
277 <arch>x86</arch>
278 </environment>
279 <environment>
280 <os>win32</os>
281 <ws>win32</ws>
282 <arch>x86_64</arch>
283 </environment>
284 <environment>
285 <os>macosx</os>
286 <ws>cocoa</ws>
287 <arch>x86_64</arch>
288 </environment>
289 <environment>
290 <os>linux</os>
291 <ws>gtk</ws>
292 <arch>x86</arch>
293 </environment>
294 <environment>
295 <os>linux</os>
296 <ws>gtk</ws>
297 <arch>x86_64</arch>
298 </environment>
299 </environments>
300 <target>
301 <artifact>
302 <groupId>org.eclipse.tracecompass</groupId>
303 <artifactId>org.eclipse.tracecompass.target</artifactId>
304 <classifier>${target-platform}</classifier>
305 <version>2.0.0</version>
306 </artifact>
307 </target>
308 </configuration>
309 </plugin>
310
311 <plugin>
312 <groupId>org.eclipse.tycho</groupId>
313 <artifactId>tycho-maven-plugin</artifactId>
314 <version>${tycho-version}</version>
315 <extensions>true</extensions>
316 </plugin>
317
318 <plugin>
319 <groupId>org.eclipse.tycho</groupId>
320 <artifactId>tycho-source-plugin</artifactId>
321 <version>${tycho-version}</version>
322 <executions>
323 <execution>
324 <id>plugin-source</id>
325 <goals>
326 <goal>plugin-source</goal>
327 </goals>
328 </execution>
329 </executions>
330 </plugin>
331
332 <plugin>
333 <groupId>org.eclipse.tycho.extras</groupId>
334 <artifactId>tycho-source-feature-plugin</artifactId>
335 <version>${tycho-extras-version}</version>
336 <configuration>
337 <includeBinaryFeature>false</includeBinaryFeature>
338 </configuration>
339 <executions>
340 <execution>
341 <id>source-feature</id>
342 <phase>package</phase>
343 <goals>
344 <goal>source-feature</goal>
345 </goals>
346 </execution>
347 </executions>
348 </plugin>
349
350 <plugin>
351 <groupId>org.jacoco</groupId>
352 <artifactId>jacoco-maven-plugin</artifactId>
353 <version>0.7.4.201502262128</version>
354 <executions>
355 <execution>
356 <id>pre-test</id>
357 <goals>
358 <goal>prepare-agent</goal>
359 </goals>
360 <configuration>
361 <!-- Where to put jacoco coverage report -->
362 <destFile>${sonar.jacoco.reportPath}</destFile>
363 <includes>
364 <include>org.eclipse.tracecompass.*</include>
365 </includes>
366 <append>true</append>
367 </configuration>
368 </execution>
369 <execution>
370 <id>post-test</id>
371 <phase>post-integration-test</phase>
372 <goals>
373 <goal>report</goal>
374 </goals>
375 <configuration>
376 <dataFile>${sonar.jacoco.reportPath}</dataFile>
377 </configuration>
378 </execution>
379 </executions>
33112414 380 </plugin>
9541b578 381
3870d08a
MAL
382 <plugin>
383 <groupId>org.eclipse.tycho.extras</groupId>
384 <artifactId>tycho-pack200b-plugin</artifactId>
385 <version>${tycho-extras-version}</version>
386 <executions>
387 <execution>
388 <id>pack200-pack</id>
389 <goals>
390 <goal>pack</goal>
391 </goals>
392 <phase>package</phase>
393 </execution>
394 </executions>
395 </plugin>
9541b578 396
3870d08a
MAL
397 <plugin>
398 <groupId>org.eclipse.tycho</groupId>
399 <artifactId>tycho-p2-plugin</artifactId>
3870d08a
MAL
400 <executions>
401 <execution>
402 <id>p2-metadata</id>
403 <goals>
404 <goal>p2-metadata</goal>
405 </goals>
406 <phase>package</phase>
407 </execution>
408 </executions>
409 <configuration>
410 <defaultP2Metadata>false</defaultP2Metadata>
411 </configuration>
412 </plugin>
33112414 413 </plugins>
b0d2c558 414
33112414
AM
415 <pluginManagement>
416 <plugins>
417 <plugin>
418 <groupId>org.eclipse.tycho</groupId>
419 <artifactId>tycho-compiler-plugin</artifactId>
420 <version>${tycho-version}</version>
421 <configuration>
032bdcc4
AM
422 <source>1.8</source>
423 <target>1.8</target>
33112414 424 <encoding>UTF-8</encoding>
5194c8ca 425 <useProjectSettings>true</useProjectSettings>
4c4e2816
AM
426 <compilerArguments>
427 <annotationpath>common/org.eclipse.tracecompass.common.core/annotations</annotationpath>
428 </compilerArguments>
33112414 429 </configuration>
7679e68a 430 </plugin>
9541b578 431
7679e68a
MAL
432 <plugin>
433 <groupId>org.eclipse.tycho</groupId>
434 <artifactId>target-platform-configuration</artifactId>
435 <version>${tycho-version}</version>
436 </plugin>
9541b578 437
7679e68a
MAL
438 <plugin>
439 <groupId>org.eclipse.tycho</groupId>
440 <artifactId>tycho-p2-plugin</artifactId>
441 <version>${tycho-version}</version>
442 </plugin>
9541b578 443
7679e68a
MAL
444 <plugin>
445 <groupId>org.eclipse.tycho</groupId>
446 <artifactId>tycho-p2-publisher-plugin</artifactId>
447 <version>${tycho-version}</version>
448 </plugin>
9541b578 449
7679e68a
MAL
450 <plugin>
451 <groupId>org.eclipse.tycho</groupId>
452 <artifactId>tycho-p2-repository-plugin</artifactId>
453 <version>${tycho-version}</version>
454 </plugin>
9541b578 455
b0d2c558
AM
456 <plugin>
457 <groupId>org.eclipse.tycho</groupId>
458 <artifactId>tycho-surefire-plugin</artifactId>
459 <version>${tycho-version}</version>
460 <configuration>
461 <!-- Default configuration, UI tests may have to override these -->
462 <useUIHarness>false</useUIHarness>
463 <useUIThread>false</useUIThread>
33112414
AM
464 <dependencies>
465 <dependency>
466 <type>p2-installable-unit</type>
467 <artifactId>org.eclipse.platform.feature.group</artifactId>
468 <version>${sdk-version}</version>
469 </dependency>
470 </dependencies>
471 <product>org.eclipse.platform.ide</product>
b0d2c558
AM
472 <argLine>${tycho.testArgLine} ${base.ui.test.vmargs} -Xms512m -Xmx1024m</argLine>
473 </configuration>
474 </plugin>
9541b578 475
33112414
AM
476 <plugin>
477 <groupId>org.eclipse.tycho</groupId>
478 <artifactId>tycho-versions-plugin</artifactId>
479 <version>${tycho-version}</version>
480 </plugin>
9541b578 481
5bc05277
MAL
482 <plugin>
483 <groupId>org.eclipse.tycho</groupId>
484 <artifactId>tycho-packaging-plugin</artifactId>
485 <version>${tycho-version}</version>
486 <configuration>
487 <sourceReferences>
488 <generate>true</generate>
489 </sourceReferences>
490 </configuration>
491 <dependencies>
492 <dependency>
493 <groupId>org.eclipse.tycho.extras</groupId>
494 <artifactId>tycho-sourceref-jgit</artifactId>
495 <version>${tycho-extras-version}</version>
496 </dependency>
497 </dependencies>
498 </plugin>
9541b578 499
b0d2c558 500 <plugin>
33112414
AM
501 <groupId>org.apache.maven.plugins</groupId>
502 <artifactId>maven-resources-plugin</artifactId>
7679e68a 503 <version>2.7</version>
33112414
AM
504 <configuration>
505 <encoding>UTF-8</encoding>
506 </configuration>
507 </plugin>
9541b578 508
33112414
AM
509 <plugin>
510 <groupId>org.apache.maven.plugins</groupId>
511 <artifactId>maven-antrun-plugin</artifactId>
7679e68a 512 <version>1.8</version>
33112414 513 </plugin>
9541b578 514
33112414
AM
515 <plugin>
516 <groupId>org.apache.maven.plugins</groupId>
517 <artifactId>maven-site-plugin</artifactId>
518 <version>3.4</version>
519 </plugin>
9541b578 520
7679e68a
MAL
521 <plugin>
522 <groupId>org.apache.maven.plugins</groupId>
523 <artifactId>maven-clean-plugin</artifactId>
524 <version>2.6.1</version>
525 </plugin>
9541b578 526
7679e68a
MAL
527 <plugin>
528 <groupId>org.apache.maven.plugins</groupId>
529 <artifactId>maven-deploy-plugin</artifactId>
530 <version>2.8.2</version>
531 </plugin>
9541b578 532
7679e68a
MAL
533 <plugin>
534 <groupId>org.apache.maven.plugins</groupId>
535 <artifactId>maven-install-plugin</artifactId>
536 <version>2.5.2</version>
537 </plugin>
9541b578 538
33112414
AM
539 <plugin>
540 <groupId>org.apache.maven.plugins</groupId>
541 <artifactId>maven-project-info-reports-plugin</artifactId>
7679e68a 542 <version>2.8</version>
33112414 543 </plugin>
9541b578 544
33112414
AM
545 <plugin>
546 <groupId>org.apache.maven.plugins</groupId>
547 <artifactId>maven-javadoc-plugin</artifactId>
7679e68a 548 <version>2.10.1</version>
33112414 549 <configuration>
730dbd2a 550 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*</excludePackageNames>
33112414
AM
551 </configuration>
552 </plugin>
9541b578 553
d538e443
MAL
554 <plugin>
555 <groupId>org.jboss.tools.tycho-plugins</groupId>
556 <artifactId>repository-utils</artifactId>
be51c6e5 557 <version>0.23.2</version>
d538e443 558 </plugin>
9541b578 559
313697fa
MK
560 <plugin>
561 <groupId>org.codehaus.mojo</groupId>
562 <artifactId>sonar-maven-plugin</artifactId>
1fa799b2 563 <version>2.7.1</version>
313697fa 564 </plugin>
9541b578 565
887cb879 566 <plugin>
9541b578
AM
567 <groupId>org.eclipse.tycho.extras</groupId>
568 <artifactId>tycho-eclipserun-plugin</artifactId>
569 <version>${tycho-extras-version}</version>
570 <configuration>
571 <dependencies>
572 <dependency>
573 <artifactId>org.apache.ant</artifactId>
574 <type>eclipse-plugin</type>
575 </dependency>
576 <dependency>
577 <artifactId>org.eclipse.help.base</artifactId>
578 <type>eclipse-plugin</type>
579 </dependency>
580 <dependency>
581 <artifactId>org.eclipse.ant.core</artifactId>
582 <type>eclipse-plugin</type>
583 </dependency>
584 </dependencies>
585 <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
586 <repositories>
587 <repository>
588 <id>platform</id>
589 <layout>p2</layout>
590 <url>${help-docs-eclipserun-repo}</url>
591 </repository>
592 </repositories>
593 </configuration>
594 <executions>
595 <execution>
596 <goals>
597 <goal>eclipse-run</goal>
598 </goals>
599 <phase>compile</phase>
600 </execution>
601 </executions>
887cb879 602 </plugin>
33112414
AM
603 </plugins>
604 </pluginManagement>
605 </build>
9c0ffa34 606
89882f20 607</project>
This page took 0.097849 seconds and 5 git commands to generate.