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