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.1.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 <cbi-plugins.version
>1.1.3</cbi-plugins.version
>
50 <target-platform>tracecompass-e4.6
</target-platform>
51 <help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/
4.5</help-docs-eclipserun-repo>
53 <rcptt-version>2.1.0</rcptt-version>
54 <!-- 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) -->
55 <SWT_GTK3>0</SWT_GTK3>
57 <!-- Sonar rule configuration -->
58 <sonar.core.codeCoveragePlugin
>jacoco
</sonar.core.codeCoveragePlugin
>
59 <sonar.dynamicAnalysis
>reuseReports
</sonar.dynamicAnalysis
>
60 <sonar.jacoco.reportPath
>${project.basedir}/../../target/jacoco.exec
</sonar.jacoco.reportPath
>
61 <sonar.java.source
>1.8</sonar.java.source
>
62 <sonar.exclusions
>**/tests/**,**/test/**,**/stubs/**,**/Messages*,**/alltests/**
</sonar.exclusions
>
63 <sonar.skippedModules
>org.eclipse.tracecompass.ctf.parser,org.eclipse.tracecompass.examples
</sonar.skippedModules
>
64 <sonar.issue.ignore.multicriteria
>e1,e2,e3,e4,e5,e6,e7,e8
</sonar.issue.ignore.multicriteria
>
65 <sonar.issue.ignore.multicriteria.e1.ruleKey
>findbugs:NP_STORE_INTO_NONNULL_FIELD
</sonar.issue.ignore.multicriteria.e1.ruleKey
>
66 <sonar.issue.ignore.multicriteria.e1.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e1.resourceKey
>
67 <sonar.issue.ignore.multicriteria.e2.ruleKey
>findbugs:RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
</sonar.issue.ignore.multicriteria.e2.ruleKey
>
68 <sonar.issue.ignore.multicriteria.e2.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e2.resourceKey
>
69 <sonar.issue.ignore.multicriteria.e3.ruleKey
>findbugs:NP_NONNULL_PARAM_VIOLATION
</sonar.issue.ignore.multicriteria.e3.ruleKey
>
70 <sonar.issue.ignore.multicriteria.e3.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e3.resourceKey
>
71 <sonar.issue.ignore.multicriteria.e4.ruleKey
>findbugs:NP_NULL_PARAM_DEREF_NONVIRTUAL
</sonar.issue.ignore.multicriteria.e4.ruleKey
>
72 <sonar.issue.ignore.multicriteria.e4.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e4.resourceKey
>
73 <sonar.issue.ignore.multicriteria.e5.ruleKey
>findbugs:NP_NONNULL_RETURN_VIOLATION
</sonar.issue.ignore.multicriteria.e5.ruleKey
>
74 <sonar.issue.ignore.multicriteria.e5.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e5.resourceKey
>
75 <sonar.issue.ignore.multicriteria.e6.ruleKey
>findbugs:NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR
</sonar.issue.ignore.multicriteria.e6.ruleKey
>
76 <sonar.issue.ignore.multicriteria.e6.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e6.resourceKey
>
77 <sonar.issue.ignore.multicriteria.e7.ruleKey
>findbugs:NP_NULL_PARAM_DEREF
</sonar.issue.ignore.multicriteria.e7.ruleKey
>
78 <sonar.issue.ignore.multicriteria.e7.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e7.resourceKey
>
79 <sonar.issue.ignore.multicriteria.e8.ruleKey
>findbugs:RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE
</sonar.issue.ignore.multicriteria.e8.ruleKey
>
80 <sonar.issue.ignore.multicriteria.e8.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e8.resourceKey
>
85 <id>repo.eclipse.org
</id>
86 <url>https://repo.eclipse.org/content/groups/releases/
</url>
89 <id>tycho-snapshots
</id>
90 <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/
</url>
93 <id>jboss-public-repository-group
</id>
94 <name>JBoss Public Repository Group
</name>
95 <url>http://repository.jboss.org/nexus/content/groups/public/
</url>
98 <id>rcptt-snapshots
</id>
99 <name>RCPTT Maven Snapshots repository
</name>
100 <url>https://repo.eclipse.org/content/repositories/rcptt-snapshots/
</url>
103 <id>rcptt-releases
</id>
104 <name>RCPTT Maven repository
</name>
105 <url>https://repo.eclipse.org/content/repositories/rcptt-releases/
</url>
107 </pluginRepositories>
110 <!-- Manually-set profile to sign the generated update sites -->
112 <id>sign-update-site
</id>
116 <groupId>org.eclipse.tycho.extras
</groupId>
117 <artifactId>tycho-pack200a-plugin
</artifactId>
118 <version>${tycho-extras-version}
</version>
121 <id>pack200-normalize
</id>
123 <goal>normalize
</goal>
125 <phase>package
</phase>
131 <groupId>org.eclipse.cbi.maven.plugins
</groupId>
132 <artifactId>eclipse-jarsigner-plugin
</artifactId>
133 <version>${cbi-plugins.version}
</version>
137 <phase>package
</phase>
146 <groupId>org.eclipse.tycho.extras
</groupId>
147 <artifactId>tycho-pack200b-plugin
</artifactId>
148 <version>${tycho-extras-version}
</version>
151 <id>pack200-pack
</id>
155 <phase>package
</phase>
167 <name>!skip-jacoco
</name>
171 <testArgLine>${tycho.testArgLine}
</testArgLine>
176 <groupId>org.jacoco
</groupId>
177 <artifactId>jacoco-maven-plugin
</artifactId>
178 <version>0.7.7.201606060606</version>
183 <goal>prepare-agent
</goal>
186 <!-- Where to put jacoco coverage report -->
187 <destFile>${sonar.jacoco.reportPath}
</destFile>
189 <include>org.eclipse.tracecompass.*
</include>
191 <append>true
</append>
196 <phase>post-integration-test
</phase>
201 <dataFile>${sonar.jacoco.reportPath}
</dataFile>
210 <!-- Automatic profile for Mac-specific settings -->
219 <base.ui.test.vmargs
>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Djava.awt.headless=false
</base.ui.test.vmargs
>
223 <!-- Automatic profile for non-Mac platforms settings -->
228 <family>!mac
</family>
232 <!-- Disable webkit integration, especially unstable on Linux -->
233 <base.ui.test.vmargs
>-Dorg.eclipse.swt.browser.DefaultType=mozilla
</base.ui.test.vmargs
>
237 <!-- Automatic profile to define the settings for UI test plugins -->
239 <id>ui-test-plugin
</id>
242 <exists>ui-test-plugin.properties
</exists>
248 <groupId>org.eclipse.tycho
</groupId>
249 <artifactId>tycho-surefire-plugin
</artifactId>
251 <useUIHarness>true
</useUIHarness>
252 <useUIThread>true
</useUIThread>
259 <!-- Automatic profile to define the settings for SWTBot test plugins -->
261 <id>swtbot-test-plugin
</id>
264 <exists>swtbot-test-plugin.properties
</exists>
270 <groupId>org.eclipse.tycho
</groupId>
271 <artifactId>tycho-surefire-plugin
</artifactId>
273 <useUIHarness>true
</useUIHarness>
274 <useUIThread>false
</useUIThread>
275 <environmentVariables>
276 <SWT_GTK3>${SWT_GTK3}
</SWT_GTK3>
277 <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
278 </environmentVariables>
285 <!-- Automatic profile to skip sonar -->
290 <exists>sonar.skip.properties
</exists>
294 <sonar.skip
>true
</sonar.skip
>
300 <module>analysis
</module>
302 <module>common
</module>
305 <module>gdbtrace
</module>
306 <module>lttng
</module>
307 <module>pcap
</module>
309 <module>releng
</module>
310 <module>statesystem
</module>
317 <inherited>true
</inherited>
318 <groupId>org.apache.maven.plugins
</groupId>
319 <artifactId>maven-enforcer-plugin
</artifactId>
320 <version>1.4.1</version>
323 <id>enforce-maven-version
</id>
329 <requireMavenVersion>
330 <version>${required-maven-version}
</version>
331 </requireMavenVersion>
333 <version>1.8</version>
334 </requireJavaVersion>
343 <groupId>org.eclipse.tycho
</groupId>
344 <artifactId>target-platform-configuration
</artifactId>
346 <includePackedArtifacts>true
</includePackedArtifacts>
376 <groupId>org.eclipse.tracecompass
</groupId>
377 <artifactId>org.eclipse.tracecompass.target
</artifactId>
378 <classifier>${target-platform}
</classifier>
379 <version>2.1.0-SNAPSHOT
</version>
386 <groupId>org.eclipse.tycho
</groupId>
387 <artifactId>tycho-maven-plugin
</artifactId>
388 <version>${tycho-version}
</version>
389 <extensions>true
</extensions>
393 <groupId>org.eclipse.tycho
</groupId>
394 <artifactId>tycho-source-plugin
</artifactId>
395 <version>${tycho-version}
</version>
398 <id>plugin-source
</id>
400 <goal>plugin-source
</goal>
407 <groupId>org.eclipse.tycho.extras
</groupId>
408 <artifactId>tycho-source-feature-plugin
</artifactId>
409 <version>${tycho-extras-version}
</version>
411 <includeBinaryFeature>false
</includeBinaryFeature>
415 <id>source-feature
</id>
416 <phase>package
</phase>
418 <goal>source-feature
</goal>
425 <groupId>org.eclipse.tycho.extras
</groupId>
426 <artifactId>tycho-pack200b-plugin
</artifactId>
427 <version>${tycho-extras-version}
</version>
430 <id>pack200-pack
</id>
434 <phase>package
</phase>
440 <groupId>org.eclipse.tycho
</groupId>
441 <artifactId>tycho-p2-plugin
</artifactId>
446 <goal>p2-metadata
</goal>
448 <phase>package
</phase>
452 <defaultP2Metadata>false
</defaultP2Metadata>
460 <groupId>org.eclipse.tycho
</groupId>
461 <artifactId>tycho-compiler-plugin
</artifactId>
462 <version>${tycho-version}
</version>
466 <encoding>UTF-
8</encoding>
467 <useProjectSettings>true
</useProjectSettings>
469 <annotationpath>common/org.eclipse.tracecompass.common.core/annotations
</annotationpath>
475 <groupId>org.eclipse.tycho
</groupId>
476 <artifactId>target-platform-configuration
</artifactId>
477 <version>${tycho-version}
</version>
481 <groupId>org.eclipse.tycho
</groupId>
482 <artifactId>tycho-p2-plugin
</artifactId>
483 <version>${tycho-version}
</version>
487 <groupId>org.eclipse.tycho
</groupId>
488 <artifactId>tycho-p2-publisher-plugin
</artifactId>
489 <version>${tycho-version}
</version>
493 <groupId>org.eclipse.tycho
</groupId>
494 <artifactId>tycho-p2-repository-plugin
</artifactId>
495 <version>${tycho-version}
</version>
499 <groupId>org.eclipse.tycho
</groupId>
500 <artifactId>tycho-surefire-plugin
</artifactId>
501 <version>${tycho-version}
</version>
503 <!-- Default configuration, UI tests may have to override these -->
504 <useUIHarness>false
</useUIHarness>
505 <useUIThread>false
</useUIThread>
508 <type>p2-installable-unit
</type>
509 <artifactId>org.eclipse.platform.feature.group
</artifactId>
510 <version>${sdk-version}
</version>
513 <product>org.eclipse.platform.ide
</product>
514 <argLine>${testArgLine} ${base.ui.test.vmargs} -Xms512m -Xmx1024m
</argLine>
519 <groupId>org.eclipse.tycho
</groupId>
520 <artifactId>tycho-versions-plugin
</artifactId>
521 <version>${tycho-version}
</version>
525 <groupId>org.eclipse.tycho
</groupId>
526 <artifactId>tycho-packaging-plugin
</artifactId>
527 <version>${tycho-version}
</version>
530 <generate>true
</generate>
535 <groupId>org.eclipse.tycho.extras
</groupId>
536 <artifactId>tycho-sourceref-jgit
</artifactId>
537 <version>${tycho-extras-version}
</version>
543 <groupId>org.apache.maven.plugins
</groupId>
544 <artifactId>maven-resources-plugin
</artifactId>
545 <version>3.0.1</version>
547 <encoding>UTF-
8</encoding>
552 <groupId>org.apache.maven.plugins
</groupId>
553 <artifactId>maven-antrun-plugin
</artifactId>
554 <version>1.8</version>
558 <groupId>org.apache.maven.plugins
</groupId>
559 <artifactId>maven-dependency-plugin
</artifactId>
560 <version>2.10</version>
564 <groupId>org.eclipse.rcptt
</groupId>
565 <artifactId>rcptt-maven-plugin
</artifactId>
566 <version>${rcptt-version}
</version>
570 <groupId>org.apache.maven.plugins
</groupId>
571 <artifactId>maven-site-plugin
</artifactId>
572 <version>3.5.1</version>
576 <groupId>org.apache.maven.plugins
</groupId>
577 <artifactId>maven-clean-plugin
</artifactId>
578 <version>3.0.0</version>
582 <groupId>org.apache.maven.plugins
</groupId>
583 <artifactId>maven-deploy-plugin
</artifactId>
584 <version>2.8.2</version>
588 <groupId>org.apache.maven.plugins
</groupId>
589 <artifactId>maven-install-plugin
</artifactId>
590 <version>2.5.2</version>
594 <groupId>org.apache.maven.plugins
</groupId>
595 <artifactId>maven-project-info-reports-plugin
</artifactId>
596 <version>2.9</version>
600 <groupId>org.apache.maven.plugins
</groupId>
601 <artifactId>maven-javadoc-plugin
</artifactId>
602 <version>2.10.4</version>
604 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*
</excludePackageNames>
609 <groupId>org.jboss.tools.tycho-plugins
</groupId>
610 <artifactId>repository-utils
</artifactId>
611 <version>0.23.3</version>
615 <groupId>org.codehaus.mojo
</groupId>
616 <artifactId>sonar-maven-plugin
</artifactId>
617 <version>3.0.2</version>
621 <groupId>org.eclipse.tycho.extras
</groupId>
622 <artifactId>tycho-eclipserun-plugin
</artifactId>
623 <version>${tycho-extras-version}
</version>
627 <artifactId>org.apache.ant
</artifactId>
628 <type>eclipse-plugin
</type>
631 <artifactId>org.eclipse.help.base
</artifactId>
632 <type>eclipse-plugin
</type>
635 <artifactId>org.eclipse.ant.core
</artifactId>
636 <type>eclipse-plugin
</type>
639 <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
644 <url>${help-docs-eclipserun-repo}
</url>
651 <goal>eclipse-run
</goal>
653 <phase>compile
</phase>