| 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> |
| 23 | <version>0.11.0-SNAPSHOT</version> |
| 24 | </parent> |
| 25 | |
| 26 | <groupId>org.eclipse.linuxtools.lttng</groupId> |
| 27 | <artifactId>linuxtools-lttng-parent</artifactId> |
| 28 | <version>0.11.0-SNAPSHOT</version> |
| 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> |
| 46 | |
| 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.6.201201232323</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.core.tests</module> |
| 84 | <module>org.eclipse.linuxtools.lttng2.core.tests</module> |
| 85 | </modules> |
| 86 | </profile> |
| 87 | |
| 88 | <profile> |
| 89 | <id>lttngPackage</id> |
| 90 | <modules> |
| 91 | <module>org.eclipse.linuxtools.lttng.releng-site</module> |
| 92 | </modules> |
| 93 | </profile> |
| 94 | |
| 95 | </profiles> |
| 96 | |
| 97 | <build> |
| 98 | <plugins> |
| 99 | <plugin> |
| 100 | <artifactId>maven-assembly-plugin</artifactId> |
| 101 | <configuration> |
| 102 | <descriptors> |
| 103 | <descriptor>../src.xml</descriptor> |
| 104 | </descriptors> |
| 105 | </configuration> |
| 106 | </plugin> |
| 107 | |
| 108 | <plugin> |
| 109 | <groupId>org.codehaus.mojo</groupId> |
| 110 | <artifactId>sonar-maven-plugin</artifactId> |
| 111 | <version>2.0-beta-2</version> |
| 112 | </plugin> |
| 113 | |
| 114 | </plugins> |
| 115 | </build> |
| 116 | |
| 117 | <modules> |
| 118 | <module>org.eclipse.linuxtools.ctf</module> |
| 119 | <module>org.eclipse.linuxtools.ctf.core</module> |
| 120 | <!-- <module>org.eclipse.linuxtools.ctf.core.tests</module> --> |
| 121 | <module>org.eclipse.linuxtools.ctf.parser</module> |
| 122 | |
| 123 | <module>org.eclipse.linuxtools.tmf</module> |
| 124 | <module>org.eclipse.linuxtools.tmf.core</module> |
| 125 | <module>org.eclipse.linuxtools.tmf.core.tests</module> |
| 126 | <module>org.eclipse.linuxtools.tmf.ui</module> |
| 127 | <module>org.eclipse.linuxtools.tmf.ui.tests</module> |
| 128 | |
| 129 | <module>org.eclipse.linuxtools.lttng</module> |
| 130 | <module>org.eclipse.linuxtools.lttng.core</module> |
| 131 | <!-- <module>org.eclipse.linuxtools.lttng.core.tests</module> activated by the lttngTests package --> |
| 132 | <module>org.eclipse.linuxtools.lttng.help</module> |
| 133 | <module>org.eclipse.linuxtools.lttng.jni</module> |
| 134 | <module>org.eclipse.linuxtools.lttng.ui</module> |
| 135 | <module>org.eclipse.linuxtools.lttng.ui.tests</module> |
| 136 | |
| 137 | <module>org.eclipse.linuxtools.lttng2</module> |
| 138 | <module>org.eclipse.linuxtools.lttng2.core</module> |
| 139 | <!-- module>org.eclipse.linuxtools.lttng2.core.tests</module> activated by the lttngTests package --> |
| 140 | <module>org.eclipse.linuxtools.lttng2.ui</module> |
| 141 | <module>org.eclipse.linuxtools.lttng2.ui.tests</module> |
| 142 | |
| 143 | <module>org.eclipse.linuxtools.lttng2.kernel</module> |
| 144 | <module>org.eclipse.linuxtools.lttng2.kernel.core</module> |
| 145 | <module>org.eclipse.linuxtools.lttng2.kernel.core.tests</module> |
| 146 | <module>org.eclipse.linuxtools.lttng2.kernel.ui</module> |
| 147 | <module>org.eclipse.linuxtools.lttng2.kernel.ui.tests</module> |
| 148 | </modules> |
| 149 | |
| 150 | </project> |