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.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.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>
286 <module>analysis
</module>
288 <module>common
</module>
291 <module>gdbtrace
</module>
292 <module>lttng
</module>
293 <module>pcap
</module>
295 <module>releng
</module>
296 <module>statesystem
</module>
303 <inherited>true
</inherited>
304 <groupId>org.apache.maven.plugins
</groupId>
305 <artifactId>maven-enforcer-plugin
</artifactId>
306 <version>1.4.1</version>
309 <id>enforce-maven-version
</id>
315 <requireMavenVersion>
316 <version>${required-maven-version}
</version>
317 </requireMavenVersion>
319 <version>1.8</version>
320 </requireJavaVersion>
329 <groupId>org.eclipse.tycho
</groupId>
330 <artifactId>target-platform-configuration
</artifactId>
332 <includePackedArtifacts>true
</includePackedArtifacts>
362 <groupId>org.eclipse.tracecompass
</groupId>
363 <artifactId>org.eclipse.tracecompass.target
</artifactId>
364 <classifier>${target-platform}
</classifier>
365 <version>2.0.0</version>
372 <groupId>org.eclipse.tycho
</groupId>
373 <artifactId>tycho-maven-plugin
</artifactId>
374 <version>${tycho-version}
</version>
375 <extensions>true
</extensions>
379 <groupId>org.eclipse.tycho
</groupId>
380 <artifactId>tycho-source-plugin
</artifactId>
381 <version>${tycho-version}
</version>
384 <id>plugin-source
</id>
386 <goal>plugin-source
</goal>
393 <groupId>org.eclipse.tycho.extras
</groupId>
394 <artifactId>tycho-source-feature-plugin
</artifactId>
395 <version>${tycho-extras-version}
</version>
397 <includeBinaryFeature>false
</includeBinaryFeature>
401 <id>source-feature
</id>
402 <phase>package
</phase>
404 <goal>source-feature
</goal>
411 <groupId>org.eclipse.tycho.extras
</groupId>
412 <artifactId>tycho-pack200b-plugin
</artifactId>
413 <version>${tycho-extras-version}
</version>
416 <id>pack200-pack
</id>
420 <phase>package
</phase>
426 <groupId>org.eclipse.tycho
</groupId>
427 <artifactId>tycho-p2-plugin
</artifactId>
432 <goal>p2-metadata
</goal>
434 <phase>package
</phase>
438 <defaultP2Metadata>false
</defaultP2Metadata>
446 <groupId>org.eclipse.tycho
</groupId>
447 <artifactId>tycho-compiler-plugin
</artifactId>
448 <version>${tycho-version}
</version>
452 <encoding>UTF-
8</encoding>
453 <useProjectSettings>true
</useProjectSettings>
455 <annotationpath>common/org.eclipse.tracecompass.common.core/annotations
</annotationpath>
461 <groupId>org.eclipse.tycho
</groupId>
462 <artifactId>target-platform-configuration
</artifactId>
463 <version>${tycho-version}
</version>
467 <groupId>org.eclipse.tycho
</groupId>
468 <artifactId>tycho-p2-plugin
</artifactId>
469 <version>${tycho-version}
</version>
473 <groupId>org.eclipse.tycho
</groupId>
474 <artifactId>tycho-p2-publisher-plugin
</artifactId>
475 <version>${tycho-version}
</version>
479 <groupId>org.eclipse.tycho
</groupId>
480 <artifactId>tycho-p2-repository-plugin
</artifactId>
481 <version>${tycho-version}
</version>
485 <groupId>org.eclipse.tycho
</groupId>
486 <artifactId>tycho-surefire-plugin
</artifactId>
487 <version>${tycho-version}
</version>
489 <!-- Default configuration, UI tests may have to override these -->
490 <useUIHarness>false
</useUIHarness>
491 <useUIThread>false
</useUIThread>
494 <type>p2-installable-unit
</type>
495 <artifactId>org.eclipse.platform.feature.group
</artifactId>
496 <version>${sdk-version}
</version>
499 <product>org.eclipse.platform.ide
</product>
500 <argLine>${testArgLine} ${base.ui.test.vmargs} -Xms512m -Xmx1024m
</argLine>
505 <groupId>org.eclipse.tycho
</groupId>
506 <artifactId>tycho-versions-plugin
</artifactId>
507 <version>${tycho-version}
</version>
511 <groupId>org.eclipse.tycho
</groupId>
512 <artifactId>tycho-packaging-plugin
</artifactId>
513 <version>${tycho-version}
</version>
516 <generate>true
</generate>
521 <groupId>org.eclipse.tycho.extras
</groupId>
522 <artifactId>tycho-sourceref-jgit
</artifactId>
523 <version>${tycho-extras-version}
</version>
529 <groupId>org.apache.maven.plugins
</groupId>
530 <artifactId>maven-resources-plugin
</artifactId>
531 <version>2.7</version>
533 <encoding>UTF-
8</encoding>
538 <groupId>org.apache.maven.plugins
</groupId>
539 <artifactId>maven-antrun-plugin
</artifactId>
540 <version>1.8</version>
544 <groupId>org.apache.maven.plugins
</groupId>
545 <artifactId>maven-dependency-plugin
</artifactId>
546 <version>2.10</version>
550 <groupId>org.eclipse.rcptt
</groupId>
551 <artifactId>rcptt-maven-plugin
</artifactId>
552 <version>${rcptt-version}
</version>
556 <groupId>org.apache.maven.plugins
</groupId>
557 <artifactId>maven-site-plugin
</artifactId>
558 <version>3.5</version>
562 <groupId>org.apache.maven.plugins
</groupId>
563 <artifactId>maven-clean-plugin
</artifactId>
564 <version>3.0.0</version>
568 <groupId>org.apache.maven.plugins
</groupId>
569 <artifactId>maven-deploy-plugin
</artifactId>
570 <version>2.8.2</version>
574 <groupId>org.apache.maven.plugins
</groupId>
575 <artifactId>maven-install-plugin
</artifactId>
576 <version>2.5.2</version>
580 <groupId>org.apache.maven.plugins
</groupId>
581 <artifactId>maven-project-info-reports-plugin
</artifactId>
582 <version>2.9</version>
586 <groupId>org.apache.maven.plugins
</groupId>
587 <artifactId>maven-javadoc-plugin
</artifactId>
588 <version>2.10.3</version>
590 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*
</excludePackageNames>
595 <groupId>org.jboss.tools.tycho-plugins
</groupId>
596 <artifactId>repository-utils
</artifactId>
597 <version>0.23.2</version>
601 <groupId>org.codehaus.mojo
</groupId>
602 <artifactId>sonar-maven-plugin
</artifactId>
603 <version>3.0.1</version>
607 <groupId>org.eclipse.tycho.extras
</groupId>
608 <artifactId>tycho-eclipserun-plugin
</artifactId>
609 <version>${tycho-extras-version}
</version>
613 <artifactId>org.apache.ant
</artifactId>
614 <type>eclipse-plugin
</type>
617 <artifactId>org.eclipse.help.base
</artifactId>
618 <type>eclipse-plugin
</type>
621 <artifactId>org.eclipse.ant.core
</artifactId>
622 <type>eclipse-plugin
</type>
625 <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
630 <url>${help-docs-eclipserun-repo}
</url>
637 <goal>eclipse-run
</goal>
639 <phase>compile
</phase>