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
>
44 <tycho-version>0.24.0</tycho-version>
45 <tycho-extras-version>0.24.0</tycho-extras-version>
46 <tycho.scmUrl
>scm:git:git://git.eclipse.org/gitroot/tracecompass/org.eclipse.tracecompass.git
</tycho.scmUrl
>
47 <target-platform>tracecompass-e4.5
</target-platform>
48 <help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/
4.5</help-docs-eclipserun-repo>
50 <!-- 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) -->
51 <SWT_GTK3>0</SWT_GTK3>
53 <!-- Sonar rule configuration -->
54 <sonar.core.codeCoveragePlugin
>jacoco
</sonar.core.codeCoveragePlugin
>
55 <sonar.dynamicAnalysis
>reuseReports
</sonar.dynamicAnalysis
>
56 <sonar.jacoco.reportPath
>${project.basedir}/../../target/jacoco.exec
</sonar.jacoco.reportPath
>
57 <sonar.java.source
>1.8</sonar.java.source
>
58 <sonar.exclusions
>**/tests/**,**/test/**,**/stubs/**,**/Messages*,**/alltests/**
</sonar.exclusions
>
59 <sonar.skippedModules
>org.eclipse.tracecompass.ctf.parser,org.eclipse.tracecompass.examples
</sonar.skippedModules
>
60 <sonar.issue.ignore.multicriteria
>e1,e2,e3,e4,e5,e6
</sonar.issue.ignore.multicriteria
>
61 <sonar.issue.ignore.multicriteria.e1.ruleKey
>findbugs:NP_STORE_INTO_NONNULL_FIELD
</sonar.issue.ignore.multicriteria.e1.ruleKey
>
62 <sonar.issue.ignore.multicriteria.e1.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e1.resourceKey
>
63 <sonar.issue.ignore.multicriteria.e2.ruleKey
>findbugs:RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
</sonar.issue.ignore.multicriteria.e2.ruleKey
>
64 <sonar.issue.ignore.multicriteria.e2.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e2.resourceKey
>
65 <sonar.issue.ignore.multicriteria.e3.ruleKey
>findbugs:NP_NONNULL_PARAM_VIOLATION
</sonar.issue.ignore.multicriteria.e3.ruleKey
>
66 <sonar.issue.ignore.multicriteria.e3.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e3.resourceKey
>
67 <sonar.issue.ignore.multicriteria.e4.ruleKey
>findbugs:NP_NULL_PARAM_DEREF_NONVIRTUAL
</sonar.issue.ignore.multicriteria.e4.ruleKey
>
68 <sonar.issue.ignore.multicriteria.e4.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e4.resourceKey
>
69 <sonar.issue.ignore.multicriteria.e5.ruleKey
>findbugs:NP_NONNULL_RETURN_VIOLATION
</sonar.issue.ignore.multicriteria.e5.ruleKey
>
70 <sonar.issue.ignore.multicriteria.e5.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e5.resourceKey
>
71 <sonar.issue.ignore.multicriteria.e6.ruleKey
>findbugs:NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR
</sonar.issue.ignore.multicriteria.e6.ruleKey
>
72 <sonar.issue.ignore.multicriteria.e6.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e6.resourceKey
>
77 <id>repo.eclipse.org
</id>
78 <url>https://repo.eclipse.org/content/groups/releases/
</url>
81 <id>tycho-snapshots
</id>
82 <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/
</url>
85 <id>jboss-public-repository-group
</id>
86 <name>JBoss Public Repository Group
</name>
87 <url>http://repository.jboss.org/nexus/content/groups/public/
</url>
92 <!-- Manually-set profile to sign the generated update sites -->
94 <id>sign-update-site
</id>
98 <groupId>org.eclipse.tycho.extras
</groupId>
99 <artifactId>tycho-pack200a-plugin
</artifactId>
100 <version>${tycho-extras-version}
</version>
103 <id>pack200-normalize
</id>
105 <goal>normalize
</goal>
107 <phase>package
</phase>
113 <groupId>org.eclipse.cbi.maven.plugins
</groupId>
114 <artifactId>eclipse-jarsigner-plugin
</artifactId>
115 <version>1.1.2</version>
119 <phase>package
</phase>
128 <groupId>org.eclipse.tycho.extras
</groupId>
129 <artifactId>tycho-pack200b-plugin
</artifactId>
130 <version>${tycho-extras-version}
</version>
133 <id>pack200-pack
</id>
137 <phase>package
</phase>
145 <!-- Automatic profile for Mac-specific settings -->
154 <base.ui.test.vmargs
>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Djava.awt.headless=false
</base.ui.test.vmargs
>
158 <!-- Automatic profile for non-Mac platforms settings -->
163 <family>!mac
</family>
167 <!-- Disable webkit integration, especially unstable on Linux -->
168 <base.ui.test.vmargs
>-Dorg.eclipse.swt.browser.DefaultType=mozilla
</base.ui.test.vmargs
>
174 <module>analysis
</module>
176 <module>common
</module>
179 <module>gdbtrace
</module>
180 <module>lttng
</module>
181 <module>pcap
</module>
183 <module>releng
</module>
184 <module>statesystem
</module>
191 <inherited>true
</inherited>
192 <groupId>org.apache.maven.plugins
</groupId>
193 <artifactId>maven-enforcer-plugin
</artifactId>
194 <version>1.4.1</version>
197 <id>enforce-maven-version
</id>
203 <requireMavenVersion>
204 <version>3.0</version>
205 </requireMavenVersion>
207 <version>1.8</version>
208 </requireJavaVersion>
217 <groupId>org.eclipse.tycho
</groupId>
218 <artifactId>target-platform-configuration
</artifactId>
220 <includePackedArtifacts>true
</includePackedArtifacts>
250 <groupId>org.eclipse.tracecompass
</groupId>
251 <artifactId>org.eclipse.tracecompass.target
</artifactId>
252 <classifier>${target-platform}
</classifier>
253 <version>2.0.0</version>
260 <groupId>org.eclipse.tycho
</groupId>
261 <artifactId>tycho-maven-plugin
</artifactId>
262 <version>${tycho-version}
</version>
263 <extensions>true
</extensions>
267 <groupId>org.eclipse.tycho
</groupId>
268 <artifactId>tycho-source-plugin
</artifactId>
269 <version>${tycho-version}
</version>
272 <id>plugin-source
</id>
274 <goal>plugin-source
</goal>
281 <groupId>org.eclipse.tycho.extras
</groupId>
282 <artifactId>tycho-source-feature-plugin
</artifactId>
283 <version>${tycho-extras-version}
</version>
285 <includeBinaryFeature>false
</includeBinaryFeature>
289 <id>source-feature
</id>
290 <phase>package
</phase>
292 <goal>source-feature
</goal>
299 <groupId>org.jacoco
</groupId>
300 <artifactId>jacoco-maven-plugin
</artifactId>
301 <version>0.7.4.201502262128</version>
306 <goal>prepare-agent
</goal>
309 <!-- Where to put jacoco coverage report -->
310 <destFile>${sonar.jacoco.reportPath}
</destFile>
312 <include>org.eclipse.tracecompass.*
</include>
314 <append>true
</append>
319 <phase>post-integration-test
</phase>
324 <dataFile>${sonar.jacoco.reportPath}
</dataFile>
331 <groupId>org.eclipse.tycho.extras
</groupId>
332 <artifactId>tycho-pack200b-plugin
</artifactId>
333 <version>${tycho-extras-version}
</version>
336 <id>pack200-pack
</id>
340 <phase>package
</phase>
346 <groupId>org.eclipse.tycho
</groupId>
347 <artifactId>tycho-p2-plugin
</artifactId>
352 <goal>p2-metadata
</goal>
354 <phase>package
</phase>
358 <defaultP2Metadata>false
</defaultP2Metadata>
366 <groupId>org.eclipse.tycho
</groupId>
367 <artifactId>tycho-compiler-plugin
</artifactId>
368 <version>${tycho-version}
</version>
372 <encoding>UTF-
8</encoding>
373 <useProjectSettings>true
</useProjectSettings>
375 <annotationpath>common/org.eclipse.tracecompass.common.core/annotations
</annotationpath>
381 <groupId>org.eclipse.tycho
</groupId>
382 <artifactId>target-platform-configuration
</artifactId>
383 <version>${tycho-version}
</version>
387 <groupId>org.eclipse.tycho
</groupId>
388 <artifactId>tycho-p2-plugin
</artifactId>
389 <version>${tycho-version}
</version>
393 <groupId>org.eclipse.tycho
</groupId>
394 <artifactId>tycho-p2-publisher-plugin
</artifactId>
395 <version>${tycho-version}
</version>
399 <groupId>org.eclipse.tycho
</groupId>
400 <artifactId>tycho-p2-repository-plugin
</artifactId>
401 <version>${tycho-version}
</version>
405 <groupId>org.eclipse.tycho
</groupId>
406 <artifactId>tycho-surefire-plugin
</artifactId>
407 <version>${tycho-version}
</version>
409 <!-- Default configuration, UI tests may have to override these -->
410 <useUIHarness>false
</useUIHarness>
411 <useUIThread>false
</useUIThread>
414 <type>p2-installable-unit
</type>
415 <artifactId>org.eclipse.platform.feature.group
</artifactId>
416 <version>${sdk-version}
</version>
419 <product>org.eclipse.platform.ide
</product>
420 <argLine>${tycho.testArgLine} ${base.ui.test.vmargs} -Xms512m -Xmx1024m
</argLine>
425 <groupId>org.eclipse.tycho
</groupId>
426 <artifactId>tycho-versions-plugin
</artifactId>
427 <version>${tycho-version}
</version>
431 <groupId>org.eclipse.tycho
</groupId>
432 <artifactId>tycho-packaging-plugin
</artifactId>
433 <version>${tycho-version}
</version>
436 <generate>true
</generate>
441 <groupId>org.eclipse.tycho.extras
</groupId>
442 <artifactId>tycho-sourceref-jgit
</artifactId>
443 <version>${tycho-extras-version}
</version>
449 <groupId>org.apache.maven.plugins
</groupId>
450 <artifactId>maven-resources-plugin
</artifactId>
451 <version>2.7</version>
453 <encoding>UTF-
8</encoding>
458 <groupId>org.apache.maven.plugins
</groupId>
459 <artifactId>maven-antrun-plugin
</artifactId>
460 <version>1.8</version>
464 <groupId>org.apache.maven.plugins
</groupId>
465 <artifactId>maven-site-plugin
</artifactId>
466 <version>3.4</version>
470 <groupId>org.apache.maven.plugins
</groupId>
471 <artifactId>maven-clean-plugin
</artifactId>
472 <version>2.6.1</version>
476 <groupId>org.apache.maven.plugins
</groupId>
477 <artifactId>maven-deploy-plugin
</artifactId>
478 <version>2.8.2</version>
482 <groupId>org.apache.maven.plugins
</groupId>
483 <artifactId>maven-install-plugin
</artifactId>
484 <version>2.5.2</version>
488 <groupId>org.apache.maven.plugins
</groupId>
489 <artifactId>maven-project-info-reports-plugin
</artifactId>
490 <version>2.8</version>
494 <groupId>org.apache.maven.plugins
</groupId>
495 <artifactId>maven-javadoc-plugin
</artifactId>
496 <version>2.10.1</version>
498 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*
</excludePackageNames>
503 <groupId>org.jboss.tools.tycho-plugins
</groupId>
504 <artifactId>repository-utils
</artifactId>
505 <version>0.23.2</version>
509 <groupId>org.codehaus.mojo
</groupId>
510 <artifactId>sonar-maven-plugin
</artifactId>
511 <version>2.6</version>
515 <groupId>org.eclipse.tycho.extras
</groupId>
516 <artifactId>tycho-eclipserun-plugin
</artifactId>
517 <version>${tycho-extras-version}
</version>
521 <artifactId>org.apache.ant
</artifactId>
522 <type>eclipse-plugin
</type>
525 <artifactId>org.eclipse.help.base
</artifactId>
526 <type>eclipse-plugin
</type>
529 <artifactId>org.eclipse.ant.core
</artifactId>
530 <type>eclipse-plugin
</type>
533 <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
538 <url>${help-docs-eclipserun-repo}
</url>
545 <goal>eclipse-run
</goal>
547 <phase>compile
</phase>