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