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