blob: 06281adba1fffc8e9c82c75ff2bc5e518385b262 [file] [log] [blame]
Severin Gehwolf89882f22011-03-09 17:08:24 -05001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Patrick Tassec89728e2020-03-18 17:29:31 -04003 Copyright (c) 2011, 2020 Red Hat, Inc. and others
Severin Gehwolf89882f22011-03-09 17:08:24 -05004
5 All rights reserved. This program and the accompanying materials
Patrick Tassec918c0f2020-02-21 15:15:11 -05006 are made available under the terms of the Eclipse Public License 2.0
Severin Gehwolf89882f22011-03-09 17:08:24 -05007 which accompanies this distribution, and is available at
Patrick Tassec918c0f2020-02-21 15:15:11 -05008 https://www.eclipse.org/legal/epl-2.0/
9
10 SPDX-License-Identifier: EPL-2.0
Severin Gehwolf89882f22011-03-09 17:08:24 -050011-->
12
13<project xmlns="http://maven.apache.org/POM/4.0.0"
14 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
15 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
16 <modelVersion>4.0.0</modelVersion>
17
18 <prerequisites>
Jonathan Rajottebe3347d2015-12-02 16:04:29 -050019 <maven>${required-maven-version}</maven>
Severin Gehwolf89882f22011-03-09 17:08:24 -050020 </prerequisites>
21
Alexandre Montplaisir8336b412014-09-22 17:00:21 -040022 <groupId>org.eclipse.tracecompass</groupId>
23 <artifactId>org.eclipse.tracecompass</artifactId>
Patrick Tasse637509f2023-11-21 14:54:33 -050024 <version>9.2.0-SNAPSHOT</version>
Severin Gehwolf89882f22011-03-09 17:08:24 -050025 <packaging>pom</packaging>
Alexandre Montplaisir8336b412014-09-22 17:00:21 -040026 <name>Trace Compass Parent</name>
Severin Gehwolf89882f22011-03-09 17:08:24 -050027
28 <licenses>
29 <license>
Patrick Tassec918c0f2020-02-21 15:15:11 -050030 <name>Eclipse Public License 2.0</name>
Severin Gehwolf89882f22011-03-09 17:08:24 -050031 <comments>
Patrick Tassec918c0f2020-02-21 15:15:11 -050032 All rights reserved. This program and the accompanying materials are
33 made available under the terms of the Eclipse Public License 2.0 which
34 accompanies this distribution, and is available at
35 https://www.eclipse.org/legal/epl-2.0/
Severin Gehwolf89882f22011-03-09 17:08:24 -050036
Patrick Tassec918c0f2020-02-21 15:15:11 -050037 SPDX-License-Identifier: EPL-2.0
Severin Gehwolf89882f22011-03-09 17:08:24 -050038 </comments>
39 </license>
40 </licenses>
Marc-Andre Laperle5b953e72013-12-16 17:06:03 -050041
Alexandre Montplaisir9541b572015-12-09 16:40:59 -050042 <properties>
Bernd Hufmann9b04add2023-11-13 13:57:08 -050043 <required-maven-version>3.9</required-maven-version>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -050044 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Marc-Andre Laperle617a1302016-02-04 17:29:43 -050046 <testArgLine></testArgLine>
Marc-Andre Laperleeebe63f2015-11-23 18:23:02 -050047
Patrick Tasse96f8e602022-10-26 15:06:53 -040048 <jdk.version>17</jdk.version>
49 <jdk.release>17</jdk.release>
Patrick Tasse612edc72020-07-30 10:55:30 -040050
Bernd Hufmann8174a2a2019-07-30 07:01:10 -040051 <skip-tc-core-tests>false</skip-tc-core-tests>
Bernd Hufmann3bf35a02019-12-23 09:15:17 -050052 <skip-short-tc-ui-tests>false</skip-short-tc-ui-tests>
53 <skip-long-tc-ui-tests>false</skip-long-tc-ui-tests>
Bernd Hufmann8174a2a2019-07-30 07:01:10 -040054
Bernd Hufmann9b04add2023-11-13 13:57:08 -050055 <tycho-version>4.0.3</tycho-version>
56 <tycho-extras-version>4.0.3</tycho-extras-version>
Bernd Hufmann1e9d7d42021-06-08 13:42:41 -040057 <tycho-use-project-settings>true</tycho-use-project-settings>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -050058 <tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/tracecompass/org.eclipse.tracecompass.git</tycho.scmUrl>
Marco Miller121f90e2023-08-10 12:13:54 -040059 <cbi-plugins.version>1.4.2</cbi-plugins.version>
Patrick Tasseea2a0c72023-10-21 14:09:23 -040060 <target-platform>tracecompass-e4.30</target-platform>
Bernd Hufmann90119032021-10-19 16:10:42 -040061 <help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/4.20</help-docs-eclipserun-repo>
Marc-Andre Laperle5b953e72013-12-16 17:06:03 -050062
Marco Millerd92746e2023-08-10 10:26:04 -040063 <rcptt-version>2.5.4</rcptt-version>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -050064 <!-- 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) -->
65 <SWT_GTK3>0</SWT_GTK3>
Alexandre Montplaisir33112412014-09-22 14:22:07 -040066
Patrick Tasseea2a0c72023-10-21 14:09:23 -040067 <slf4j-bundle>slf4j.simple</slf4j-bundle>
68 <slf4j-version>2.0.9</slf4j-version>
Patrick Tasse6223e7a2023-10-30 14:30:32 -040069
Alexandre Montplaisir9541b572015-12-09 16:40:59 -050070 <!-- Sonar rule configuration -->
Marco Miller121f90e2023-08-10 12:13:54 -040071 <sonar-version>3.9.1.2184</sonar-version>
72 <jacoco-version>0.8.10</jacoco-version>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -050073 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
74 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
Patrick Tasse612edc72020-07-30 10:55:30 -040075 <sonar.java.source>${jdk.version}</sonar.java.source>
Bernd Hufmann6fe2fdf2019-07-25 16:43:19 -040076 <sonar.exclusions>**/tests/**,**/test/**,**/stubs/**,**/Messages*,**/alltests/**,**/ITmfEventField.java</sonar.exclusions>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -050077 <sonar.skippedModules>org.eclipse.tracecompass.ctf.parser,org.eclipse.tracecompass.examples</sonar.skippedModules>
Bernd Hufmann6fe2fdf2019-07-25 16:43:19 -040078 <jacoco.destFile>${project.basedir}/../../target/jacoco.exec</jacoco.destFile>
79 <sonar.jacoco.reportPath>${jacoco.destFile}</sonar.jacoco.reportPath>
80 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
Marc-Andre Laperle206fbbc2016-01-14 18:57:43 -050081 <sonar.issue.ignore.multicriteria>e1,e2,e3,e4,e5,e6,e7,e8</sonar.issue.ignore.multicriteria>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -050082 <sonar.issue.ignore.multicriteria.e1.ruleKey>findbugs:NP_STORE_INTO_NONNULL_FIELD</sonar.issue.ignore.multicriteria.e1.ruleKey>
83 <sonar.issue.ignore.multicriteria.e1.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e1.resourceKey>
84 <sonar.issue.ignore.multicriteria.e2.ruleKey>findbugs:RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE</sonar.issue.ignore.multicriteria.e2.ruleKey>
85 <sonar.issue.ignore.multicriteria.e2.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e2.resourceKey>
86 <sonar.issue.ignore.multicriteria.e3.ruleKey>findbugs:NP_NONNULL_PARAM_VIOLATION</sonar.issue.ignore.multicriteria.e3.ruleKey>
87 <sonar.issue.ignore.multicriteria.e3.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e3.resourceKey>
88 <sonar.issue.ignore.multicriteria.e4.ruleKey>findbugs:NP_NULL_PARAM_DEREF_NONVIRTUAL</sonar.issue.ignore.multicriteria.e4.ruleKey>
89 <sonar.issue.ignore.multicriteria.e4.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e4.resourceKey>
90 <sonar.issue.ignore.multicriteria.e5.ruleKey>findbugs:NP_NONNULL_RETURN_VIOLATION</sonar.issue.ignore.multicriteria.e5.ruleKey>
91 <sonar.issue.ignore.multicriteria.e5.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e5.resourceKey>
92 <sonar.issue.ignore.multicriteria.e6.ruleKey>findbugs:NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR</sonar.issue.ignore.multicriteria.e6.ruleKey>
93 <sonar.issue.ignore.multicriteria.e6.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e6.resourceKey>
Marc-Andre Laperle206fbbc2016-01-14 18:57:43 -050094 <sonar.issue.ignore.multicriteria.e7.ruleKey>findbugs:NP_NULL_PARAM_DEREF</sonar.issue.ignore.multicriteria.e7.ruleKey>
95 <sonar.issue.ignore.multicriteria.e7.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e7.resourceKey>
96 <sonar.issue.ignore.multicriteria.e8.ruleKey>findbugs:RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE</sonar.issue.ignore.multicriteria.e8.ruleKey>
97 <sonar.issue.ignore.multicriteria.e8.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e8.resourceKey>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -050098 </properties>
99
100 <pluginRepositories>
101 <pluginRepository>
102 <id>repo.eclipse.org</id>
103 <url>https://repo.eclipse.org/content/groups/releases/</url>
104 </pluginRepository>
105 <pluginRepository>
106 <id>tycho-snapshots</id>
107 <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
108 </pluginRepository>
109 <pluginRepository>
110 <id>jboss-public-repository-group</id>
111 <name>JBoss Public Repository Group</name>
Bernd Hufmann90c7f002021-06-21 11:50:10 -0400112 <url>https://repository.jboss.org/nexus/content/groups/public/</url>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500113 </pluginRepository>
Jonathan Rajottebe3347d2015-12-02 16:04:29 -0500114 <pluginRepository>
115 <id>rcptt-snapshots</id>
116 <name>RCPTT Maven Snapshots repository</name>
117 <url>https://repo.eclipse.org/content/repositories/rcptt-snapshots/</url>
118 </pluginRepository>
119 <pluginRepository>
120 <id>rcptt-releases</id>
121 <name>RCPTT Maven repository</name>
122 <url>https://repo.eclipse.org/content/repositories/rcptt-releases/</url>
123 </pluginRepository>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500124 </pluginRepositories>
125
126 <profiles>
127 <!-- Manually-set profile to sign the generated update sites -->
128 <profile>
129 <id>sign-update-site</id>
130 <build>
131 <plugins>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500132
133 <plugin>
134 <groupId>org.eclipse.cbi.maven.plugins</groupId>
135 <artifactId>eclipse-jarsigner-plugin</artifactId>
Marc-Andre Laperle33988082016-05-17 11:29:53 -0400136 <version>${cbi-plugins.version}</version>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500137 <executions>
138 <execution>
139 <id>sign</id>
140 <phase>package</phase>
141 <goals>
142 <goal>sign</goal>
143 </goals>
144 </execution>
145 </executions>
146 </plugin>
147
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500148 </plugins>
149 </build>
150 </profile>
151
Marc-Andre Laperle29d632c2016-01-27 03:11:21 -0500152 <profile>
153 <id>use-jacoco</id>
154 <activation>
155 <property>
156 <name>!skip-jacoco</name>
157 </property>
158 </activation>
Marc-Andre Laperle617a1302016-02-04 17:29:43 -0500159 <properties>
160 <testArgLine>${tycho.testArgLine}</testArgLine>
161 </properties>
Marc-Andre Laperle29d632c2016-01-27 03:11:21 -0500162 <build>
163 <plugins>
164 <plugin>
165 <groupId>org.jacoco</groupId>
166 <artifactId>jacoco-maven-plugin</artifactId>
Bernd Hufmannbb6c32d2021-07-07 08:08:18 -0400167 <version>${jacoco-version}</version>
Marc-Andre Laperle29d632c2016-01-27 03:11:21 -0500168 <executions>
169 <execution>
170 <id>pre-test</id>
171 <goals>
172 <goal>prepare-agent</goal>
173 </goals>
174 <configuration>
175 <!-- Where to put jacoco coverage report -->
Bernd Hufmann6fe2fdf2019-07-25 16:43:19 -0400176 <destFile>${jacoco.destFile}</destFile>
Marc-Andre Laperle29d632c2016-01-27 03:11:21 -0500177 <includes>
178 <include>org.eclipse.tracecompass.*</include>
179 </includes>
180 <append>true</append>
181 </configuration>
182 </execution>
183 <execution>
Bernd Hufmann6fe2fdf2019-07-25 16:43:19 -0400184 <id>jacoco-report</id>
185 <phase>verify</phase>
Marc-Andre Laperle29d632c2016-01-27 03:11:21 -0500186 <goals>
187 <goal>report</goal>
Bernd Hufmann6fe2fdf2019-07-25 16:43:19 -0400188 <goal>report-aggregate</goal>
Marc-Andre Laperle29d632c2016-01-27 03:11:21 -0500189 </goals>
Marc-Andre Laperle29d632c2016-01-27 03:11:21 -0500190 </execution>
191 </executions>
192 </plugin>
193 </plugins>
194 </build>
195 </profile>
196
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500197 <!-- Automatic profile for Mac-specific settings -->
198 <profile>
199 <id>macosx</id>
200 <activation>
201 <os>
202 <family>mac</family>
203 </os>
204 </activation>
205 <properties>
206 <base.ui.test.vmargs>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Djava.awt.headless=false</base.ui.test.vmargs>
207 </properties>
208 </profile>
209
210 <!-- Automatic profile for non-Mac platforms settings -->
211 <profile>
212 <id>not-macosx</id>
213 <activation>
214 <os>
215 <family>!mac</family>
216 </os>
217 </activation>
218 <properties>
219 <!-- Disable webkit integration, especially unstable on Linux -->
220 <base.ui.test.vmargs>-Dorg.eclipse.swt.browser.DefaultType=mozilla</base.ui.test.vmargs>
221 </properties>
222 </profile>
Alexandre Montplaisir53e14a12015-12-08 14:37:05 -0500223
224 <!-- Automatic profile to define the settings for UI test plugins -->
225 <profile>
226 <id>ui-test-plugin</id>
227 <activation>
228 <file>
229 <exists>ui-test-plugin.properties</exists>
230 </file>
231 </activation>
232 <build>
233 <plugins>
234 <plugin>
235 <groupId>org.eclipse.tycho</groupId>
236 <artifactId>tycho-surefire-plugin</artifactId>
237 <configuration>
238 <useUIHarness>true</useUIHarness>
239 <useUIThread>true</useUIThread>
240 </configuration>
241 </plugin>
242 </plugins>
243 </build>
244 </profile>
245
246 <!-- Automatic profile to define the settings for SWTBot test plugins -->
247 <profile>
248 <id>swtbot-test-plugin</id>
249 <activation>
250 <file>
251 <exists>swtbot-test-plugin.properties</exists>
252 </file>
253 </activation>
254 <build>
255 <plugins>
256 <plugin>
257 <groupId>org.eclipse.tycho</groupId>
258 <artifactId>tycho-surefire-plugin</artifactId>
259 <configuration>
Patrick Tasse76f0fe72023-11-02 15:00:19 -0400260 <bundleStartLevel>
261 <bundle>
262 <id>org.apache.aries.spifly.dynamic.bundle</id>
263 <level>2</level>
264 <autoStart>true</autoStart>
265 </bundle>
266 <bundle>
267 <id>${slf4j-bundle}</id>
268 <level>2</level>
269 <autoStart>true</autoStart>
270 </bundle>
271 </bundleStartLevel>
Alexandre Montplaisir53e14a12015-12-08 14:37:05 -0500272 <useUIHarness>true</useUIHarness>
273 <useUIThread>false</useUIThread>
274 <environmentVariables>
275 <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
276 <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
277 </environmentVariables>
278 </configuration>
279 </plugin>
Patrick Tasseb1d27492023-05-23 11:45:45 -0400280 <plugin>
281 <groupId>org.eclipse.tycho</groupId>
282 <artifactId>target-platform-configuration</artifactId>
283 <configuration>
284 <dependency-resolution>
285 <extraRequirements>
286 <requirement>
287 <type>eclipse-plugin</type>
Patrick Tasse6223e7a2023-10-30 14:30:32 -0400288 <id>${slf4j-bundle}</id>
289 <versionRange>${slf4j-version}</versionRange>
Patrick Tasseb1d27492023-05-23 11:45:45 -0400290 </requirement>
291 <requirement>
292 <type>eclipse-plugin</type>
293 <id>org.eclipse.tracecompass.slf4j.binding.simple.properties</id>
294 <versionRange>1.0.0</versionRange>
295 </requirement>
296 </extraRequirements>
297 </dependency-resolution>
298 </configuration>
299 </plugin>
Alexandre Montplaisir53e14a12015-12-08 14:37:05 -0500300 </plugins>
301 </build>
302 </profile>
Marc-Andre Laperledf0d5162016-04-22 17:33:09 -0400303
304 <!-- Automatic profile to skip sonar -->
305 <profile>
306 <id>skip-sonar</id>
307 <activation>
308 <file>
309 <exists>sonar.skip.properties</exists>
310 </file>
311 </activation>
312 <properties>
313 <sonar.skip>true</sonar.skip>
314 </properties>
315 </profile>
Bernd Hufmann4f3dd432022-04-04 15:55:39 -0400316
317 <profile>
318 <id>build-api-docs</id>
319 <build>
320 <plugins>
321 <plugin>
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-javadoc-plugin</artifactId>
Bernd Hufmannfdbfc5a2023-11-25 21:54:04 -0500324 <version>3.6.2</version>
Bernd Hufmann4f3dd432022-04-04 15:55:39 -0400325 <configuration>
Bernd Hufmann0b0830b2023-11-27 17:04:02 -0500326 <groups>
327 <group>
328 <title>Backend</title>
329 <packages>org.eclipse.tracecompass.statesystem.*:org.eclipse.tracecompass.segmentstore.*:org.eclipse.tracecompass.datastore.*</packages>
330 </group>
331 </groups>
332 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*:*.test:*.example:*.btf.*:*.rcp.*:*.alltests:*.alltests.*:*.stubs:*.remote.*</excludePackageNames>
Bernd Hufmann4f3dd432022-04-04 15:55:39 -0400333 <overview>overview.html</overview>
334 <noindex>true</noindex>
335 <nodeprecated>false</nodeprecated>
336 <nodeprecatedlist>false</nodeprecatedlist>
337 <nohelp>true</nohelp>
338 <notree>true</notree>
339 <doctitle>Trace Compass API</doctitle>
340 <show>public</show>
341 <verbose>true</verbose>
Bernd Hufmann0b0830b2023-11-27 17:04:02 -0500342 <doclint>none</doclint>
Bernd Hufmann4f3dd432022-04-04 15:55:39 -0400343 </configuration>
344 </plugin>
345 </plugins>
346 </build>
347 </profile>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500348 </profiles>
Bernd Hufmann422f0fb2011-09-29 14:39:02 -0400349
Severin Gehwolf89882f22011-03-09 17:08:24 -0500350 <modules>
Alexandre Montplaisir657cb782015-05-11 17:57:57 -0400351 <module>analysis</module>
Alexandre Montplaisir6e244962015-05-07 17:26:49 -0400352 <module>btf</module>
Alexandre Montplaisir69bf2392015-05-11 15:55:29 -0400353 <module>common</module>
Alexandre Montplaisir4da8cd52015-05-11 17:22:32 -0400354 <module>ctf</module>
Alexandre Montplaisir8995fed2015-02-02 19:21:49 -0500355 <module>doc</module>
Alexandre Montplaisir76a6eeb2015-05-11 15:47:36 -0400356 <module>gdbtrace</module>
Alexandre Montplaisir42523282015-05-11 17:48:31 -0400357 <module>lttng</module>
Alexandre Montplaisir39697ee2015-05-11 12:48:15 -0400358 <module>pcap</module>
Alexandre Montplaisir5be236c2015-05-11 16:07:45 -0400359 <module>rcp</module>
Alexandre Montplaisir2e225292015-05-11 18:26:40 -0400360 <module>releng</module>
Alexandre Montplaisirc84075b2015-05-11 16:02:35 -0400361 <module>statesystem</module>
Alexandre Montplaisir3cbca182015-05-11 18:14:58 -0400362 <module>tmf</module>
Simon Delisle2d7677a2018-10-15 09:03:20 -0400363 <module>jsontrace</module>
Severin Gehwolf89882f22011-03-09 17:08:24 -0500364 </modules>
365
Alexandre Montplaisir032bdcc2015-12-08 14:35:03 -0500366 <build>
367 <plugins>
368 <plugin>
369 <inherited>true</inherited>
370 <groupId>org.apache.maven.plugins</groupId>
371 <artifactId>maven-enforcer-plugin</artifactId>
Marco Miller121f90e2023-08-10 12:13:54 -0400372 <version>3.3.0</version>
Alexandre Montplaisir032bdcc2015-12-08 14:35:03 -0500373 <executions>
374 <execution>
375 <id>enforce-maven-version</id>
376 <goals>
377 <goal>enforce</goal>
378 </goals>
379 <configuration>
380 <rules>
381 <requireMavenVersion>
Jonathan Rajottebe3347d2015-12-02 16:04:29 -0500382 <version>${required-maven-version}</version>
Alexandre Montplaisir032bdcc2015-12-08 14:35:03 -0500383 </requireMavenVersion>
384 <requireJavaVersion>
Patrick Tasse612edc72020-07-30 10:55:30 -0400385 <version>${jdk.version}</version>
Alexandre Montplaisir032bdcc2015-12-08 14:35:03 -0500386 </requireJavaVersion>
387 </rules>
388 <fail>true</fail>
389 </configuration>
390 </execution>
391 </executions>
392 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500393
394 <plugin>
395 <groupId>org.eclipse.tycho</groupId>
396 <artifactId>target-platform-configuration</artifactId>
397 <configuration>
Patrick Tasse612edc72020-07-30 10:55:30 -0400398 <executionEnvironment>JavaSE-${jdk.version}</executionEnvironment>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500399 <environments>
400 <environment>
401 <os>win32</os>
402 <ws>win32</ws>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500403 <arch>x86_64</arch>
404 </environment>
405 <environment>
406 <os>macosx</os>
407 <ws>cocoa</ws>
408 <arch>x86_64</arch>
409 </environment>
410 <environment>
Marc Dumaisec0d5d32023-09-12 11:01:58 -0400411 <os>macosx</os>
412 <ws>cocoa</ws>
413 <arch>aarch64</arch>
414 </environment>
415 <environment>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500416 <os>linux</os>
417 <ws>gtk</ws>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500418 <arch>x86_64</arch>
419 </environment>
420 </environments>
421 <target>
422 <artifact>
423 <groupId>org.eclipse.tracecompass</groupId>
424 <artifactId>org.eclipse.tracecompass.target</artifactId>
425 <classifier>${target-platform}</classifier>
Patrick Tasse637509f2023-11-21 14:54:33 -0500426 <version>9.2.0-SNAPSHOT</version>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500427 </artifact>
428 </target>
429 </configuration>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400430 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500431
432 <plugin>
433 <groupId>org.eclipse.tycho</groupId>
434 <artifactId>tycho-maven-plugin</artifactId>
435 <version>${tycho-version}</version>
436 <extensions>true</extensions>
437 </plugin>
438
439 <plugin>
440 <groupId>org.eclipse.tycho</groupId>
441 <artifactId>tycho-source-plugin</artifactId>
442 <version>${tycho-version}</version>
Bernd Hufmann9b04add2023-11-13 13:57:08 -0500443 <configuration>
444 <includeBinaryFeature>false</includeBinaryFeature>
445 </configuration>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500446 <executions>
447 <execution>
448 <id>plugin-source</id>
449 <goals>
450 <goal>plugin-source</goal>
451 </goals>
452 </execution>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500453 <execution>
Marco Miller5602e1d2023-06-20 12:59:06 -0400454 <id>feature-source</id>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500455 <phase>package</phase>
456 <goals>
Marco Miller5602e1d2023-06-20 12:59:06 -0400457 <goal>feature-source</goal>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500458 </goals>
459 </execution>
460 </executions>
461 </plugin>
462
463 <plugin>
Marc-Andre Laperle3870d082015-02-04 18:19:49 -0500464 <groupId>org.eclipse.tycho</groupId>
465 <artifactId>tycho-p2-plugin</artifactId>
Marc-Andre Laperle3870d082015-02-04 18:19:49 -0500466 <executions>
467 <execution>
468 <id>p2-metadata</id>
469 <goals>
470 <goal>p2-metadata</goal>
471 </goals>
472 <phase>package</phase>
473 </execution>
474 </executions>
475 <configuration>
476 <defaultP2Metadata>false</defaultP2Metadata>
477 </configuration>
478 </plugin>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400479 </plugins>
Alexandre Montplaisirb0d2c552015-11-24 18:50:53 -0500480
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400481 <pluginManagement>
482 <plugins>
483 <plugin>
484 <groupId>org.eclipse.tycho</groupId>
485 <artifactId>tycho-compiler-plugin</artifactId>
486 <version>${tycho-version}</version>
487 <configuration>
Patrick Tasse612edc72020-07-30 10:55:30 -0400488 <source>${jdk.version}</source>
489 <target>${jdk.version}</target>
490 <release>${jdk.release}</release>
Bernd Hufmann1e9d7d42021-06-08 13:42:41 -0400491 <useProjectSettings>${tycho-use-project-settings}</useProjectSettings>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400492 <encoding>UTF-8</encoding>
Alexandre Montplaisir4c4e2812015-05-25 12:38:29 -0400493 <compilerArguments>
494 <annotationpath>common/org.eclipse.tracecompass.common.core/annotations</annotationpath>
495 </compilerArguments>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400496 </configuration>
Marc-Andre Laperle7679e68a2015-02-27 19:17:26 -0500497 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500498
Marc-Andre Laperle7679e68a2015-02-27 19:17:26 -0500499 <plugin>
500 <groupId>org.eclipse.tycho</groupId>
501 <artifactId>target-platform-configuration</artifactId>
502 <version>${tycho-version}</version>
503 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500504
Marc-Andre Laperle7679e68a2015-02-27 19:17:26 -0500505 <plugin>
506 <groupId>org.eclipse.tycho</groupId>
507 <artifactId>tycho-p2-plugin</artifactId>
508 <version>${tycho-version}</version>
509 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500510
Marc-Andre Laperle7679e68a2015-02-27 19:17:26 -0500511 <plugin>
512 <groupId>org.eclipse.tycho</groupId>
513 <artifactId>tycho-p2-publisher-plugin</artifactId>
514 <version>${tycho-version}</version>
515 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500516
Marc-Andre Laperle7679e68a2015-02-27 19:17:26 -0500517 <plugin>
518 <groupId>org.eclipse.tycho</groupId>
519 <artifactId>tycho-p2-repository-plugin</artifactId>
520 <version>${tycho-version}</version>
Marc-Andre Laperlef1377952016-08-12 11:31:16 -0400521 <configuration>
522 <skipArchive>true</skipArchive>
523 </configuration>
Marc-Andre Laperle7679e68a2015-02-27 19:17:26 -0500524 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500525
Alexandre Montplaisirb0d2c552015-11-24 18:50:53 -0500526 <plugin>
527 <groupId>org.eclipse.tycho</groupId>
528 <artifactId>tycho-surefire-plugin</artifactId>
529 <version>${tycho-version}</version>
530 <configuration>
531 <!-- Default configuration, UI tests may have to override these -->
Patrick Tasse612edc72020-07-30 10:55:30 -0400532 <excludes>**/*Tests.java,**/*$*</excludes>
Alexandre Montplaisirb0d2c552015-11-24 18:50:53 -0500533 <useUIHarness>false</useUIHarness>
534 <useUIThread>false</useUIThread>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400535 <dependencies>
536 <dependency>
537 <type>p2-installable-unit</type>
538 <artifactId>org.eclipse.platform.feature.group</artifactId>
539 <version>${sdk-version}</version>
540 </dependency>
541 </dependencies>
542 <product>org.eclipse.platform.ide</product>
Marc-Andre Laperle617a1302016-02-04 17:29:43 -0500543 <argLine>${testArgLine} ${base.ui.test.vmargs} -Xms512m -Xmx1024m</argLine>
Marc-Andre Laperlebca351b2016-10-24 13:47:26 -0400544 <appArgLine>-consoleLog</appArgLine>
Patrick Tasse1f06ba72019-01-16 10:32:10 -0500545 <trimStackTrace>false</trimStackTrace>
Alexandre Montplaisirb0d2c552015-11-24 18:50:53 -0500546 </configuration>
547 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500548
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400549 <plugin>
550 <groupId>org.eclipse.tycho</groupId>
551 <artifactId>tycho-versions-plugin</artifactId>
552 <version>${tycho-version}</version>
553 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500554
Marc-Andre Laperle5bc05272015-01-09 17:55:29 -0500555 <plugin>
556 <groupId>org.eclipse.tycho</groupId>
557 <artifactId>tycho-packaging-plugin</artifactId>
558 <version>${tycho-version}</version>
559 <configuration>
560 <sourceReferences>
561 <generate>true</generate>
562 </sourceReferences>
Bernd Hufmanne1460e22023-12-15 14:14:04 -0500563 <deriveHeaderFromSource>false</deriveHeaderFromSource>
Marc-Andre Laperle5bc05272015-01-09 17:55:29 -0500564 </configuration>
565 <dependencies>
566 <dependency>
567 <groupId>org.eclipse.tycho.extras</groupId>
568 <artifactId>tycho-sourceref-jgit</artifactId>
569 <version>${tycho-extras-version}</version>
570 </dependency>
571 </dependencies>
572 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500573
Alexandre Montplaisirb0d2c552015-11-24 18:50:53 -0500574 <plugin>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400575 <groupId>org.apache.maven.plugins</groupId>
Patrick Tasse612edc72020-07-30 10:55:30 -0400576 <artifactId>maven-toolchains-plugin</artifactId>
Bernd Hufmann9b04add2023-11-13 13:57:08 -0500577 <version>3.1.0</version>
Patrick Tasse612edc72020-07-30 10:55:30 -0400578 <executions>
579 <execution>
580 <goals>
581 <goal>toolchain</goal>
582 </goals>
583 </execution>
584 </executions>
585 <configuration>
586 <toolchains>
587 <jdk>
588 <version>${jdk.version}</version>
589 </jdk>
590 </toolchains>
591 </configuration>
592 </plugin>
593
594 <plugin>
595 <groupId>org.apache.maven.plugins</groupId>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400596 <artifactId>maven-resources-plugin</artifactId>
Marco Miller121f90e2023-08-10 12:13:54 -0400597 <version>3.3.1</version>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400598 <configuration>
599 <encoding>UTF-8</encoding>
600 </configuration>
601 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500602
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400603 <plugin>
604 <groupId>org.apache.maven.plugins</groupId>
605 <artifactId>maven-antrun-plugin</artifactId>
Marco Millercb174932023-08-10 10:28:55 -0400606 <version>3.1.0</version>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400607 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500608
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400609 <plugin>
610 <groupId>org.apache.maven.plugins</groupId>
Jonathan Rajottebe3347d2015-12-02 16:04:29 -0500611 <artifactId>maven-dependency-plugin</artifactId>
Marco Miller121f90e2023-08-10 12:13:54 -0400612 <version>3.6.0</version>
Jonathan Rajottebe3347d2015-12-02 16:04:29 -0500613 </plugin>
614
615 <plugin>
616 <groupId>org.eclipse.rcptt</groupId>
617 <artifactId>rcptt-maven-plugin</artifactId>
618 <version>${rcptt-version}</version>
619 </plugin>
620
621 <plugin>
622 <groupId>org.apache.maven.plugins</groupId>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400623 <artifactId>maven-site-plugin</artifactId>
Marco Miller121f90e2023-08-10 12:13:54 -0400624 <version>4.0.0-M9</version>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400625 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500626
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400627 <plugin>
628 <groupId>org.apache.maven.plugins</groupId>
Marc-Andre Laperle7679e68a2015-02-27 19:17:26 -0500629 <artifactId>maven-clean-plugin</artifactId>
Marco Miller121f90e2023-08-10 12:13:54 -0400630 <version>3.3.1</version>
Marc-Andre Laperle7679e68a2015-02-27 19:17:26 -0500631 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500632
Marc-Andre Laperle7679e68a2015-02-27 19:17:26 -0500633 <plugin>
634 <groupId>org.apache.maven.plugins</groupId>
635 <artifactId>maven-deploy-plugin</artifactId>
Marco Miller121f90e2023-08-10 12:13:54 -0400636 <version>3.1.1</version>
Marc-Andre Laperle7679e68a2015-02-27 19:17:26 -0500637 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500638
Marc-Andre Laperle7679e68a2015-02-27 19:17:26 -0500639 <plugin>
640 <groupId>org.apache.maven.plugins</groupId>
641 <artifactId>maven-install-plugin</artifactId>
642 <version>2.5.2</version>
643 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500644
Marc-Andre Laperle7679e68a2015-02-27 19:17:26 -0500645 <plugin>
646 <groupId>org.apache.maven.plugins</groupId>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400647 <artifactId>maven-project-info-reports-plugin</artifactId>
Marco Miller121f90e2023-08-10 12:13:54 -0400648 <version>3.4.5</version>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400649 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500650
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400651 <plugin>
652 <groupId>org.apache.maven.plugins</groupId>
653 <artifactId>maven-javadoc-plugin</artifactId>
Bernd Hufmannfdbfc5a2023-11-25 21:54:04 -0500654 <version>3.6.2</version>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400655 <configuration>
Geneviève Bastien2553e9d2019-06-20 11:21:41 -0400656 <groups>
657 <group>
658 <title>Backend</title>
659 <packages>org.eclipse.tracecompass.statesystem.*:org.eclipse.tracecompass.segmentstore.*:org.eclipse.tracecompass.datastore.*</packages>
Bernd Hufmann0b0830b2023-11-27 17:04:02 -0500660 </group>
Geneviève Bastien2553e9d2019-06-20 11:21:41 -0400661 </groups>
Bernd Hufmann0b0830b2023-11-27 17:04:02 -0500662 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*:*.test:*.example:*.btf.*:*.rcp.*:*.alltests:*.alltests.*:*.stubs:*.remote.*</excludePackageNames>
663 <overview>overview.html</overview>
664 <noindex>true</noindex>
665 <nodeprecated>false</nodeprecated>
666 <nodeprecatedlist>false</nodeprecatedlist>
667 <nohelp>true</nohelp>
668 <notree>true</notree>
669 <doctitle>Trace Compass API</doctitle>
670 <show>public</show>
671 <verbose>true</verbose>
Geneviève Bastien2553e9d2019-06-20 11:21:41 -0400672 <doclint>none</doclint>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400673 </configuration>
674 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500675
Marc-Andre Laperled538e442014-12-11 16:06:17 -0500676 <plugin>
Jean-Christian Kouame4c30b422017-08-25 11:04:01 -0400677 <groupId>org.sonarsource.scanner.maven</groupId>
Matthew Khouzam313697f2015-09-15 10:40:18 -0400678 <artifactId>sonar-maven-plugin</artifactId>
Bernd Hufmannbb6c32d2021-07-07 08:08:18 -0400679 <version>${sonar-version}</version>
Matthew Khouzam313697f2015-09-15 10:40:18 -0400680 </plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500681
Matthew Khouzam313697f2015-09-15 10:40:18 -0400682 <plugin>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500683 <groupId>org.eclipse.tycho.extras</groupId>
684 <artifactId>tycho-eclipserun-plugin</artifactId>
685 <version>${tycho-extras-version}</version>
686 <configuration>
687 <dependencies>
688 <dependency>
689 <artifactId>org.apache.ant</artifactId>
690 <type>eclipse-plugin</type>
691 </dependency>
692 <dependency>
693 <artifactId>org.eclipse.help.base</artifactId>
694 <type>eclipse-plugin</type>
695 </dependency>
696 <dependency>
697 <artifactId>org.eclipse.ant.core</artifactId>
698 <type>eclipse-plugin</type>
699 </dependency>
700 </dependencies>
Patrick Tasse612edc72020-07-30 10:55:30 -0400701 <!-- This needs to be explicitly set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500702 <repositories>
703 <repository>
704 <id>platform</id>
705 <layout>p2</layout>
706 <url>${help-docs-eclipserun-repo}</url>
707 </repository>
708 </repositories>
Patrick Tasse612edc72020-07-30 10:55:30 -0400709 <executionEnvironment>JavaSE-${jdk.version}</executionEnvironment>
Alexandre Montplaisir9541b572015-12-09 16:40:59 -0500710 </configuration>
711 <executions>
712 <execution>
713 <goals>
714 <goal>eclipse-run</goal>
715 </goals>
716 <phase>compile</phase>
717 </execution>
718 </executions>
Marc-Andre Laperle887cb872015-03-23 16:33:39 -0400719 </plugin>
Alexandre Montplaisir33112412014-09-22 14:22:07 -0400720 </plugins>
721 </pluginManagement>
722 </build>
Bernd Hufmann9c0ffa32013-06-17 08:40:57 -0400723
Severin Gehwolf89882f22011-03-09 17:08:24 -0500724</project>