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