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