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