btf: Move the plugins to their own sub-directory
[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>
f696c579 45 <target-platform>tracecompass-eStaging</target-platform>
33112414
AM
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.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>
9c0ffa34 73 <profile>
e09a2e40 74 <id>build-rcp</id>
9c0ffa34 75 <modules>
9d26aebf 76 <module>org.eclipse.tracecompass.rcp.product</module>
9c0ffa34
BH
77 </modules>
78 </profile>
bbd79a63
MAL
79 <profile>
80 <id>sign-update-site</id>
81 <build>
82 <plugins>
3870d08a
MAL
83 <plugin>
84 <groupId>org.eclipse.tycho.extras</groupId>
85 <artifactId>tycho-pack200a-plugin</artifactId>
86 <version>${tycho-extras-version}</version>
87 <executions>
88 <execution>
89 <id>pack200-normalize</id>
90 <goals>
91 <goal>normalize</goal>
92 </goals>
93 <phase>package</phase>
94 </execution>
95 </executions>
96 </plugin>
bbd79a63
MAL
97 <plugin>
98 <groupId>org.eclipse.cbi.maven.plugins</groupId>
99 <artifactId>eclipse-jarsigner-plugin</artifactId>
15ebe5e7 100 <version>1.1.2</version>
bbd79a63
MAL
101 <executions>
102 <execution>
103 <id>sign</id>
3870d08a 104 <phase>package</phase>
bbd79a63
MAL
105 <goals>
106 <goal>sign</goal>
107 </goals>
108 </execution>
109 </executions>
110 </plugin>
e3651426
MAL
111 <plugin>
112 <groupId>org.eclipse.tycho.extras</groupId>
113 <artifactId>tycho-pack200b-plugin</artifactId>
114 <version>${tycho-extras-version}</version>
115 <executions>
116 <execution>
117 <id>pack200-pack</id>
118 <goals>
119 <goal>pack</goal>
120 </goals>
121 <phase>package</phase>
122 </execution>
123 </executions>
124 </plugin>
bbd79a63
MAL
125 </plugins>
126 </build>
127 </profile>
a167a565
MAL
128 <profile>
129 <id>performance</id>
130 <modules>
83dbbb62 131 <module>org.eclipse.tracecompass.alltests</module>
a167a565
MAL
132 </modules>
133 </profile>
5b953e7c
MAL
134 <profile>
135 <id>macosx</id>
136 <activation>
137 <os>
138 <family>mac</family>
139 </os>
140 </activation>
141 <properties>
142 <base.ui.test.vmargs>${base.test.vmargs} -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</base.ui.test.vmargs>
143 </properties>
144 </profile>
145 <profile>
146 <id>not-macosx</id>
147 <activation>
148 <os>
149 <family>!mac</family>
150 </os>
151 </activation>
152 <properties>
e6d4bff0
MAL
153 <!-- Disable webkit integration, especially unstable on Linux -->
154 <base.ui.test.vmargs>${base.test.vmargs} -Dorg.eclipse.swt.browser.DefaultType=mozilla</base.ui.test.vmargs>
5b953e7c
MAL
155 </properties>
156 </profile>
422f0fb8
BH
157</profiles>
158
89882f20 159 <modules>
6e244963 160 <module>btf</module>
8995fed0 161 <module>doc</module>
6e244963 162
e110fed1 163 <module>org.eclipse.tracecompass.common.core</module>
9d979fda 164 <module>org.eclipse.tracecompass.common.core.tests</module>
e110fed1 165
9da723c0
AM
166 <module>org.eclipse.tracecompass.ctf</module>
167 <module>org.eclipse.tracecompass.ctf.core</module>
168 <module>org.eclipse.tracecompass.ctf.core.tests</module>
169 <module>org.eclipse.tracecompass.ctf.parser</module>
170 <module>org.eclipse.tracecompass.ctf.parser.tests</module>
866e5b51 171
93f3824e
AM
172 <module>org.eclipse.tracecompass.pcap.core</module>
173 <module>org.eclipse.tracecompass.pcap.core.tests</module>
b2b163e9 174
fbdee51b
AM
175 <module>org.eclipse.tracecompass.statesystem.core</module>
176 <module>org.eclipse.tracecompass.statesystem.core.tests</module>
bcec0116 177
c77a695a
AM
178 <module>org.eclipse.tracecompass.tmf</module>
179 <module>org.eclipse.tracecompass.tmf.core</module>
180 <module>org.eclipse.tracecompass.tmf.core.tests</module>
181 <module>org.eclipse.tracecompass.tmf.ui</module>
182 <module>org.eclipse.tracecompass.tmf.ui.tests</module>
183 <module>org.eclipse.tracecompass.tmf.ui.swtbot.tests</module>
c77a695a
AM
184
185 <module>org.eclipse.tracecompass.tmf.ctf</module>
186 <module>org.eclipse.tracecompass.tmf.ctf.core</module>
187 <module>org.eclipse.tracecompass.tmf.ctf.core.tests</module>
188 <module>org.eclipse.tracecompass.tmf.ctf.ui.swtbot.tests</module>
189
190 <module>org.eclipse.tracecompass.tmf.pcap</module>
191 <module>org.eclipse.tracecompass.tmf.pcap.core</module>
192 <module>org.eclipse.tracecompass.tmf.pcap.core.tests</module>
193 <module>org.eclipse.tracecompass.tmf.pcap.ui</module>
194 <module>org.eclipse.tracecompass.tmf.pcap.ui.swtbot.tests</module>
c77a695a
AM
195
196 <module>org.eclipse.tracecompass.tmf.analysis.xml.core</module>
197 <module>org.eclipse.tracecompass.tmf.analysis.xml.core.tests</module>
198 <module>org.eclipse.tracecompass.tmf.analysis.xml.ui</module>
199 <module>org.eclipse.tracecompass.tmf.analysis.xml.ui.tests</module>
faf37fd0 200
ec619615
BH
201 <module>org.eclipse.tracecompass.tmf.remote</module>
202 <module>org.eclipse.tracecompass.tmf.remote.core</module>
1d6a2139 203 <module>org.eclipse.tracecompass.tmf.remote.core.tests</module>
ec619615 204 <module>org.eclipse.tracecompass.tmf.remote.ui</module>
6614e196 205 <module>org.eclipse.tracecompass.tmf.remote.ui.swtbot.tests</module>
ec619615 206
911efc8f
MAL
207 <module>org.eclipse.tracecompass.tmf.remote.ui.tests</module>
208
8336b412
AM
209 <module>org.eclipse.tracecompass.releng-site</module>
210 <module>org.eclipse.tracecompass.target</module>
556101f3 211 <module>org.eclipse.tracecompass.testing</module>
c9b530b0 212
e363eae1
AM
213 <module>org.eclipse.tracecompass.analysis.os.linux.core</module>
214 <module>org.eclipse.tracecompass.analysis.os.linux.core.tests</module>
215 <module>org.eclipse.tracecompass.analysis.os.linux.ui</module>
216
86703386
AM
217 <module>org.eclipse.tracecompass.lttng2.control</module>
218 <module>org.eclipse.tracecompass.lttng2.control.core</module>
219 <module>org.eclipse.tracecompass.lttng2.control.core.tests</module>
220 <module>org.eclipse.tracecompass.lttng2.control.ui</module>
221 <module>org.eclipse.tracecompass.lttng2.control.ui.tests</module>
222
223 <module>org.eclipse.tracecompass.lttng2.kernel</module>
224 <module>org.eclipse.tracecompass.lttng2.kernel.core</module>
225 <module>org.eclipse.tracecompass.lttng2.kernel.core.tests</module>
226 <module>org.eclipse.tracecompass.lttng2.kernel.ui</module>
86703386
AM
227 <module>org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests</module>
228
229 <module>org.eclipse.tracecompass.lttng2.ust</module>
230 <module>org.eclipse.tracecompass.lttng2.ust.core</module>
231 <module>org.eclipse.tracecompass.lttng2.ust.core.tests</module>
232 <module>org.eclipse.tracecompass.lttng2.ust.ui</module>
233 <module>org.eclipse.tracecompass.lttng2.ust.ui.tests</module>
91fc3690 234
374cd3cd
AM
235 <module>org.eclipse.tracecompass.gdbtrace</module>
236 <module>org.eclipse.tracecompass.gdbtrace.core</module>
237 <module>org.eclipse.tracecompass.gdbtrace.core.tests</module>
238 <module>org.eclipse.tracecompass.gdbtrace.ui</module>
239 <module>org.eclipse.tracecompass.gdbtrace.ui.tests</module>
3bdf8523 240
a6140f01
AM
241 <module>org.eclipse.tracecompass.rcp.branding</module>
242 <module>org.eclipse.tracecompass.rcp.branding.feature</module>
243 <module>org.eclipse.tracecompass.rcp</module>
a6140f01 244 <module>org.eclipse.tracecompass.rcp.ui</module>
d9ac72f4 245
556101f3 246 <module>org.eclipse.tracecompass.examples</module>
89882f20
SG
247 </modules>
248
9c0ffa34
BH
249 <build>
250 <plugins>
251 <plugin>
252 <groupId>org.eclipse.tycho</groupId>
253 <artifactId>target-platform-configuration</artifactId>
254 <version>${tycho-version}</version>
255 <configuration>
3870d08a 256 <includePackedArtifacts>true</includePackedArtifacts>
9c0ffa34
BH
257 <environments>
258 <environment>
259 <os>win32</os>
260 <ws>win32</ws>
261 <arch>x86</arch>
262 </environment>
263 <environment>
264 <os>win32</os>
265 <ws>win32</ws>
266 <arch>x86_64</arch>
267 </environment>
268 <environment>
269 <os>macosx</os>
270 <ws>cocoa</ws>
271 <arch>x86_64</arch>
272 </environment>
9c0ffa34
BH
273 <environment>
274 <os>linux</os>
275 <ws>gtk</ws>
276 <arch>x86</arch>
277 </environment>
278 <environment>
279 <os>linux</os>
280 <ws>gtk</ws>
281 <arch>x86_64</arch>
282 </environment>
9c0ffa34 283 </environments>
33112414
AM
284 <target>
285 <artifact>
8336b412
AM
286 <groupId>org.eclipse.tracecompass</groupId>
287 <artifactId>org.eclipse.tracecompass.target</artifactId>
33112414
AM
288 <classifier>${target-platform}</classifier>
289 <version>1.0.0</version>
290 </artifact>
291 </target>
9df8efff
MAL
292 <filters>
293 <filter>
294 <type>eclipse-plugin</type>
295 <id>org.eclipse.jdt.annotation</id>
296 <restrictTo>
297 <versionRange>[1.0,2.0)</versionRange>
298 </restrictTo>
299 </filter>
300 </filters>
9c0ffa34
BH
301 </configuration>
302 </plugin>
303 <plugin>
304 <groupId>org.eclipse.tycho</groupId>
305 <artifactId>tycho-maven-plugin</artifactId>
306 <version>${tycho-version}</version>
307 <extensions>true</extensions>
308 </plugin>
33112414
AM
309 <plugin>
310 <groupId>org.eclipse.tycho</groupId>
311 <artifactId>tycho-source-plugin</artifactId>
312 <version>${tycho-version}</version>
313 <executions>
314 <execution>
315 <id>plugin-source</id>
316 <goals>
317 <goal>plugin-source</goal>
318 </goals>
319 </execution>
320 </executions>
321 </plugin>
322 <plugin>
323 <groupId>org.eclipse.tycho.extras</groupId>
324 <artifactId>tycho-source-feature-plugin</artifactId>
325 <version>${tycho-version}</version>
326 <configuration>
327 <includeBinaryFeature>false</includeBinaryFeature>
328 </configuration>
329 <executions>
330 <execution>
331 <id>source-feature</id>
332 <phase>package</phase>
333 <goals>
334 <goal>source-feature</goal>
335 </goals>
336 </execution>
337 </executions>
338 </plugin>
339 <plugin>
340 <groupId>org.jacoco</groupId>
341 <artifactId>jacoco-maven-plugin</artifactId>
7679e68a 342 <version>0.7.4.201502262128</version>
33112414
AM
343 <executions>
344 <execution>
345 <id>pre-test</id>
346 <goals>
347 <goal>prepare-agent</goal>
348 </goals>
349 <configuration>
350 <!-- Where to put jacoco coverage report -->
351 <destFile>${sonar.jacoco.reportPath}</destFile>
352 <includes>
730dbd2a 353 <include>org.eclipse.tracecompass.*</include>
33112414
AM
354 </includes>
355 <append>true</append>
356 </configuration>
357 </execution>
358 <execution>
359 <id>post-test</id>
360 <phase>post-integration-test</phase>
361 <goals>
362 <goal>report</goal>
363 </goals>
364 <configuration>
365 <dataFile>${sonar.jacoco.reportPath}</dataFile>
366 </configuration>
367 </execution>
368 </executions>
369 </plugin>
3870d08a
MAL
370 <plugin>
371 <groupId>org.eclipse.tycho.extras</groupId>
372 <artifactId>tycho-pack200b-plugin</artifactId>
373 <version>${tycho-extras-version}</version>
374 <executions>
375 <execution>
376 <id>pack200-pack</id>
377 <goals>
378 <goal>pack</goal>
379 </goals>
380 <phase>package</phase>
381 </execution>
382 </executions>
383 </plugin>
384 <plugin>
385 <groupId>org.eclipse.tycho</groupId>
386 <artifactId>tycho-p2-plugin</artifactId>
387 <version>${tycho-version}</version>
388 <executions>
389 <execution>
390 <id>p2-metadata</id>
391 <goals>
392 <goal>p2-metadata</goal>
393 </goals>
394 <phase>package</phase>
395 </execution>
396 </executions>
397 <configuration>
398 <defaultP2Metadata>false</defaultP2Metadata>
399 </configuration>
400 </plugin>
33112414
AM
401 </plugins>
402 <pluginManagement>
403 <plugins>
404 <plugin>
405 <groupId>org.eclipse.tycho</groupId>
406 <artifactId>tycho-compiler-plugin</artifactId>
407 <version>${tycho-version}</version>
408 <configuration>
409 <encoding>UTF-8</encoding>
5194c8ca 410 <useProjectSettings>true</useProjectSettings>
33112414 411 </configuration>
7679e68a
MAL
412 </plugin>
413 <plugin>
414 <groupId>org.eclipse.tycho</groupId>
415 <artifactId>target-platform-configuration</artifactId>
416 <version>${tycho-version}</version>
417 </plugin>
418 <plugin>
419 <groupId>org.eclipse.tycho</groupId>
420 <artifactId>tycho-p2-plugin</artifactId>
421 <version>${tycho-version}</version>
422 </plugin>
423 <plugin>
424 <groupId>org.eclipse.tycho</groupId>
425 <artifactId>tycho-p2-publisher-plugin</artifactId>
426 <version>${tycho-version}</version>
427 </plugin>
428 <plugin>
429 <groupId>org.eclipse.tycho</groupId>
430 <artifactId>tycho-p2-repository-plugin</artifactId>
431 <version>${tycho-version}</version>
432 </plugin>
33112414
AM
433 <plugin>
434 <groupId>org.eclipse.tycho</groupId>
435 <artifactId>tycho-surefire-plugin</artifactId>
436 <version>${tycho-version}</version>
437 <configuration>
438 <useUIHarness>true</useUIHarness>
439 <useUIThread>true</useUIThread>
440 <dependencies>
441 <dependency>
442 <type>p2-installable-unit</type>
443 <artifactId>org.eclipse.platform.feature.group</artifactId>
444 <version>${sdk-version}</version>
445 </dependency>
446 </dependencies>
447 <product>org.eclipse.platform.ide</product>
448 <argLine>${tycho.testArgLine} -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m</argLine>
449 </configuration>
450 </plugin>
451 <plugin>
452 <groupId>org.eclipse.tycho</groupId>
453 <artifactId>tycho-versions-plugin</artifactId>
454 <version>${tycho-version}</version>
455 </plugin>
5bc05277
MAL
456 <plugin>
457 <groupId>org.eclipse.tycho</groupId>
458 <artifactId>tycho-packaging-plugin</artifactId>
459 <version>${tycho-version}</version>
460 <configuration>
461 <sourceReferences>
462 <generate>true</generate>
463 </sourceReferences>
464 </configuration>
465 <dependencies>
466 <dependency>
467 <groupId>org.eclipse.tycho.extras</groupId>
468 <artifactId>tycho-sourceref-jgit</artifactId>
469 <version>${tycho-extras-version}</version>
470 </dependency>
471 </dependencies>
472 </plugin>
33112414
AM
473 <plugin>
474 <groupId>org.apache.maven.plugins</groupId>
475 <artifactId>maven-resources-plugin</artifactId>
7679e68a 476 <version>2.7</version>
33112414
AM
477 <configuration>
478 <encoding>UTF-8</encoding>
479 </configuration>
480 </plugin>
481 <plugin>
482 <groupId>org.apache.maven.plugins</groupId>
483 <artifactId>maven-antrun-plugin</artifactId>
7679e68a 484 <version>1.8</version>
33112414
AM
485 </plugin>
486 <plugin>
487 <groupId>org.apache.maven.plugins</groupId>
488 <artifactId>maven-site-plugin</artifactId>
489 <version>3.4</version>
490 </plugin>
7679e68a
MAL
491 <plugin>
492 <groupId>org.apache.maven.plugins</groupId>
493 <artifactId>maven-clean-plugin</artifactId>
494 <version>2.6.1</version>
495 </plugin>
496 <plugin>
497 <groupId>org.apache.maven.plugins</groupId>
498 <artifactId>maven-deploy-plugin</artifactId>
499 <version>2.8.2</version>
500 </plugin>
501 <plugin>
502 <groupId>org.apache.maven.plugins</groupId>
503 <artifactId>maven-install-plugin</artifactId>
504 <version>2.5.2</version>
505 </plugin>
33112414
AM
506 <plugin>
507 <groupId>org.apache.maven.plugins</groupId>
508 <artifactId>maven-project-info-reports-plugin</artifactId>
7679e68a 509 <version>2.8</version>
33112414
AM
510 </plugin>
511 <plugin>
512 <groupId>org.apache.maven.plugins</groupId>
513 <artifactId>maven-javadoc-plugin</artifactId>
7679e68a 514 <version>2.10.1</version>
33112414 515 <configuration>
730dbd2a 516 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*</excludePackageNames>
33112414
AM
517 </configuration>
518 </plugin>
d538e443
MAL
519 <plugin>
520 <groupId>org.jboss.tools.tycho-plugins</groupId>
521 <artifactId>repository-utils</artifactId>
5194c8ca 522 <version>0.22.0</version>
d538e443 523 </plugin>
887cb879
MAL
524 <plugin>
525 <groupId>org.eclipse.tycho.extras</groupId>
526 <artifactId>tycho-eclipserun-plugin</artifactId>
527 <version>${tycho-extras-version}</version>
528 <configuration>
529 <dependencies>
530 <dependency>
531 <artifactId>org.apache.ant</artifactId>
532 <type>eclipse-plugin</type>
533 </dependency>
534 <dependency>
535 <artifactId>org.eclipse.help.base</artifactId>
536 <type>eclipse-plugin</type>
537 </dependency>
538 <dependency>
539 <artifactId>org.eclipse.ant.core</artifactId>
540 <type>eclipse-plugin</type>
541 </dependency>
542 </dependencies>
543 <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
544 <repositories>
545 <repository>
546 <id>platform</id>
547 <layout>p2</layout>
548 <url>${help-docs-eclipserun-repo}</url>
549 </repository>
550 </repositories>
551 </configuration>
552 <executions>
553 <execution>
554 <goals>
555 <goal>eclipse-run</goal>
556 </goals>
557 <phase>compile</phase>
558 </execution>
559 </executions>
560 </plugin>
33112414
AM
561 </plugins>
562 </pluginManagement>
563 </build>
9c0ffa34 564
89882f20 565</project>
This page took 0.085875 seconds and 5 git commands to generate.