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