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