Update pom.xml files for JUnit tests + add sonar support for LTTng
[deliverable/tracecompass.git] / pom.xml
CommitLineData
89882f20
SG
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 <parent>
21 <groupId>org.eclipse.linuxtools</groupId>
22 <artifactId>linuxtools-parent</artifactId>
af8b50d4 23 <version>0.9.0-SNAPSHOT</version>
89882f20
SG
24 </parent>
25
26 <groupId>org.eclipse.linuxtools.lttng</groupId>
27 <artifactId>linuxtools-lttng-parent</artifactId>
af8b50d4 28 <version>0.9.0-SNAPSHOT</version>
89882f20
SG
29 <packaging>pom</packaging>
30
31 <name>Eclipse Linux Tools LTTng Parent</name>
32
33 <licenses>
34 <license>
35 <name>Eclipse Public License v1.0</name>
36 <comments>
37 All rights reserved.
38
39 This program and the accompanying materials are made
40 available under the terms of the Eclipse Public License v1.0
41 which accompanies this distribution, and is available at
42 http://www.eclipse.org/legal/epl-v10.htm
43 </comments>
44 </license>
45 </licenses>
a0d4730f 46
422f0fb8
BH
47<profiles>
48 <profile>
49 <id>jcoverage</id>
50 <properties>
51 <!-- Properties to enable jacoco code coverage analysis -->
52 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
53 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
54 <sonar.jacoco.reportPath>../target/jacoco.exec</sonar.jacoco.reportPath>
55 </properties>
56
57 <build>
58 <plugins>
59 <!-- Enabling use of jacoco -->
60 <plugin>
61 <groupId>org.jacoco</groupId>
62 <artifactId>jacoco-maven-plugin</artifactId>
63 <version>0.5.3.201107060350</version>
64 <executions>
65 <execution>
66 <goals>
67 <goal>prepare-agent</goal>
68 </goals>
69 <configuration>
70 <!-- Where to put jacoco coverage report -->
71 <destFile>${sonar.jacoco.reportPath}</destFile>
72 </configuration>
73 </execution>
74 </executions>
75 </plugin>
76 </plugins>
77 </build>
78 </profile>
79
80 <profile>
81 <id>lttngTests</id>
82 <modules>
83 <module>org.eclipse.linuxtools.lttng.tests</module>
84 </modules>
85 </profile>
86
87</profiles>
88
a0d4730f
AK
89 <build>
90 <plugins>
91 <plugin>
92 <artifactId>maven-assembly-plugin</artifactId>
93 <configuration>
94 <descriptors>
95 <descriptor>../src.xml</descriptor>
96 </descriptors>
97 </configuration>
98 </plugin>
422f0fb8
BH
99
100 <plugin>
101 <groupId>org.codehaus.mojo</groupId>
102 <artifactId>sonar-maven-plugin</artifactId>
103 <version>2.0-beta-2</version>
104 </plugin>
105
a0d4730f
AK
106 </plugins>
107 </build>
89882f20
SG
108
109 <modules>
110 <module>org.eclipse.linuxtools.lttng</module>
111 <module>org.eclipse.linuxtools.lttng-feature</module>
112 <module>org.eclipse.linuxtools.lttng.help</module>
113 <module>org.eclipse.linuxtools.lttng.jni</module>
114 <module>org.eclipse.linuxtools.lttng.test-feature</module>
89882f20
SG
115 <module>org.eclipse.linuxtools.lttng.ui</module>
116 <module>org.eclipse.linuxtools.lttng.ui.tests</module>
117 <module>org.eclipse.linuxtools.tmf</module>
118 <!--<module>org.eclipse.linuxtools.tmf.doc</module>-->
119 <module>org.eclipse.linuxtools.tmf-feature</module>
120 <module>org.eclipse.linuxtools.tmf.test-feature</module>
121 <module>org.eclipse.linuxtools.tmf.tests</module>
122 <module>org.eclipse.linuxtools.tmf.ui</module>
123 <module>org.eclipse.linuxtools.tmf.ui.tests</module>
124 </modules>
125
126</project>
This page took 0.028733 seconds and 5 git commands to generate.