1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 Copyright (C) 2011, Red Hat, Inc.
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
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>
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>
28 <name>Eclipse Public License v1.0
</name>
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
41 <project.build.sourceEncoding
>UTF-
8</project.build.sourceEncoding
>
42 <project.reporting.outputEncoding
>UTF-
8</project.reporting.outputEncoding
>
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>
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>
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,e7,e8
</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 <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
>
81 <id>repo.eclipse.org
</id>
82 <url>https://repo.eclipse.org/content/groups/releases/
</url>
85 <id>tycho-snapshots
</id>
86 <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/
</url>
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>
96 <!-- Manually-set profile to sign the generated update sites -->
98 <id>sign-update-site
</id>
102 <groupId>org.eclipse.tycho.extras
</groupId>
103 <artifactId>tycho-pack200a-plugin
</artifactId>
104 <version>${tycho-extras-version}
</version>
107 <id>pack200-normalize
</id>
109 <goal>normalize
</goal>
111 <phase>package
</phase>
117 <groupId>org.eclipse.cbi.maven.plugins
</groupId>
118 <artifactId>eclipse-jarsigner-plugin
</artifactId>
119 <version>1.1.2</version>
123 <phase>package
</phase>
132 <groupId>org.eclipse.tycho.extras
</groupId>
133 <artifactId>tycho-pack200b-plugin
</artifactId>
134 <version>${tycho-extras-version}
</version>
137 <id>pack200-pack
</id>
141 <phase>package
</phase>
149 <!-- Automatic profile for Mac-specific settings -->
158 <base.ui.test.vmargs
>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Djava.awt.headless=false
</base.ui.test.vmargs
>
162 <!-- Automatic profile for non-Mac platforms settings -->
167 <family>!mac
</family>
171 <!-- Disable webkit integration, especially unstable on Linux -->
172 <base.ui.test.vmargs
>-Dorg.eclipse.swt.browser.DefaultType=mozilla
</base.ui.test.vmargs
>
176 <!-- Automatic profile to define the settings for UI test plugins -->
178 <id>ui-test-plugin
</id>
181 <exists>ui-test-plugin.properties
</exists>
187 <groupId>org.eclipse.tycho
</groupId>
188 <artifactId>tycho-surefire-plugin
</artifactId>
190 <useUIHarness>true
</useUIHarness>
191 <useUIThread>true
</useUIThread>
198 <!-- Automatic profile to define the settings for SWTBot test plugins -->
200 <id>swtbot-test-plugin
</id>
203 <exists>swtbot-test-plugin.properties
</exists>
209 <groupId>org.eclipse.tycho
</groupId>
210 <artifactId>tycho-surefire-plugin
</artifactId>
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>
226 <module>analysis
</module>
228 <module>common
</module>
231 <module>gdbtrace
</module>
232 <module>lttng
</module>
233 <module>pcap
</module>
235 <module>releng
</module>
236 <module>statesystem
</module>
243 <inherited>true
</inherited>
244 <groupId>org.apache.maven.plugins
</groupId>
245 <artifactId>maven-enforcer-plugin
</artifactId>
246 <version>1.4.1</version>
249 <id>enforce-maven-version
</id>
255 <requireMavenVersion>
256 <version>3.3</version>
257 </requireMavenVersion>
259 <version>1.8</version>
260 </requireJavaVersion>
269 <groupId>org.eclipse.tycho
</groupId>
270 <artifactId>target-platform-configuration
</artifactId>
272 <includePackedArtifacts>true
</includePackedArtifacts>
302 <groupId>org.eclipse.tracecompass
</groupId>
303 <artifactId>org.eclipse.tracecompass.target
</artifactId>
304 <classifier>${target-platform}
</classifier>
305 <version>2.0.0</version>
312 <groupId>org.eclipse.tycho
</groupId>
313 <artifactId>tycho-maven-plugin
</artifactId>
314 <version>${tycho-version}
</version>
315 <extensions>true
</extensions>
319 <groupId>org.eclipse.tycho
</groupId>
320 <artifactId>tycho-source-plugin
</artifactId>
321 <version>${tycho-version}
</version>
324 <id>plugin-source
</id>
326 <goal>plugin-source
</goal>
333 <groupId>org.eclipse.tycho.extras
</groupId>
334 <artifactId>tycho-source-feature-plugin
</artifactId>
335 <version>${tycho-extras-version}
</version>
337 <includeBinaryFeature>false
</includeBinaryFeature>
341 <id>source-feature
</id>
342 <phase>package
</phase>
344 <goal>source-feature
</goal>
351 <groupId>org.jacoco
</groupId>
352 <artifactId>jacoco-maven-plugin
</artifactId>
353 <version>0.7.4.201502262128</version>
358 <goal>prepare-agent
</goal>
361 <!-- Where to put jacoco coverage report -->
362 <destFile>${sonar.jacoco.reportPath}
</destFile>
364 <include>org.eclipse.tracecompass.*
</include>
366 <append>true
</append>
371 <phase>post-integration-test
</phase>
376 <dataFile>${sonar.jacoco.reportPath}
</dataFile>
383 <groupId>org.eclipse.tycho.extras
</groupId>
384 <artifactId>tycho-pack200b-plugin
</artifactId>
385 <version>${tycho-extras-version}
</version>
388 <id>pack200-pack
</id>
392 <phase>package
</phase>
398 <groupId>org.eclipse.tycho
</groupId>
399 <artifactId>tycho-p2-plugin
</artifactId>
404 <goal>p2-metadata
</goal>
406 <phase>package
</phase>
410 <defaultP2Metadata>false
</defaultP2Metadata>
418 <groupId>org.eclipse.tycho
</groupId>
419 <artifactId>tycho-compiler-plugin
</artifactId>
420 <version>${tycho-version}
</version>
424 <encoding>UTF-
8</encoding>
425 <useProjectSettings>true
</useProjectSettings>
427 <annotationpath>common/org.eclipse.tracecompass.common.core/annotations
</annotationpath>
433 <groupId>org.eclipse.tycho
</groupId>
434 <artifactId>target-platform-configuration
</artifactId>
435 <version>${tycho-version}
</version>
439 <groupId>org.eclipse.tycho
</groupId>
440 <artifactId>tycho-p2-plugin
</artifactId>
441 <version>${tycho-version}
</version>
445 <groupId>org.eclipse.tycho
</groupId>
446 <artifactId>tycho-p2-publisher-plugin
</artifactId>
447 <version>${tycho-version}
</version>
451 <groupId>org.eclipse.tycho
</groupId>
452 <artifactId>tycho-p2-repository-plugin
</artifactId>
453 <version>${tycho-version}
</version>
457 <groupId>org.eclipse.tycho
</groupId>
458 <artifactId>tycho-surefire-plugin
</artifactId>
459 <version>${tycho-version}
</version>
461 <!-- Default configuration, UI tests may have to override these -->
462 <useUIHarness>false
</useUIHarness>
463 <useUIThread>false
</useUIThread>
466 <type>p2-installable-unit
</type>
467 <artifactId>org.eclipse.platform.feature.group
</artifactId>
468 <version>${sdk-version}
</version>
471 <product>org.eclipse.platform.ide
</product>
472 <argLine>${tycho.testArgLine} ${base.ui.test.vmargs} -Xms512m -Xmx1024m
</argLine>
477 <groupId>org.eclipse.tycho
</groupId>
478 <artifactId>tycho-versions-plugin
</artifactId>
479 <version>${tycho-version}
</version>
483 <groupId>org.eclipse.tycho
</groupId>
484 <artifactId>tycho-packaging-plugin
</artifactId>
485 <version>${tycho-version}
</version>
488 <generate>true
</generate>
493 <groupId>org.eclipse.tycho.extras
</groupId>
494 <artifactId>tycho-sourceref-jgit
</artifactId>
495 <version>${tycho-extras-version}
</version>
501 <groupId>org.apache.maven.plugins
</groupId>
502 <artifactId>maven-resources-plugin
</artifactId>
503 <version>2.7</version>
505 <encoding>UTF-
8</encoding>
510 <groupId>org.apache.maven.plugins
</groupId>
511 <artifactId>maven-antrun-plugin
</artifactId>
512 <version>1.8</version>
516 <groupId>org.apache.maven.plugins
</groupId>
517 <artifactId>maven-site-plugin
</artifactId>
518 <version>3.4</version>
522 <groupId>org.apache.maven.plugins
</groupId>
523 <artifactId>maven-clean-plugin
</artifactId>
524 <version>2.6.1</version>
528 <groupId>org.apache.maven.plugins
</groupId>
529 <artifactId>maven-deploy-plugin
</artifactId>
530 <version>2.8.2</version>
534 <groupId>org.apache.maven.plugins
</groupId>
535 <artifactId>maven-install-plugin
</artifactId>
536 <version>2.5.2</version>
540 <groupId>org.apache.maven.plugins
</groupId>
541 <artifactId>maven-project-info-reports-plugin
</artifactId>
542 <version>2.8</version>
546 <groupId>org.apache.maven.plugins
</groupId>
547 <artifactId>maven-javadoc-plugin
</artifactId>
548 <version>2.10.1</version>
550 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*
</excludePackageNames>
555 <groupId>org.jboss.tools.tycho-plugins
</groupId>
556 <artifactId>repository-utils
</artifactId>
557 <version>0.23.2</version>
561 <groupId>org.codehaus.mojo
</groupId>
562 <artifactId>sonar-maven-plugin
</artifactId>
563 <version>2.7.1</version>
567 <groupId>org.eclipse.tycho.extras
</groupId>
568 <artifactId>tycho-eclipserun-plugin
</artifactId>
569 <version>${tycho-extras-version}
</version>
573 <artifactId>org.apache.ant
</artifactId>
574 <type>eclipse-plugin
</type>
577 <artifactId>org.eclipse.help.base
</artifactId>
578 <type>eclipse-plugin
</type>
581 <artifactId>org.eclipse.ant.core
</artifactId>
582 <type>eclipse-plugin
</type>
585 <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
590 <url>${help-docs-eclipserun-repo}
</url>
597 <goal>eclipse-run
</goal>
599 <phase>compile
</phase>