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