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