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