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>
17 <maven>${required-maven-version}
</maven>
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 <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>
46 <tycho-version>0.25.0</tycho-version>
47 <tycho-extras-version>0.25.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.6
</target-platform>
50 <help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/
4.5</help-docs-eclipserun-repo>
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>
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
>
84 <id>repo.eclipse.org
</id>
85 <url>https://repo.eclipse.org/content/groups/releases/
</url>
88 <id>tycho-snapshots
</id>
89 <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/
</url>
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>
97 <id>rcptt-snapshots
</id>
98 <name>RCPTT Maven Snapshots repository
</name>
99 <url>https://repo.eclipse.org/content/repositories/rcptt-snapshots/
</url>
102 <id>rcptt-releases
</id>
103 <name>RCPTT Maven repository
</name>
104 <url>https://repo.eclipse.org/content/repositories/rcptt-releases/
</url>
106 </pluginRepositories>
109 <!-- Manually-set profile to sign the generated update sites -->
111 <id>sign-update-site
</id>
115 <groupId>org.eclipse.tycho.extras
</groupId>
116 <artifactId>tycho-pack200a-plugin
</artifactId>
117 <version>${tycho-extras-version}
</version>
120 <id>pack200-normalize
</id>
122 <goal>normalize
</goal>
124 <phase>package
</phase>
130 <groupId>org.eclipse.cbi.maven.plugins
</groupId>
131 <artifactId>eclipse-jarsigner-plugin
</artifactId>
132 <version>1.1.3</version>
136 <phase>package
</phase>
145 <groupId>org.eclipse.tycho.extras
</groupId>
146 <artifactId>tycho-pack200b-plugin
</artifactId>
147 <version>${tycho-extras-version}
</version>
150 <id>pack200-pack
</id>
154 <phase>package
</phase>
166 <name>!skip-jacoco
</name>
170 <testArgLine>${tycho.testArgLine}
</testArgLine>
175 <groupId>org.jacoco
</groupId>
176 <artifactId>jacoco-maven-plugin
</artifactId>
177 <version>0.7.6.201602180812</version>
182 <goal>prepare-agent
</goal>
185 <!-- Where to put jacoco coverage report -->
186 <destFile>${sonar.jacoco.reportPath}
</destFile>
188 <include>org.eclipse.tracecompass.*
</include>
190 <append>true
</append>
195 <phase>post-integration-test
</phase>
200 <dataFile>${sonar.jacoco.reportPath}
</dataFile>
209 <!-- Automatic profile for Mac-specific settings -->
218 <base.ui.test.vmargs
>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Djava.awt.headless=false
</base.ui.test.vmargs
>
222 <!-- Automatic profile for non-Mac platforms settings -->
227 <family>!mac
</family>
231 <!-- Disable webkit integration, especially unstable on Linux -->
232 <base.ui.test.vmargs
>-Dorg.eclipse.swt.browser.DefaultType=mozilla
</base.ui.test.vmargs
>
236 <!-- Automatic profile to define the settings for UI test plugins -->
238 <id>ui-test-plugin
</id>
241 <exists>ui-test-plugin.properties
</exists>
247 <groupId>org.eclipse.tycho
</groupId>
248 <artifactId>tycho-surefire-plugin
</artifactId>
250 <useUIHarness>true
</useUIHarness>
251 <useUIThread>true
</useUIThread>
258 <!-- Automatic profile to define the settings for SWTBot test plugins -->
260 <id>swtbot-test-plugin
</id>
263 <exists>swtbot-test-plugin.properties
</exists>
269 <groupId>org.eclipse.tycho
</groupId>
270 <artifactId>tycho-surefire-plugin
</artifactId>
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>
284 <!-- Automatic profile to skip sonar -->
289 <exists>sonar.skip.properties
</exists>
293 <sonar.skip
>true
</sonar.skip
>
299 <module>analysis
</module>
301 <module>common
</module>
304 <module>gdbtrace
</module>
305 <module>lttng
</module>
306 <module>pcap
</module>
308 <module>releng
</module>
309 <module>statesystem
</module>
316 <inherited>true
</inherited>
317 <groupId>org.apache.maven.plugins
</groupId>
318 <artifactId>maven-enforcer-plugin
</artifactId>
319 <version>1.4.1</version>
322 <id>enforce-maven-version
</id>
328 <requireMavenVersion>
329 <version>${required-maven-version}
</version>
330 </requireMavenVersion>
332 <version>1.8</version>
333 </requireJavaVersion>
342 <groupId>org.eclipse.tycho
</groupId>
343 <artifactId>target-platform-configuration
</artifactId>
345 <includePackedArtifacts>true
</includePackedArtifacts>
375 <groupId>org.eclipse.tracecompass
</groupId>
376 <artifactId>org.eclipse.tracecompass.target
</artifactId>
377 <classifier>${target-platform}
</classifier>
378 <version>2.0.0</version>
385 <groupId>org.eclipse.tycho
</groupId>
386 <artifactId>tycho-maven-plugin
</artifactId>
387 <version>${tycho-version}
</version>
388 <extensions>true
</extensions>
392 <groupId>org.eclipse.tycho
</groupId>
393 <artifactId>tycho-source-plugin
</artifactId>
394 <version>${tycho-version}
</version>
397 <id>plugin-source
</id>
399 <goal>plugin-source
</goal>
406 <groupId>org.eclipse.tycho.extras
</groupId>
407 <artifactId>tycho-source-feature-plugin
</artifactId>
408 <version>${tycho-extras-version}
</version>
410 <includeBinaryFeature>false
</includeBinaryFeature>
414 <id>source-feature
</id>
415 <phase>package
</phase>
417 <goal>source-feature
</goal>
424 <groupId>org.eclipse.tycho.extras
</groupId>
425 <artifactId>tycho-pack200b-plugin
</artifactId>
426 <version>${tycho-extras-version}
</version>
429 <id>pack200-pack
</id>
433 <phase>package
</phase>
439 <groupId>org.eclipse.tycho
</groupId>
440 <artifactId>tycho-p2-plugin
</artifactId>
445 <goal>p2-metadata
</goal>
447 <phase>package
</phase>
451 <defaultP2Metadata>false
</defaultP2Metadata>
459 <groupId>org.eclipse.tycho
</groupId>
460 <artifactId>tycho-compiler-plugin
</artifactId>
461 <version>${tycho-version}
</version>
465 <encoding>UTF-
8</encoding>
466 <useProjectSettings>true
</useProjectSettings>
468 <annotationpath>common/org.eclipse.tracecompass.common.core/annotations
</annotationpath>
474 <groupId>org.eclipse.tycho
</groupId>
475 <artifactId>target-platform-configuration
</artifactId>
476 <version>${tycho-version}
</version>
480 <groupId>org.eclipse.tycho
</groupId>
481 <artifactId>tycho-p2-plugin
</artifactId>
482 <version>${tycho-version}
</version>
486 <groupId>org.eclipse.tycho
</groupId>
487 <artifactId>tycho-p2-publisher-plugin
</artifactId>
488 <version>${tycho-version}
</version>
492 <groupId>org.eclipse.tycho
</groupId>
493 <artifactId>tycho-p2-repository-plugin
</artifactId>
494 <version>${tycho-version}
</version>
498 <groupId>org.eclipse.tycho
</groupId>
499 <artifactId>tycho-surefire-plugin
</artifactId>
500 <version>${tycho-version}
</version>
502 <!-- Default configuration, UI tests may have to override these -->
503 <useUIHarness>false
</useUIHarness>
504 <useUIThread>false
</useUIThread>
507 <type>p2-installable-unit
</type>
508 <artifactId>org.eclipse.platform.feature.group
</artifactId>
509 <version>${sdk-version}
</version>
512 <product>org.eclipse.platform.ide
</product>
513 <argLine>${testArgLine} ${base.ui.test.vmargs} -Xms512m -Xmx1024m
</argLine>
518 <groupId>org.eclipse.tycho
</groupId>
519 <artifactId>tycho-versions-plugin
</artifactId>
520 <version>${tycho-version}
</version>
524 <groupId>org.eclipse.tycho
</groupId>
525 <artifactId>tycho-packaging-plugin
</artifactId>
526 <version>${tycho-version}
</version>
529 <generate>true
</generate>
534 <groupId>org.eclipse.tycho.extras
</groupId>
535 <artifactId>tycho-sourceref-jgit
</artifactId>
536 <version>${tycho-extras-version}
</version>
542 <groupId>org.apache.maven.plugins
</groupId>
543 <artifactId>maven-resources-plugin
</artifactId>
544 <version>2.7</version>
546 <encoding>UTF-
8</encoding>
551 <groupId>org.apache.maven.plugins
</groupId>
552 <artifactId>maven-antrun-plugin
</artifactId>
553 <version>1.8</version>
557 <groupId>org.apache.maven.plugins
</groupId>
558 <artifactId>maven-dependency-plugin
</artifactId>
559 <version>2.10</version>
563 <groupId>org.eclipse.rcptt
</groupId>
564 <artifactId>rcptt-maven-plugin
</artifactId>
565 <version>${rcptt-version}
</version>
569 <groupId>org.apache.maven.plugins
</groupId>
570 <artifactId>maven-site-plugin
</artifactId>
571 <version>3.5</version>
575 <groupId>org.apache.maven.plugins
</groupId>
576 <artifactId>maven-clean-plugin
</artifactId>
577 <version>3.0.0</version>
581 <groupId>org.apache.maven.plugins
</groupId>
582 <artifactId>maven-deploy-plugin
</artifactId>
583 <version>2.8.2</version>
587 <groupId>org.apache.maven.plugins
</groupId>
588 <artifactId>maven-install-plugin
</artifactId>
589 <version>2.5.2</version>
593 <groupId>org.apache.maven.plugins
</groupId>
594 <artifactId>maven-project-info-reports-plugin
</artifactId>
595 <version>2.9</version>
599 <groupId>org.apache.maven.plugins
</groupId>
600 <artifactId>maven-javadoc-plugin
</artifactId>
601 <version>2.10.3</version>
603 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*
</excludePackageNames>
608 <groupId>org.jboss.tools.tycho-plugins
</groupId>
609 <artifactId>repository-utils
</artifactId>
610 <version>0.23.3</version>
614 <groupId>org.codehaus.mojo
</groupId>
615 <artifactId>sonar-maven-plugin
</artifactId>
616 <version>3.0.1</version>
620 <groupId>org.eclipse.tycho.extras
</groupId>
621 <artifactId>tycho-eclipserun-plugin
</artifactId>
622 <version>${tycho-extras-version}
</version>
626 <artifactId>org.apache.ant
</artifactId>
627 <type>eclipse-plugin
</type>
630 <artifactId>org.eclipse.help.base
</artifactId>
631 <type>eclipse-plugin
</type>
634 <artifactId>org.eclipse.ant.core
</artifactId>
635 <type>eclipse-plugin
</type>
638 <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
643 <url>${help-docs-eclipserun-repo}
</url>
650 <goal>eclipse-run
</goal>
652 <phase>compile
</phase>