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
>
43 <testArgLine></testArgLine>
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>
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>
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
>
61 <sonar.issue.ignore.multicriteria
>e1,e2,e3,e4,e5,e6,e7,e8
</sonar.issue.ignore.multicriteria
>
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
>
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
>
82 <id>repo.eclipse.org
</id>
83 <url>https://repo.eclipse.org/content/groups/releases/
</url>
86 <id>tycho-snapshots
</id>
87 <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/
</url>
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>
97 <!-- Manually-set profile to sign the generated update sites -->
99 <id>sign-update-site
</id>
103 <groupId>org.eclipse.tycho.extras
</groupId>
104 <artifactId>tycho-pack200a-plugin
</artifactId>
105 <version>${tycho-extras-version}
</version>
108 <id>pack200-normalize
</id>
110 <goal>normalize
</goal>
112 <phase>package
</phase>
118 <groupId>org.eclipse.cbi.maven.plugins
</groupId>
119 <artifactId>eclipse-jarsigner-plugin
</artifactId>
120 <version>1.1.3</version>
124 <phase>package
</phase>
133 <groupId>org.eclipse.tycho.extras
</groupId>
134 <artifactId>tycho-pack200b-plugin
</artifactId>
135 <version>${tycho-extras-version}
</version>
138 <id>pack200-pack
</id>
142 <phase>package
</phase>
154 <name>!skip-jacoco
</name>
158 <testArgLine>${tycho.testArgLine}
</testArgLine>
163 <groupId>org.jacoco
</groupId>
164 <artifactId>jacoco-maven-plugin
</artifactId>
165 <version>0.7.4.201502262128</version>
170 <goal>prepare-agent
</goal>
173 <!-- Where to put jacoco coverage report -->
174 <destFile>${sonar.jacoco.reportPath}
</destFile>
176 <include>org.eclipse.tracecompass.*
</include>
178 <append>true
</append>
183 <phase>post-integration-test
</phase>
188 <dataFile>${sonar.jacoco.reportPath}
</dataFile>
197 <!-- Automatic profile for Mac-specific settings -->
206 <base.ui.test.vmargs
>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Djava.awt.headless=false
</base.ui.test.vmargs
>
210 <!-- Automatic profile for non-Mac platforms settings -->
215 <family>!mac
</family>
219 <!-- Disable webkit integration, especially unstable on Linux -->
220 <base.ui.test.vmargs
>-Dorg.eclipse.swt.browser.DefaultType=mozilla
</base.ui.test.vmargs
>
224 <!-- Automatic profile to define the settings for UI test plugins -->
226 <id>ui-test-plugin
</id>
229 <exists>ui-test-plugin.properties
</exists>
235 <groupId>org.eclipse.tycho
</groupId>
236 <artifactId>tycho-surefire-plugin
</artifactId>
238 <useUIHarness>true
</useUIHarness>
239 <useUIThread>true
</useUIThread>
246 <!-- Automatic profile to define the settings for SWTBot test plugins -->
248 <id>swtbot-test-plugin
</id>
251 <exists>swtbot-test-plugin.properties
</exists>
257 <groupId>org.eclipse.tycho
</groupId>
258 <artifactId>tycho-surefire-plugin
</artifactId>
260 <useUIHarness>true
</useUIHarness>
261 <useUIThread>false
</useUIThread>
262 <environmentVariables>
263 <SWT_GTK3>${SWT_GTK3}
</SWT_GTK3>
264 <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
265 </environmentVariables>
274 <module>analysis
</module>
276 <module>common
</module>
279 <module>gdbtrace
</module>
280 <module>lttng
</module>
281 <module>pcap
</module>
283 <module>releng
</module>
284 <module>statesystem
</module>
291 <inherited>true
</inherited>
292 <groupId>org.apache.maven.plugins
</groupId>
293 <artifactId>maven-enforcer-plugin
</artifactId>
294 <version>1.4.1</version>
297 <id>enforce-maven-version
</id>
303 <requireMavenVersion>
304 <version>3.3</version>
305 </requireMavenVersion>
307 <version>1.8</version>
308 </requireJavaVersion>
317 <groupId>org.eclipse.tycho
</groupId>
318 <artifactId>target-platform-configuration
</artifactId>
320 <includePackedArtifacts>true
</includePackedArtifacts>
350 <groupId>org.eclipse.tracecompass
</groupId>
351 <artifactId>org.eclipse.tracecompass.target
</artifactId>
352 <classifier>${target-platform}
</classifier>
353 <version>2.0.0</version>
360 <groupId>org.eclipse.tycho
</groupId>
361 <artifactId>tycho-maven-plugin
</artifactId>
362 <version>${tycho-version}
</version>
363 <extensions>true
</extensions>
367 <groupId>org.eclipse.tycho
</groupId>
368 <artifactId>tycho-source-plugin
</artifactId>
369 <version>${tycho-version}
</version>
372 <id>plugin-source
</id>
374 <goal>plugin-source
</goal>
381 <groupId>org.eclipse.tycho.extras
</groupId>
382 <artifactId>tycho-source-feature-plugin
</artifactId>
383 <version>${tycho-extras-version}
</version>
385 <includeBinaryFeature>false
</includeBinaryFeature>
389 <id>source-feature
</id>
390 <phase>package
</phase>
392 <goal>source-feature
</goal>
399 <groupId>org.eclipse.tycho.extras
</groupId>
400 <artifactId>tycho-pack200b-plugin
</artifactId>
401 <version>${tycho-extras-version}
</version>
404 <id>pack200-pack
</id>
408 <phase>package
</phase>
414 <groupId>org.eclipse.tycho
</groupId>
415 <artifactId>tycho-p2-plugin
</artifactId>
420 <goal>p2-metadata
</goal>
422 <phase>package
</phase>
426 <defaultP2Metadata>false
</defaultP2Metadata>
434 <groupId>org.eclipse.tycho
</groupId>
435 <artifactId>tycho-compiler-plugin
</artifactId>
436 <version>${tycho-version}
</version>
440 <encoding>UTF-
8</encoding>
441 <useProjectSettings>true
</useProjectSettings>
443 <annotationpath>common/org.eclipse.tracecompass.common.core/annotations
</annotationpath>
449 <groupId>org.eclipse.tycho
</groupId>
450 <artifactId>target-platform-configuration
</artifactId>
451 <version>${tycho-version}
</version>
455 <groupId>org.eclipse.tycho
</groupId>
456 <artifactId>tycho-p2-plugin
</artifactId>
457 <version>${tycho-version}
</version>
461 <groupId>org.eclipse.tycho
</groupId>
462 <artifactId>tycho-p2-publisher-plugin
</artifactId>
463 <version>${tycho-version}
</version>
467 <groupId>org.eclipse.tycho
</groupId>
468 <artifactId>tycho-p2-repository-plugin
</artifactId>
469 <version>${tycho-version}
</version>
473 <groupId>org.eclipse.tycho
</groupId>
474 <artifactId>tycho-surefire-plugin
</artifactId>
475 <version>${tycho-version}
</version>
477 <!-- Default configuration, UI tests may have to override these -->
478 <useUIHarness>false
</useUIHarness>
479 <useUIThread>false
</useUIThread>
482 <type>p2-installable-unit
</type>
483 <artifactId>org.eclipse.platform.feature.group
</artifactId>
484 <version>${sdk-version}
</version>
487 <product>org.eclipse.platform.ide
</product>
488 <argLine>${testArgLine} ${base.ui.test.vmargs} -Xms512m -Xmx1024m
</argLine>
493 <groupId>org.eclipse.tycho
</groupId>
494 <artifactId>tycho-versions-plugin
</artifactId>
495 <version>${tycho-version}
</version>
499 <groupId>org.eclipse.tycho
</groupId>
500 <artifactId>tycho-packaging-plugin
</artifactId>
501 <version>${tycho-version}
</version>
504 <generate>true
</generate>
509 <groupId>org.eclipse.tycho.extras
</groupId>
510 <artifactId>tycho-sourceref-jgit
</artifactId>
511 <version>${tycho-extras-version}
</version>
517 <groupId>org.apache.maven.plugins
</groupId>
518 <artifactId>maven-resources-plugin
</artifactId>
519 <version>2.7</version>
521 <encoding>UTF-
8</encoding>
526 <groupId>org.apache.maven.plugins
</groupId>
527 <artifactId>maven-antrun-plugin
</artifactId>
528 <version>1.8</version>
532 <groupId>org.apache.maven.plugins
</groupId>
533 <artifactId>maven-site-plugin
</artifactId>
534 <version>3.4</version>
538 <groupId>org.apache.maven.plugins
</groupId>
539 <artifactId>maven-clean-plugin
</artifactId>
540 <version>2.6.1</version>
544 <groupId>org.apache.maven.plugins
</groupId>
545 <artifactId>maven-deploy-plugin
</artifactId>
546 <version>2.8.2</version>
550 <groupId>org.apache.maven.plugins
</groupId>
551 <artifactId>maven-install-plugin
</artifactId>
552 <version>2.5.2</version>
556 <groupId>org.apache.maven.plugins
</groupId>
557 <artifactId>maven-project-info-reports-plugin
</artifactId>
558 <version>2.8</version>
562 <groupId>org.apache.maven.plugins
</groupId>
563 <artifactId>maven-javadoc-plugin
</artifactId>
564 <version>2.10.1</version>
566 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*
</excludePackageNames>
571 <groupId>org.jboss.tools.tycho-plugins
</groupId>
572 <artifactId>repository-utils
</artifactId>
573 <version>0.23.2</version>
577 <groupId>org.codehaus.mojo
</groupId>
578 <artifactId>sonar-maven-plugin
</artifactId>
579 <version>2.7.1</version>
583 <groupId>org.eclipse.tycho.extras
</groupId>
584 <artifactId>tycho-eclipserun-plugin
</artifactId>
585 <version>${tycho-extras-version}
</version>
589 <artifactId>org.apache.ant
</artifactId>
590 <type>eclipse-plugin
</type>
593 <artifactId>org.eclipse.help.base
</artifactId>
594 <type>eclipse-plugin
</type>
597 <artifactId>org.eclipse.ant.core
</artifactId>
598 <type>eclipse-plugin
</type>
601 <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
606 <url>${help-docs-eclipserun-repo}
</url>
613 <goal>eclipse-run
</goal>
615 <phase>compile
</phase>