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