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