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