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