Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: bd7a7683f15c7f7649ed17240433086d5c58e329 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<?xml version="1.0" encoding="UTF-8"?>
<!--
   Copyright (C) 2011, Red Hat, Inc.

   All rights reserved. This program and the accompanying materials
   are made available under the terms of the Eclipse Public License v1.0
   which accompanies this distribution, and is available at
   http://www.eclipse.org/legal/epl-v10.html
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <prerequisites>
    <maven>3.0</maven>
  </prerequisites>

  <parent>
    <groupId>org.eclipse.linuxtools</groupId>
    <artifactId>linuxtools-parent</artifactId>
    <version>1.2.0-SNAPSHOT</version>
  </parent>

  <groupId>org.eclipse.linuxtools.lttng</groupId>
  <artifactId>linuxtools-lttng-parent</artifactId>
  <version>1.2.0-SNAPSHOT</version>
  <packaging>pom</packaging>

  <name>Eclipse Linux Tools LTTng Parent</name>

  <licenses>
    <license>
      <name>Eclipse Public License v1.0</name>
      <comments>
       All rights reserved.

       This program and the accompanying materials are made
       available under the terms of the Eclipse Public License v1.0
       which accompanies this distribution, and is available at
       http://www.eclipse.org/legal/epl-v10.htm
      </comments>
    </license>
  </licenses>
  
<profiles>
  <profile>
    <id>jcoverage</id>
      <properties>
      <!-- Properties to enable jacoco code coverage analysis -->
      <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
      <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
      <sonar.jacoco.reportPath>../target/jacoco.exec</sonar.jacoco.reportPath>
    </properties>

    <build>
      <plugins>
        <!-- Enabling use of jacoco -->
        <plugin>
          <groupId>org.jacoco</groupId>
          <artifactId>jacoco-maven-plugin</artifactId>
          <version>0.5.6.201201232323</version>
          <executions>
            <execution>
              <goals>
                <goal>prepare-agent</goal>
              </goals>
              <configuration>
                <!-- Where to put jacoco coverage report -->
                <destFile>${sonar.jacoco.reportPath}</destFile>
              </configuration>
            </execution>
          </executions>
        </plugin>
      </plugins>
    </build>
  </profile>

  <profile>
    <id>lttngTests</id>
      <modules>
        <module>org.eclipse.linuxtools.lttng.core.tests</module>
        <module>org.eclipse.linuxtools.lttng2.core.tests</module>
      </modules>
  </profile>
  
  <profile>
    <id>lttngPackage</id>
      <modules>
        <module>org.eclipse.linuxtools.lttng.releng-site</module>
      </modules>
  </profile> 
	
</profiles>

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <configuration>
          <descriptors>
            <descriptor>../src.xml</descriptor>
          </descriptors>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>sonar-maven-plugin</artifactId>
        <version>2.0-beta-2</version>
      </plugin>

    </plugins>
  </build>

  <modules>
    <module>org.eclipse.linuxtools.ctf</module>
    <module>org.eclipse.linuxtools.ctf.core</module>
    <!-- <module>org.eclipse.linuxtools.ctf.core.tests</module> -->
    <module>org.eclipse.linuxtools.ctf.parser</module>

    <module>org.eclipse.linuxtools.tmf</module>
    <module>org.eclipse.linuxtools.tmf.core</module>
    <module>org.eclipse.linuxtools.tmf.core.tests</module>
    <module>org.eclipse.linuxtools.tmf.ui</module>
    <module>org.eclipse.linuxtools.tmf.ui.tests</module>

    <module>org.eclipse.linuxtools.lttng</module>
    <module>org.eclipse.linuxtools.lttng.core</module>
    <!-- <module>org.eclipse.linuxtools.lttng.core.tests</module> activated by the lttngTests package -->
    <module>org.eclipse.linuxtools.lttng.help</module>
    <module>org.eclipse.linuxtools.lttng.jni</module>
    <module>org.eclipse.linuxtools.lttng.ui</module>
    <module>org.eclipse.linuxtools.lttng.ui.tests</module>

    <module>org.eclipse.linuxtools.lttng2</module>
    <module>org.eclipse.linuxtools.lttng2.core</module>
    <!--  module>org.eclipse.linuxtools.lttng2.core.tests</module> activated by the lttngTests package -->
    <module>org.eclipse.linuxtools.lttng2.ui</module>
    <module>org.eclipse.linuxtools.lttng2.ui.tests</module>

    <module>org.eclipse.linuxtools.lttng2.kernel</module>
    <module>org.eclipse.linuxtools.lttng2.kernel.core</module>
    <module>org.eclipse.linuxtools.lttng2.kernel.core.tests</module>
    <module>org.eclipse.linuxtools.lttng2.kernel.ui</module>
    <module>org.eclipse.linuxtools.lttng2.kernel.ui.tests</module>
  </modules>

</project>

Back to the top