Update usage of IAdaptable#getAdapter
[deliverable/tracecompass.git] / pom.xml
CommitLineData
89882f20
SG
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (C) 2011, Red Hat, Inc.
4
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
9-->
10
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>
15
16 <prerequisites>
17 <maven>3.0</maven>
18 </prerequisites>
19
8336b412
AM
20 <groupId>org.eclipse.tracecompass</groupId>
21 <artifactId>org.eclipse.tracecompass</artifactId>
c7e8f6e3 22 <version>1.0.0-SNAPSHOT</version>
89882f20 23 <packaging>pom</packaging>
8336b412 24 <name>Trace Compass Parent</name>
89882f20
SG
25
26 <licenses>
27 <license>
28 <name>Eclipse Public License v1.0</name>
29 <comments>
30 All rights reserved.
31
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
36 </comments>
37 </license>
38 </licenses>
5b953e7c
MAL
39
40<properties>
41 <base.test.vmargs>-Xms256m -Xmx1024m -XX:MaxPermSize=256m</base.test.vmargs>
4bbcaec0
MAL
42 <tycho-version>0.23.0</tycho-version>
43 <tycho-extras-version>0.23.0</tycho-extras-version>
5bc05277 44 <tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/tracecompass/org.eclipse.tracecompass.git</tycho.scmUrl>
e50763b5 45 <target-platform>tracecompass-e4.5</target-platform>
33112414
AM
46 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
47 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
743528c4 48 <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
33112414
AM
49 <sonar.java.source>1.7</sonar.java.source>
50 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
887cb879 51 <help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/4.4</help-docs-eclipserun-repo>
c4998bb2
MAL
52 <!-- 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) -->
53 <SWT_GTK3>0</SWT_GTK3>
5b953e7c
MAL
54</properties>
55
33112414
AM
56<pluginRepositories>
57 <pluginRepository>
58 <id>repo.eclipse.org</id>
59 <url>https://repo.eclipse.org/content/groups/releases/</url>
60 </pluginRepository>
61 <pluginRepository>
62 <id>tycho-snapshots</id>
63 <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
64 </pluginRepository>
d538e443
MAL
65 <pluginRepository>
66 <id>jboss-public-repository-group</id>
67 <name>JBoss Public Repository Group</name>
68 <url>http://repository.jboss.org/nexus/content/groups/public/</url>
69 </pluginRepository>
33112414
AM
70</pluginRepositories>
71
422f0fb8 72<profiles>
bbd79a63
MAL
73 <profile>
74 <id>sign-update-site</id>
75 <build>
76 <plugins>
3870d08a
MAL
77 <plugin>
78 <groupId>org.eclipse.tycho.extras</groupId>
79 <artifactId>tycho-pack200a-plugin</artifactId>
80 <version>${tycho-extras-version}</version>
81 <executions>
82 <execution>
83 <id>pack200-normalize</id>
84 <goals>
85 <goal>normalize</goal>
86 </goals>
87 <phase>package</phase>
88 </execution>
89 </executions>
90 </plugin>
bbd79a63
MAL
91 <plugin>
92 <groupId>org.eclipse.cbi.maven.plugins</groupId>
93 <artifactId>eclipse-jarsigner-plugin</artifactId>
15ebe5e7 94 <version>1.1.2</version>
bbd79a63
MAL
95 <executions>
96 <execution>
97 <id>sign</id>
3870d08a 98 <phase>package</phase>
bbd79a63
MAL
99 <goals>
100 <goal>sign</goal>
101 </goals>
102 </execution>
103 </executions>
104 </plugin>
e3651426
MAL
105 <plugin>
106 <groupId>org.eclipse.tycho.extras</groupId>
107 <artifactId>tycho-pack200b-plugin</artifactId>
108 <version>${tycho-extras-version}</version>
109 <executions>
110 <execution>
111 <id>pack200-pack</id>
112 <goals>
113 <goal>pack</goal>
114 </goals>
115 <phase>package</phase>
116 </execution>
117 </executions>
118 </plugin>
bbd79a63
MAL
119 </plugins>
120 </build>
121 </profile>
5b953e7c
MAL
122 <profile>
123 <id>macosx</id>
124 <activation>
125 <os>
126 <family>mac</family>
127 </os>
128 </activation>
129 <properties>
130 <base.ui.test.vmargs>${base.test.vmargs} -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</base.ui.test.vmargs>
131 </properties>
132 </profile>
133 <profile>
134 <id>not-macosx</id>
135 <activation>
136 <os>
137 <family>!mac</family>
138 </os>
139 </activation>
140 <properties>
e6d4bff0
MAL
141 <!-- Disable webkit integration, especially unstable on Linux -->
142 <base.ui.test.vmargs>${base.test.vmargs} -Dorg.eclipse.swt.browser.DefaultType=mozilla</base.ui.test.vmargs>
5b953e7c
MAL
143 </properties>
144 </profile>
422f0fb8
BH
145</profiles>
146
89882f20 147 <modules>
657cb785 148 <module>analysis</module>
6e244963 149 <module>btf</module>
69bf2390 150 <module>common</module>
4da8cd5b 151 <module>ctf</module>
8995fed0 152 <module>doc</module>
76a6eebb 153 <module>gdbtrace</module>
4252328e 154 <module>lttng</module>
39697ee7 155 <module>pcap</module>
5be236ca 156 <module>rcp</module>
2e225298 157 <module>releng</module>
c84075b4 158 <module>statesystem</module>
3cbca186 159 <module>tmf</module>
89882f20
SG
160 </modules>
161
9c0ffa34
BH
162 <build>
163 <plugins>
164 <plugin>
165 <groupId>org.eclipse.tycho</groupId>
166 <artifactId>target-platform-configuration</artifactId>
167 <version>${tycho-version}</version>
168 <configuration>
3870d08a 169 <includePackedArtifacts>true</includePackedArtifacts>
9c0ffa34
BH
170 <environments>
171 <environment>
172 <os>win32</os>
173 <ws>win32</ws>
174 <arch>x86</arch>
175 </environment>
176 <environment>
177 <os>win32</os>
178 <ws>win32</ws>
179 <arch>x86_64</arch>
180 </environment>
181 <environment>
182 <os>macosx</os>
183 <ws>cocoa</ws>
184 <arch>x86_64</arch>
185 </environment>
9c0ffa34
BH
186 <environment>
187 <os>linux</os>
188 <ws>gtk</ws>
189 <arch>x86</arch>
190 </environment>
191 <environment>
192 <os>linux</os>
193 <ws>gtk</ws>
194 <arch>x86_64</arch>
195 </environment>
9c0ffa34 196 </environments>
33112414
AM
197 <target>
198 <artifact>
8336b412
AM
199 <groupId>org.eclipse.tracecompass</groupId>
200 <artifactId>org.eclipse.tracecompass.target</artifactId>
33112414
AM
201 <classifier>${target-platform}</classifier>
202 <version>1.0.0</version>
203 </artifact>
204 </target>
9df8efff
MAL
205 <filters>
206 <filter>
207 <type>eclipse-plugin</type>
208 <id>org.eclipse.jdt.annotation</id>
209 <restrictTo>
210 <versionRange>[1.0,2.0)</versionRange>
211 </restrictTo>
212 </filter>
213 </filters>
9c0ffa34
BH
214 </configuration>
215 </plugin>
216 <plugin>
217 <groupId>org.eclipse.tycho</groupId>
218 <artifactId>tycho-maven-plugin</artifactId>
219 <version>${tycho-version}</version>
220 <extensions>true</extensions>
221 </plugin>
33112414
AM
222 <plugin>
223 <groupId>org.eclipse.tycho</groupId>
224 <artifactId>tycho-source-plugin</artifactId>
225 <version>${tycho-version}</version>
226 <executions>
227 <execution>
228 <id>plugin-source</id>
229 <goals>
230 <goal>plugin-source</goal>
231 </goals>
232 </execution>
233 </executions>
234 </plugin>
235 <plugin>
236 <groupId>org.eclipse.tycho.extras</groupId>
237 <artifactId>tycho-source-feature-plugin</artifactId>
238 <version>${tycho-version}</version>
239 <configuration>
240 <includeBinaryFeature>false</includeBinaryFeature>
241 </configuration>
242 <executions>
243 <execution>
244 <id>source-feature</id>
245 <phase>package</phase>
246 <goals>
247 <goal>source-feature</goal>
248 </goals>
249 </execution>
250 </executions>
251 </plugin>
252 <plugin>
253 <groupId>org.jacoco</groupId>
254 <artifactId>jacoco-maven-plugin</artifactId>
7679e68a 255 <version>0.7.4.201502262128</version>
33112414
AM
256 <executions>
257 <execution>
258 <id>pre-test</id>
259 <goals>
260 <goal>prepare-agent</goal>
261 </goals>
262 <configuration>
263 <!-- Where to put jacoco coverage report -->
264 <destFile>${sonar.jacoco.reportPath}</destFile>
265 <includes>
730dbd2a 266 <include>org.eclipse.tracecompass.*</include>
33112414
AM
267 </includes>
268 <append>true</append>
269 </configuration>
270 </execution>
271 <execution>
272 <id>post-test</id>
273 <phase>post-integration-test</phase>
274 <goals>
275 <goal>report</goal>
276 </goals>
277 <configuration>
278 <dataFile>${sonar.jacoco.reportPath}</dataFile>
279 </configuration>
280 </execution>
281 </executions>
282 </plugin>
3870d08a
MAL
283 <plugin>
284 <groupId>org.eclipse.tycho.extras</groupId>
285 <artifactId>tycho-pack200b-plugin</artifactId>
286 <version>${tycho-extras-version}</version>
287 <executions>
288 <execution>
289 <id>pack200-pack</id>
290 <goals>
291 <goal>pack</goal>
292 </goals>
293 <phase>package</phase>
294 </execution>
295 </executions>
296 </plugin>
297 <plugin>
298 <groupId>org.eclipse.tycho</groupId>
299 <artifactId>tycho-p2-plugin</artifactId>
300 <version>${tycho-version}</version>
301 <executions>
302 <execution>
303 <id>p2-metadata</id>
304 <goals>
305 <goal>p2-metadata</goal>
306 </goals>
307 <phase>package</phase>
308 </execution>
309 </executions>
310 <configuration>
311 <defaultP2Metadata>false</defaultP2Metadata>
312 </configuration>
313 </plugin>
33112414
AM
314 </plugins>
315 <pluginManagement>
316 <plugins>
317 <plugin>
318 <groupId>org.eclipse.tycho</groupId>
319 <artifactId>tycho-compiler-plugin</artifactId>
320 <version>${tycho-version}</version>
321 <configuration>
322 <encoding>UTF-8</encoding>
5194c8ca 323 <useProjectSettings>true</useProjectSettings>
33112414 324 </configuration>
7679e68a
MAL
325 </plugin>
326 <plugin>
327 <groupId>org.eclipse.tycho</groupId>
328 <artifactId>target-platform-configuration</artifactId>
329 <version>${tycho-version}</version>
330 </plugin>
331 <plugin>
332 <groupId>org.eclipse.tycho</groupId>
333 <artifactId>tycho-p2-plugin</artifactId>
334 <version>${tycho-version}</version>
335 </plugin>
336 <plugin>
337 <groupId>org.eclipse.tycho</groupId>
338 <artifactId>tycho-p2-publisher-plugin</artifactId>
339 <version>${tycho-version}</version>
340 </plugin>
341 <plugin>
342 <groupId>org.eclipse.tycho</groupId>
343 <artifactId>tycho-p2-repository-plugin</artifactId>
344 <version>${tycho-version}</version>
345 </plugin>
33112414
AM
346 <plugin>
347 <groupId>org.eclipse.tycho</groupId>
348 <artifactId>tycho-surefire-plugin</artifactId>
349 <version>${tycho-version}</version>
350 <configuration>
351 <useUIHarness>true</useUIHarness>
352 <useUIThread>true</useUIThread>
353 <dependencies>
354 <dependency>
355 <type>p2-installable-unit</type>
356 <artifactId>org.eclipse.platform.feature.group</artifactId>
357 <version>${sdk-version}</version>
358 </dependency>
359 </dependencies>
360 <product>org.eclipse.platform.ide</product>
361 <argLine>${tycho.testArgLine} -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m</argLine>
362 </configuration>
363 </plugin>
364 <plugin>
365 <groupId>org.eclipse.tycho</groupId>
366 <artifactId>tycho-versions-plugin</artifactId>
367 <version>${tycho-version}</version>
368 </plugin>
5bc05277
MAL
369 <plugin>
370 <groupId>org.eclipse.tycho</groupId>
371 <artifactId>tycho-packaging-plugin</artifactId>
372 <version>${tycho-version}</version>
373 <configuration>
374 <sourceReferences>
375 <generate>true</generate>
376 </sourceReferences>
377 </configuration>
378 <dependencies>
379 <dependency>
380 <groupId>org.eclipse.tycho.extras</groupId>
381 <artifactId>tycho-sourceref-jgit</artifactId>
382 <version>${tycho-extras-version}</version>
383 </dependency>
384 </dependencies>
385 </plugin>
33112414
AM
386 <plugin>
387 <groupId>org.apache.maven.plugins</groupId>
388 <artifactId>maven-resources-plugin</artifactId>
7679e68a 389 <version>2.7</version>
33112414
AM
390 <configuration>
391 <encoding>UTF-8</encoding>
392 </configuration>
393 </plugin>
394 <plugin>
395 <groupId>org.apache.maven.plugins</groupId>
396 <artifactId>maven-antrun-plugin</artifactId>
7679e68a 397 <version>1.8</version>
33112414
AM
398 </plugin>
399 <plugin>
400 <groupId>org.apache.maven.plugins</groupId>
401 <artifactId>maven-site-plugin</artifactId>
402 <version>3.4</version>
403 </plugin>
7679e68a
MAL
404 <plugin>
405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-clean-plugin</artifactId>
407 <version>2.6.1</version>
408 </plugin>
409 <plugin>
410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-deploy-plugin</artifactId>
412 <version>2.8.2</version>
413 </plugin>
414 <plugin>
415 <groupId>org.apache.maven.plugins</groupId>
416 <artifactId>maven-install-plugin</artifactId>
417 <version>2.5.2</version>
418 </plugin>
33112414
AM
419 <plugin>
420 <groupId>org.apache.maven.plugins</groupId>
421 <artifactId>maven-project-info-reports-plugin</artifactId>
7679e68a 422 <version>2.8</version>
33112414
AM
423 </plugin>
424 <plugin>
425 <groupId>org.apache.maven.plugins</groupId>
426 <artifactId>maven-javadoc-plugin</artifactId>
7679e68a 427 <version>2.10.1</version>
33112414 428 <configuration>
730dbd2a 429 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*</excludePackageNames>
33112414
AM
430 </configuration>
431 </plugin>
d538e443
MAL
432 <plugin>
433 <groupId>org.jboss.tools.tycho-plugins</groupId>
434 <artifactId>repository-utils</artifactId>
5194c8ca 435 <version>0.22.0</version>
d538e443 436 </plugin>
887cb879
MAL
437 <plugin>
438 <groupId>org.eclipse.tycho.extras</groupId>
439 <artifactId>tycho-eclipserun-plugin</artifactId>
440 <version>${tycho-extras-version}</version>
441 <configuration>
442 <dependencies>
443 <dependency>
444 <artifactId>org.apache.ant</artifactId>
445 <type>eclipse-plugin</type>
446 </dependency>
447 <dependency>
448 <artifactId>org.eclipse.help.base</artifactId>
449 <type>eclipse-plugin</type>
450 </dependency>
451 <dependency>
452 <artifactId>org.eclipse.ant.core</artifactId>
453 <type>eclipse-plugin</type>
454 </dependency>
455 </dependencies>
456 <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
457 <repositories>
458 <repository>
459 <id>platform</id>
460 <layout>p2</layout>
461 <url>${help-docs-eclipserun-repo}</url>
462 </repository>
463 </repositories>
464 </configuration>
465 <executions>
466 <execution>
467 <goals>
468 <goal>eclipse-run</goal>
469 </goals>
470 <phase>compile</phase>
471 </execution>
472 </executions>
473 </plugin>
33112414
AM
474 </plugins>
475 </pluginManagement>
476 </build>
9c0ffa34 477
89882f20 478</project>
This page took 0.092254 seconds and 5 git commands to generate.