pcap: 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>doc</module>
162 <module>pcap</module>
163
164 <module>org.eclipse.tracecompass.common.core</module>
165 <module>org.eclipse.tracecompass.common.core.tests</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.statesystem.core</module>
174 <module>org.eclipse.tracecompass.statesystem.core.tests</module>
175
176 <module>org.eclipse.tracecompass.tmf</module>
177 <module>org.eclipse.tracecompass.tmf.core</module>
178 <module>org.eclipse.tracecompass.tmf.core.tests</module>
179 <module>org.eclipse.tracecompass.tmf.ui</module>
180 <module>org.eclipse.tracecompass.tmf.ui.tests</module>
181 <module>org.eclipse.tracecompass.tmf.ui.swtbot.tests</module>
182
183 <module>org.eclipse.tracecompass.tmf.ctf</module>
184 <module>org.eclipse.tracecompass.tmf.ctf.core</module>
185 <module>org.eclipse.tracecompass.tmf.ctf.core.tests</module>
186 <module>org.eclipse.tracecompass.tmf.ctf.ui.swtbot.tests</module>
187
188 <module>org.eclipse.tracecompass.tmf.analysis.xml.core</module>
189 <module>org.eclipse.tracecompass.tmf.analysis.xml.core.tests</module>
190 <module>org.eclipse.tracecompass.tmf.analysis.xml.ui</module>
191 <module>org.eclipse.tracecompass.tmf.analysis.xml.ui.tests</module>
192
193 <module>org.eclipse.tracecompass.tmf.remote</module>
194 <module>org.eclipse.tracecompass.tmf.remote.core</module>
195 <module>org.eclipse.tracecompass.tmf.remote.core.tests</module>
196 <module>org.eclipse.tracecompass.tmf.remote.ui</module>
197 <module>org.eclipse.tracecompass.tmf.remote.ui.swtbot.tests</module>
198
199 <module>org.eclipse.tracecompass.tmf.remote.ui.tests</module>
200
201 <module>org.eclipse.tracecompass.releng-site</module>
202 <module>org.eclipse.tracecompass.target</module>
203 <module>org.eclipse.tracecompass.testing</module>
204
205 <module>org.eclipse.tracecompass.analysis.os.linux.core</module>
206 <module>org.eclipse.tracecompass.analysis.os.linux.core.tests</module>
207 <module>org.eclipse.tracecompass.analysis.os.linux.ui</module>
208
209 <module>org.eclipse.tracecompass.lttng2.control</module>
210 <module>org.eclipse.tracecompass.lttng2.control.core</module>
211 <module>org.eclipse.tracecompass.lttng2.control.core.tests</module>
212 <module>org.eclipse.tracecompass.lttng2.control.ui</module>
213 <module>org.eclipse.tracecompass.lttng2.control.ui.tests</module>
214
215 <module>org.eclipse.tracecompass.lttng2.kernel</module>
216 <module>org.eclipse.tracecompass.lttng2.kernel.core</module>
217 <module>org.eclipse.tracecompass.lttng2.kernel.core.tests</module>
218 <module>org.eclipse.tracecompass.lttng2.kernel.ui</module>
219 <module>org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests</module>
220
221 <module>org.eclipse.tracecompass.lttng2.ust</module>
222 <module>org.eclipse.tracecompass.lttng2.ust.core</module>
223 <module>org.eclipse.tracecompass.lttng2.ust.core.tests</module>
224 <module>org.eclipse.tracecompass.lttng2.ust.ui</module>
225 <module>org.eclipse.tracecompass.lttng2.ust.ui.tests</module>
226
227 <module>org.eclipse.tracecompass.gdbtrace</module>
228 <module>org.eclipse.tracecompass.gdbtrace.core</module>
229 <module>org.eclipse.tracecompass.gdbtrace.core.tests</module>
230 <module>org.eclipse.tracecompass.gdbtrace.ui</module>
231 <module>org.eclipse.tracecompass.gdbtrace.ui.tests</module>
232
233 <module>org.eclipse.tracecompass.rcp.branding</module>
234 <module>org.eclipse.tracecompass.rcp.branding.feature</module>
235 <module>org.eclipse.tracecompass.rcp</module>
236 <module>org.eclipse.tracecompass.rcp.ui</module>
237
238 <module>org.eclipse.tracecompass.examples</module>
239 </modules>
240
241 <build>
242 <plugins>
243 <plugin>
244 <groupId>org.eclipse.tycho</groupId>
245 <artifactId>target-platform-configuration</artifactId>
246 <version>${tycho-version}</version>
247 <configuration>
248 <includePackedArtifacts>true</includePackedArtifacts>
249 <environments>
250 <environment>
251 <os>win32</os>
252 <ws>win32</ws>
253 <arch>x86</arch>
254 </environment>
255 <environment>
256 <os>win32</os>
257 <ws>win32</ws>
258 <arch>x86_64</arch>
259 </environment>
260 <environment>
261 <os>macosx</os>
262 <ws>cocoa</ws>
263 <arch>x86_64</arch>
264 </environment>
265 <environment>
266 <os>linux</os>
267 <ws>gtk</ws>
268 <arch>x86</arch>
269 </environment>
270 <environment>
271 <os>linux</os>
272 <ws>gtk</ws>
273 <arch>x86_64</arch>
274 </environment>
275 </environments>
276 <target>
277 <artifact>
278 <groupId>org.eclipse.tracecompass</groupId>
279 <artifactId>org.eclipse.tracecompass.target</artifactId>
280 <classifier>${target-platform}</classifier>
281 <version>1.0.0</version>
282 </artifact>
283 </target>
284 <filters>
285 <filter>
286 <type>eclipse-plugin</type>
287 <id>org.eclipse.jdt.annotation</id>
288 <restrictTo>
289 <versionRange>[1.0,2.0)</versionRange>
290 </restrictTo>
291 </filter>
292 </filters>
293 </configuration>
294 </plugin>
295 <plugin>
296 <groupId>org.eclipse.tycho</groupId>
297 <artifactId>tycho-maven-plugin</artifactId>
298 <version>${tycho-version}</version>
299 <extensions>true</extensions>
300 </plugin>
301 <plugin>
302 <groupId>org.eclipse.tycho</groupId>
303 <artifactId>tycho-source-plugin</artifactId>
304 <version>${tycho-version}</version>
305 <executions>
306 <execution>
307 <id>plugin-source</id>
308 <goals>
309 <goal>plugin-source</goal>
310 </goals>
311 </execution>
312 </executions>
313 </plugin>
314 <plugin>
315 <groupId>org.eclipse.tycho.extras</groupId>
316 <artifactId>tycho-source-feature-plugin</artifactId>
317 <version>${tycho-version}</version>
318 <configuration>
319 <includeBinaryFeature>false</includeBinaryFeature>
320 </configuration>
321 <executions>
322 <execution>
323 <id>source-feature</id>
324 <phase>package</phase>
325 <goals>
326 <goal>source-feature</goal>
327 </goals>
328 </execution>
329 </executions>
330 </plugin>
331 <plugin>
332 <groupId>org.jacoco</groupId>
333 <artifactId>jacoco-maven-plugin</artifactId>
334 <version>0.7.4.201502262128</version>
335 <executions>
336 <execution>
337 <id>pre-test</id>
338 <goals>
339 <goal>prepare-agent</goal>
340 </goals>
341 <configuration>
342 <!-- Where to put jacoco coverage report -->
343 <destFile>${sonar.jacoco.reportPath}</destFile>
344 <includes>
345 <include>org.eclipse.tracecompass.*</include>
346 </includes>
347 <append>true</append>
348 </configuration>
349 </execution>
350 <execution>
351 <id>post-test</id>
352 <phase>post-integration-test</phase>
353 <goals>
354 <goal>report</goal>
355 </goals>
356 <configuration>
357 <dataFile>${sonar.jacoco.reportPath}</dataFile>
358 </configuration>
359 </execution>
360 </executions>
361 </plugin>
362 <plugin>
363 <groupId>org.eclipse.tycho.extras</groupId>
364 <artifactId>tycho-pack200b-plugin</artifactId>
365 <version>${tycho-extras-version}</version>
366 <executions>
367 <execution>
368 <id>pack200-pack</id>
369 <goals>
370 <goal>pack</goal>
371 </goals>
372 <phase>package</phase>
373 </execution>
374 </executions>
375 </plugin>
376 <plugin>
377 <groupId>org.eclipse.tycho</groupId>
378 <artifactId>tycho-p2-plugin</artifactId>
379 <version>${tycho-version}</version>
380 <executions>
381 <execution>
382 <id>p2-metadata</id>
383 <goals>
384 <goal>p2-metadata</goal>
385 </goals>
386 <phase>package</phase>
387 </execution>
388 </executions>
389 <configuration>
390 <defaultP2Metadata>false</defaultP2Metadata>
391 </configuration>
392 </plugin>
393 </plugins>
394 <pluginManagement>
395 <plugins>
396 <plugin>
397 <groupId>org.eclipse.tycho</groupId>
398 <artifactId>tycho-compiler-plugin</artifactId>
399 <version>${tycho-version}</version>
400 <configuration>
401 <encoding>UTF-8</encoding>
402 <useProjectSettings>true</useProjectSettings>
403 </configuration>
404 </plugin>
405 <plugin>
406 <groupId>org.eclipse.tycho</groupId>
407 <artifactId>target-platform-configuration</artifactId>
408 <version>${tycho-version}</version>
409 </plugin>
410 <plugin>
411 <groupId>org.eclipse.tycho</groupId>
412 <artifactId>tycho-p2-plugin</artifactId>
413 <version>${tycho-version}</version>
414 </plugin>
415 <plugin>
416 <groupId>org.eclipse.tycho</groupId>
417 <artifactId>tycho-p2-publisher-plugin</artifactId>
418 <version>${tycho-version}</version>
419 </plugin>
420 <plugin>
421 <groupId>org.eclipse.tycho</groupId>
422 <artifactId>tycho-p2-repository-plugin</artifactId>
423 <version>${tycho-version}</version>
424 </plugin>
425 <plugin>
426 <groupId>org.eclipse.tycho</groupId>
427 <artifactId>tycho-surefire-plugin</artifactId>
428 <version>${tycho-version}</version>
429 <configuration>
430 <useUIHarness>true</useUIHarness>
431 <useUIThread>true</useUIThread>
432 <dependencies>
433 <dependency>
434 <type>p2-installable-unit</type>
435 <artifactId>org.eclipse.platform.feature.group</artifactId>
436 <version>${sdk-version}</version>
437 </dependency>
438 </dependencies>
439 <product>org.eclipse.platform.ide</product>
440 <argLine>${tycho.testArgLine} -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m</argLine>
441 </configuration>
442 </plugin>
443 <plugin>
444 <groupId>org.eclipse.tycho</groupId>
445 <artifactId>tycho-versions-plugin</artifactId>
446 <version>${tycho-version}</version>
447 </plugin>
448 <plugin>
449 <groupId>org.eclipse.tycho</groupId>
450 <artifactId>tycho-packaging-plugin</artifactId>
451 <version>${tycho-version}</version>
452 <configuration>
453 <sourceReferences>
454 <generate>true</generate>
455 </sourceReferences>
456 </configuration>
457 <dependencies>
458 <dependency>
459 <groupId>org.eclipse.tycho.extras</groupId>
460 <artifactId>tycho-sourceref-jgit</artifactId>
461 <version>${tycho-extras-version}</version>
462 </dependency>
463 </dependencies>
464 </plugin>
465 <plugin>
466 <groupId>org.apache.maven.plugins</groupId>
467 <artifactId>maven-resources-plugin</artifactId>
468 <version>2.7</version>
469 <configuration>
470 <encoding>UTF-8</encoding>
471 </configuration>
472 </plugin>
473 <plugin>
474 <groupId>org.apache.maven.plugins</groupId>
475 <artifactId>maven-antrun-plugin</artifactId>
476 <version>1.8</version>
477 </plugin>
478 <plugin>
479 <groupId>org.apache.maven.plugins</groupId>
480 <artifactId>maven-site-plugin</artifactId>
481 <version>3.4</version>
482 </plugin>
483 <plugin>
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-clean-plugin</artifactId>
486 <version>2.6.1</version>
487 </plugin>
488 <plugin>
489 <groupId>org.apache.maven.plugins</groupId>
490 <artifactId>maven-deploy-plugin</artifactId>
491 <version>2.8.2</version>
492 </plugin>
493 <plugin>
494 <groupId>org.apache.maven.plugins</groupId>
495 <artifactId>maven-install-plugin</artifactId>
496 <version>2.5.2</version>
497 </plugin>
498 <plugin>
499 <groupId>org.apache.maven.plugins</groupId>
500 <artifactId>maven-project-info-reports-plugin</artifactId>
501 <version>2.8</version>
502 </plugin>
503 <plugin>
504 <groupId>org.apache.maven.plugins</groupId>
505 <artifactId>maven-javadoc-plugin</artifactId>
506 <version>2.10.1</version>
507 <configuration>
508 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*</excludePackageNames>
509 </configuration>
510 </plugin>
511 <plugin>
512 <groupId>org.jboss.tools.tycho-plugins</groupId>
513 <artifactId>repository-utils</artifactId>
514 <version>0.22.0</version>
515 </plugin>
516 <plugin>
517 <groupId>org.eclipse.tycho.extras</groupId>
518 <artifactId>tycho-eclipserun-plugin</artifactId>
519 <version>${tycho-extras-version}</version>
520 <configuration>
521 <dependencies>
522 <dependency>
523 <artifactId>org.apache.ant</artifactId>
524 <type>eclipse-plugin</type>
525 </dependency>
526 <dependency>
527 <artifactId>org.eclipse.help.base</artifactId>
528 <type>eclipse-plugin</type>
529 </dependency>
530 <dependency>
531 <artifactId>org.eclipse.ant.core</artifactId>
532 <type>eclipse-plugin</type>
533 </dependency>
534 </dependencies>
535 <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
536 <repositories>
537 <repository>
538 <id>platform</id>
539 <layout>p2</layout>
540 <url>${help-docs-eclipserun-repo}</url>
541 </repository>
542 </repositories>
543 </configuration>
544 <executions>
545 <execution>
546 <goals>
547 <goal>eclipse-run</goal>
548 </goals>
549 <phase>compile</phase>
550 </execution>
551 </executions>
552 </plugin>
553 </plugins>
554 </pluginManagement>
555 </build>
556
557 </project>
This page took 0.043276 seconds and 6 git commands to generate.