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