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 <tycho.testArgLine
></tycho.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.2</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>
160 <groupId>org.jacoco
</groupId>
161 <artifactId>jacoco-maven-plugin
</artifactId>
162 <version>0.7.4.201502262128</version>
167 <goal>prepare-agent
</goal>
170 <!-- Where to put jacoco coverage report -->
171 <destFile>${sonar.jacoco.reportPath}
</destFile>
173 <include>org.eclipse.tracecompass.*
</include>
175 <append>true
</append>
180 <phase>post-integration-test
</phase>
185 <dataFile>${sonar.jacoco.reportPath}
</dataFile>
194 <!-- Automatic profile for Mac-specific settings -->
203 <base.ui.test.vmargs
>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Djava.awt.headless=false
</base.ui.test.vmargs
>
207 <!-- Automatic profile for non-Mac platforms settings -->
212 <family>!mac
</family>
216 <!-- Disable webkit integration, especially unstable on Linux -->
217 <base.ui.test.vmargs
>-Dorg.eclipse.swt.browser.DefaultType=mozilla
</base.ui.test.vmargs
>
221 <!-- Automatic profile to define the settings for UI test plugins -->
223 <id>ui-test-plugin
</id>
226 <exists>ui-test-plugin.properties
</exists>
232 <groupId>org.eclipse.tycho
</groupId>
233 <artifactId>tycho-surefire-plugin
</artifactId>
235 <useUIHarness>true
</useUIHarness>
236 <useUIThread>true
</useUIThread>
243 <!-- Automatic profile to define the settings for SWTBot test plugins -->
245 <id>swtbot-test-plugin
</id>
248 <exists>swtbot-test-plugin.properties
</exists>
254 <groupId>org.eclipse.tycho
</groupId>
255 <artifactId>tycho-surefire-plugin
</artifactId>
257 <useUIHarness>true
</useUIHarness>
258 <useUIThread>false
</useUIThread>
259 <environmentVariables>
260 <SWT_GTK3>${SWT_GTK3}
</SWT_GTK3>
261 <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
262 </environmentVariables>
271 <module>analysis
</module>
273 <module>common
</module>
276 <module>gdbtrace
</module>
277 <module>lttng
</module>
278 <module>pcap
</module>
280 <module>releng
</module>
281 <module>statesystem
</module>
288 <inherited>true
</inherited>
289 <groupId>org.apache.maven.plugins
</groupId>
290 <artifactId>maven-enforcer-plugin
</artifactId>
291 <version>1.4.1</version>
294 <id>enforce-maven-version
</id>
300 <requireMavenVersion>
301 <version>3.3</version>
302 </requireMavenVersion>
304 <version>1.8</version>
305 </requireJavaVersion>
314 <groupId>org.eclipse.tycho
</groupId>
315 <artifactId>target-platform-configuration
</artifactId>
317 <includePackedArtifacts>true
</includePackedArtifacts>
347 <groupId>org.eclipse.tracecompass
</groupId>
348 <artifactId>org.eclipse.tracecompass.target
</artifactId>
349 <classifier>${target-platform}
</classifier>
350 <version>2.0.0</version>
357 <groupId>org.eclipse.tycho
</groupId>
358 <artifactId>tycho-maven-plugin
</artifactId>
359 <version>${tycho-version}
</version>
360 <extensions>true
</extensions>
364 <groupId>org.eclipse.tycho
</groupId>
365 <artifactId>tycho-source-plugin
</artifactId>
366 <version>${tycho-version}
</version>
369 <id>plugin-source
</id>
371 <goal>plugin-source
</goal>
378 <groupId>org.eclipse.tycho.extras
</groupId>
379 <artifactId>tycho-source-feature-plugin
</artifactId>
380 <version>${tycho-extras-version}
</version>
382 <includeBinaryFeature>false
</includeBinaryFeature>
386 <id>source-feature
</id>
387 <phase>package
</phase>
389 <goal>source-feature
</goal>
396 <groupId>org.eclipse.tycho.extras
</groupId>
397 <artifactId>tycho-pack200b-plugin
</artifactId>
398 <version>${tycho-extras-version}
</version>
401 <id>pack200-pack
</id>
405 <phase>package
</phase>
411 <groupId>org.eclipse.tycho
</groupId>
412 <artifactId>tycho-p2-plugin
</artifactId>
417 <goal>p2-metadata
</goal>
419 <phase>package
</phase>
423 <defaultP2Metadata>false
</defaultP2Metadata>
431 <groupId>org.eclipse.tycho
</groupId>
432 <artifactId>tycho-compiler-plugin
</artifactId>
433 <version>${tycho-version}
</version>
437 <encoding>UTF-
8</encoding>
438 <useProjectSettings>true
</useProjectSettings>
440 <annotationpath>common/org.eclipse.tracecompass.common.core/annotations
</annotationpath>
446 <groupId>org.eclipse.tycho
</groupId>
447 <artifactId>target-platform-configuration
</artifactId>
448 <version>${tycho-version}
</version>
452 <groupId>org.eclipse.tycho
</groupId>
453 <artifactId>tycho-p2-plugin
</artifactId>
454 <version>${tycho-version}
</version>
458 <groupId>org.eclipse.tycho
</groupId>
459 <artifactId>tycho-p2-publisher-plugin
</artifactId>
460 <version>${tycho-version}
</version>
464 <groupId>org.eclipse.tycho
</groupId>
465 <artifactId>tycho-p2-repository-plugin
</artifactId>
466 <version>${tycho-version}
</version>
470 <groupId>org.eclipse.tycho
</groupId>
471 <artifactId>tycho-surefire-plugin
</artifactId>
472 <version>${tycho-version}
</version>
474 <!-- Default configuration, UI tests may have to override these -->
475 <useUIHarness>false
</useUIHarness>
476 <useUIThread>false
</useUIThread>
479 <type>p2-installable-unit
</type>
480 <artifactId>org.eclipse.platform.feature.group
</artifactId>
481 <version>${sdk-version}
</version>
484 <product>org.eclipse.platform.ide
</product>
485 <argLine>${tycho.testArgLine} ${base.ui.test.vmargs} -Xms512m -Xmx1024m
</argLine>
490 <groupId>org.eclipse.tycho
</groupId>
491 <artifactId>tycho-versions-plugin
</artifactId>
492 <version>${tycho-version}
</version>
496 <groupId>org.eclipse.tycho
</groupId>
497 <artifactId>tycho-packaging-plugin
</artifactId>
498 <version>${tycho-version}
</version>
501 <generate>true
</generate>
506 <groupId>org.eclipse.tycho.extras
</groupId>
507 <artifactId>tycho-sourceref-jgit
</artifactId>
508 <version>${tycho-extras-version}
</version>
514 <groupId>org.apache.maven.plugins
</groupId>
515 <artifactId>maven-resources-plugin
</artifactId>
516 <version>2.7</version>
518 <encoding>UTF-
8</encoding>
523 <groupId>org.apache.maven.plugins
</groupId>
524 <artifactId>maven-antrun-plugin
</artifactId>
525 <version>1.8</version>
529 <groupId>org.apache.maven.plugins
</groupId>
530 <artifactId>maven-site-plugin
</artifactId>
531 <version>3.4</version>
535 <groupId>org.apache.maven.plugins
</groupId>
536 <artifactId>maven-clean-plugin
</artifactId>
537 <version>2.6.1</version>
541 <groupId>org.apache.maven.plugins
</groupId>
542 <artifactId>maven-deploy-plugin
</artifactId>
543 <version>2.8.2</version>
547 <groupId>org.apache.maven.plugins
</groupId>
548 <artifactId>maven-install-plugin
</artifactId>
549 <version>2.5.2</version>
553 <groupId>org.apache.maven.plugins
</groupId>
554 <artifactId>maven-project-info-reports-plugin
</artifactId>
555 <version>2.8</version>
559 <groupId>org.apache.maven.plugins
</groupId>
560 <artifactId>maven-javadoc-plugin
</artifactId>
561 <version>2.10.1</version>
563 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*
</excludePackageNames>
568 <groupId>org.jboss.tools.tycho-plugins
</groupId>
569 <artifactId>repository-utils
</artifactId>
570 <version>0.23.2</version>
574 <groupId>org.codehaus.mojo
</groupId>
575 <artifactId>sonar-maven-plugin
</artifactId>
576 <version>2.7.1</version>
580 <groupId>org.eclipse.tycho.extras
</groupId>
581 <artifactId>tycho-eclipserun-plugin
</artifactId>
582 <version>${tycho-extras-version}
</version>
586 <artifactId>org.apache.ant
</artifactId>
587 <type>eclipse-plugin
</type>
590 <artifactId>org.eclipse.help.base
</artifactId>
591 <type>eclipse-plugin
</type>
594 <artifactId>org.eclipse.ant.core
</artifactId>
595 <type>eclipse-plugin
</type>
598 <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
603 <url>${help-docs-eclipserun-repo}
</url>
610 <goal>eclipse-run
</goal>
612 <phase>compile
</phase>