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