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