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