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 <base.test.vmargs
>-Xms256m -Xmx1024m -XX:MaxPermSize=
256m
</base.test.vmargs
>
42 <tycho-version>0.24.0</tycho-version>
43 <tycho-extras-version>0.24.0</tycho-extras-version>
44 <tycho.scmUrl
>scm:git:git://git.eclipse.org/gitroot/tracecompass/org.eclipse.tracecompass.git
</tycho.scmUrl
>
45 <target-platform>tracecompass-e4.5
</target-platform>
46 <sonar.core.codeCoveragePlugin
>jacoco
</sonar.core.codeCoveragePlugin
>
47 <sonar.dynamicAnalysis
>reuseReports
</sonar.dynamicAnalysis
>
48 <sonar.jacoco.reportPath
>${project.basedir}/../../target/jacoco.exec
</sonar.jacoco.reportPath
>
49 <sonar.java.source
>1.8</sonar.java.source
>
50 <sonar.exclusions
>**/tests/**,**/test/**,**/stubs/**,**/Messages*,**/alltests/**
</sonar.exclusions
>
51 <sonar.skippedModules
>org.eclipse.tracecompass.ctf.parser,org.eclipse.tracecompass.examples
</sonar.skippedModules
>
52 <!-- Sonar rule exclusions -->
53 <sonar.issue.ignore.multicriteria
>e1,e2,e3,e4,e5,e6
</sonar.issue.ignore.multicriteria
>
54 <sonar.issue.ignore.multicriteria.e1.ruleKey
>findbugs:NP_STORE_INTO_NONNULL_FIELD
</sonar.issue.ignore.multicriteria.e1.ruleKey
>
55 <sonar.issue.ignore.multicriteria.e1.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e1.resourceKey
>
56 <sonar.issue.ignore.multicriteria.e2.ruleKey
>findbugs:RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
</sonar.issue.ignore.multicriteria.e2.ruleKey
>
57 <sonar.issue.ignore.multicriteria.e2.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e2.resourceKey
>
58 <sonar.issue.ignore.multicriteria.e3.ruleKey
>findbugs:NP_NONNULL_PARAM_VIOLATION
</sonar.issue.ignore.multicriteria.e3.ruleKey
>
59 <sonar.issue.ignore.multicriteria.e3.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e3.resourceKey
>
60 <sonar.issue.ignore.multicriteria.e4.ruleKey
>findbugs:NP_NULL_PARAM_DEREF_NONVIRTUAL
</sonar.issue.ignore.multicriteria.e4.ruleKey
>
61 <sonar.issue.ignore.multicriteria.e4.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e4.resourceKey
>
62 <sonar.issue.ignore.multicriteria.e5.ruleKey
>findbugs:NP_NONNULL_RETURN_VIOLATION
</sonar.issue.ignore.multicriteria.e5.ruleKey
>
63 <sonar.issue.ignore.multicriteria.e5.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e5.resourceKey
>
64 <sonar.issue.ignore.multicriteria.e6.ruleKey
>findbugs:NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR
</sonar.issue.ignore.multicriteria.e6.ruleKey
>
65 <sonar.issue.ignore.multicriteria.e6.resourceKey
>**/*.java
</sonar.issue.ignore.multicriteria.e6.resourceKey
>
67 <project.build.sourceEncoding
>UTF-
8</project.build.sourceEncoding
>
68 <help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/
4.5</help-docs-eclipserun-repo>
69 <!-- 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) -->
70 <SWT_GTK3>0</SWT_GTK3>
75 <id>repo.eclipse.org
</id>
76 <url>https://repo.eclipse.org/content/groups/releases/
</url>
79 <id>tycho-snapshots
</id>
80 <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/
</url>
83 <id>jboss-public-repository-group
</id>
84 <name>JBoss Public Repository Group
</name>
85 <url>http://repository.jboss.org/nexus/content/groups/public/
</url>
91 <id>sign-update-site
</id>
95 <groupId>org.eclipse.tycho.extras
</groupId>
96 <artifactId>tycho-pack200a-plugin
</artifactId>
97 <version>${tycho-extras-version}
</version>
100 <id>pack200-normalize
</id>
102 <goal>normalize
</goal>
104 <phase>package
</phase>
109 <groupId>org.eclipse.cbi.maven.plugins
</groupId>
110 <artifactId>eclipse-jarsigner-plugin
</artifactId>
111 <version>1.1.2</version>
115 <phase>package
</phase>
123 <groupId>org.eclipse.tycho.extras
</groupId>
124 <artifactId>tycho-pack200b-plugin
</artifactId>
125 <version>${tycho-extras-version}
</version>
128 <id>pack200-pack
</id>
132 <phase>package
</phase>
147 <base.ui.test.vmargs
>${base.test.vmargs} -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Djava.awt.headless=false
</base.ui.test.vmargs
>
154 <family>!mac
</family>
158 <!-- Disable webkit integration, especially unstable on Linux -->
159 <base.ui.test.vmargs
>${base.test.vmargs} -Dorg.eclipse.swt.browser.DefaultType=mozilla
</base.ui.test.vmargs
>
165 <module>analysis
</module>
167 <module>common
</module>
170 <module>gdbtrace
</module>
171 <module>lttng
</module>
172 <module>pcap
</module>
174 <module>releng
</module>
175 <module>statesystem
</module>
182 <inherited>true
</inherited>
183 <groupId>org.apache.maven.plugins
</groupId>
184 <artifactId>maven-enforcer-plugin
</artifactId>
185 <version>1.4.1</version>
188 <id>enforce-maven-version
</id>
194 <requireMavenVersion>
195 <version>3.0</version>
196 </requireMavenVersion>
198 <version>1.8</version>
199 </requireJavaVersion>
207 <groupId>org.eclipse.tycho
</groupId>
208 <artifactId>target-platform-configuration
</artifactId>
210 <includePackedArtifacts>true
</includePackedArtifacts>
240 <groupId>org.eclipse.tracecompass
</groupId>
241 <artifactId>org.eclipse.tracecompass.target
</artifactId>
242 <classifier>${target-platform}
</classifier>
243 <version>2.0.0</version>
249 <groupId>org.eclipse.tycho
</groupId>
250 <artifactId>tycho-maven-plugin
</artifactId>
251 <version>${tycho-version}
</version>
252 <extensions>true
</extensions>
255 <groupId>org.eclipse.tycho
</groupId>
256 <artifactId>tycho-source-plugin
</artifactId>
257 <version>${tycho-version}
</version>
260 <id>plugin-source
</id>
262 <goal>plugin-source
</goal>
268 <groupId>org.eclipse.tycho.extras
</groupId>
269 <artifactId>tycho-source-feature-plugin
</artifactId>
270 <version>${tycho-version}
</version>
272 <includeBinaryFeature>false
</includeBinaryFeature>
276 <id>source-feature
</id>
277 <phase>package
</phase>
279 <goal>source-feature
</goal>
285 <groupId>org.jacoco
</groupId>
286 <artifactId>jacoco-maven-plugin
</artifactId>
287 <version>0.7.4.201502262128</version>
292 <goal>prepare-agent
</goal>
295 <!-- Where to put jacoco coverage report -->
296 <destFile>${sonar.jacoco.reportPath}
</destFile>
298 <include>org.eclipse.tracecompass.*
</include>
300 <append>true
</append>
305 <phase>post-integration-test
</phase>
310 <dataFile>${sonar.jacoco.reportPath}
</dataFile>
316 <groupId>org.eclipse.tycho.extras
</groupId>
317 <artifactId>tycho-pack200b-plugin
</artifactId>
318 <version>${tycho-extras-version}
</version>
321 <id>pack200-pack
</id>
325 <phase>package
</phase>
330 <groupId>org.eclipse.tycho
</groupId>
331 <artifactId>tycho-p2-plugin
</artifactId>
336 <goal>p2-metadata
</goal>
338 <phase>package
</phase>
342 <defaultP2Metadata>false
</defaultP2Metadata>
349 <groupId>org.eclipse.tycho
</groupId>
350 <artifactId>tycho-compiler-plugin
</artifactId>
351 <version>${tycho-version}
</version>
355 <encoding>UTF-
8</encoding>
356 <useProjectSettings>true
</useProjectSettings>
358 <annotationpath>common/org.eclipse.tracecompass.common.core/annotations
</annotationpath>
363 <groupId>org.eclipse.tycho
</groupId>
364 <artifactId>target-platform-configuration
</artifactId>
365 <version>${tycho-version}
</version>
368 <groupId>org.eclipse.tycho
</groupId>
369 <artifactId>tycho-p2-plugin
</artifactId>
370 <version>${tycho-version}
</version>
373 <groupId>org.eclipse.tycho
</groupId>
374 <artifactId>tycho-p2-publisher-plugin
</artifactId>
375 <version>${tycho-version}
</version>
378 <groupId>org.eclipse.tycho
</groupId>
379 <artifactId>tycho-p2-repository-plugin
</artifactId>
380 <version>${tycho-version}
</version>
383 <groupId>org.eclipse.tycho
</groupId>
384 <artifactId>tycho-surefire-plugin
</artifactId>
385 <version>${tycho-version}
</version>
387 <useUIHarness>true
</useUIHarness>
388 <useUIThread>true
</useUIThread>
391 <type>p2-installable-unit
</type>
392 <artifactId>org.eclipse.platform.feature.group
</artifactId>
393 <version>${sdk-version}
</version>
396 <product>org.eclipse.platform.ide
</product>
397 <argLine>${tycho.testArgLine} -Xms512m -Xmx1024m -XX:PermSize=
256m -XX:MaxPermSize=
256m
</argLine>
401 <groupId>org.eclipse.tycho
</groupId>
402 <artifactId>tycho-versions-plugin
</artifactId>
403 <version>${tycho-version}
</version>
406 <groupId>org.eclipse.tycho
</groupId>
407 <artifactId>tycho-packaging-plugin
</artifactId>
408 <version>${tycho-version}
</version>
411 <generate>true
</generate>
416 <groupId>org.eclipse.tycho.extras
</groupId>
417 <artifactId>tycho-sourceref-jgit
</artifactId>
418 <version>${tycho-extras-version}
</version>
423 <groupId>org.apache.maven.plugins
</groupId>
424 <artifactId>maven-resources-plugin
</artifactId>
425 <version>2.7</version>
427 <encoding>UTF-
8</encoding>
431 <groupId>org.apache.maven.plugins
</groupId>
432 <artifactId>maven-antrun-plugin
</artifactId>
433 <version>1.8</version>
436 <groupId>org.apache.maven.plugins
</groupId>
437 <artifactId>maven-site-plugin
</artifactId>
438 <version>3.4</version>
441 <groupId>org.apache.maven.plugins
</groupId>
442 <artifactId>maven-clean-plugin
</artifactId>
443 <version>2.6.1</version>
446 <groupId>org.apache.maven.plugins
</groupId>
447 <artifactId>maven-deploy-plugin
</artifactId>
448 <version>2.8.2</version>
451 <groupId>org.apache.maven.plugins
</groupId>
452 <artifactId>maven-install-plugin
</artifactId>
453 <version>2.5.2</version>
456 <groupId>org.apache.maven.plugins
</groupId>
457 <artifactId>maven-project-info-reports-plugin
</artifactId>
458 <version>2.8</version>
461 <groupId>org.apache.maven.plugins
</groupId>
462 <artifactId>maven-javadoc-plugin
</artifactId>
463 <version>2.10.1</version>
465 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*
</excludePackageNames>
469 <groupId>org.jboss.tools.tycho-plugins
</groupId>
470 <artifactId>repository-utils
</artifactId>
471 <version>0.23.2</version>
474 <groupId>org.codehaus.mojo
</groupId>
475 <artifactId>sonar-maven-plugin
</artifactId>
476 <version>2.6</version>
479 <groupId>org.eclipse.tycho.extras
</groupId>
480 <artifactId>tycho-eclipserun-plugin
</artifactId>
481 <version>${tycho-extras-version}
</version>
485 <artifactId>org.apache.ant
</artifactId>
486 <type>eclipse-plugin
</type>
489 <artifactId>org.eclipse.help.base
</artifactId>
490 <type>eclipse-plugin
</type>
493 <artifactId>org.eclipse.ant.core
</artifactId>
494 <type>eclipse-plugin
</type>
497 <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
502 <url>${help-docs-eclipserun-repo}
</url>
509 <goal>eclipse-run
</goal>
511 <phase>compile
</phase>