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