| 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>2.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.24.0</tycho-version> |
| 43 | <tycho-extras-version>0.24.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-e4.5</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.8</sonar.java.source> |
| 50 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 51 | <help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/4.5</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>macosx</id> |
| 124 | <activation> |
| 125 | <os> |
| 126 | <family>mac</family> |
| 127 | </os> |
| 128 | </activation> |
| 129 | <properties> |
| 130 | <base.ui.test.vmargs>${base.test.vmargs} -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</base.ui.test.vmargs> |
| 131 | </properties> |
| 132 | </profile> |
| 133 | <profile> |
| 134 | <id>not-macosx</id> |
| 135 | <activation> |
| 136 | <os> |
| 137 | <family>!mac</family> |
| 138 | </os> |
| 139 | </activation> |
| 140 | <properties> |
| 141 | <!-- Disable webkit integration, especially unstable on Linux --> |
| 142 | <base.ui.test.vmargs>${base.test.vmargs} -Dorg.eclipse.swt.browser.DefaultType=mozilla</base.ui.test.vmargs> |
| 143 | </properties> |
| 144 | </profile> |
| 145 | </profiles> |
| 146 | |
| 147 | <modules> |
| 148 | <module>analysis</module> |
| 149 | <module>btf</module> |
| 150 | <module>common</module> |
| 151 | <module>ctf</module> |
| 152 | <module>doc</module> |
| 153 | <module>gdbtrace</module> |
| 154 | <module>lttng</module> |
| 155 | <module>pcap</module> |
| 156 | <module>rcp</module> |
| 157 | <module>releng</module> |
| 158 | <module>statesystem</module> |
| 159 | <module>tmf</module> |
| 160 | </modules> |
| 161 | |
| 162 | <build> |
| 163 | <plugins> |
| 164 | <plugin> |
| 165 | <groupId>org.eclipse.tycho</groupId> |
| 166 | <artifactId>target-platform-configuration</artifactId> |
| 167 | <configuration> |
| 168 | <includePackedArtifacts>true</includePackedArtifacts> |
| 169 | <environments> |
| 170 | <environment> |
| 171 | <os>win32</os> |
| 172 | <ws>win32</ws> |
| 173 | <arch>x86</arch> |
| 174 | </environment> |
| 175 | <environment> |
| 176 | <os>win32</os> |
| 177 | <ws>win32</ws> |
| 178 | <arch>x86_64</arch> |
| 179 | </environment> |
| 180 | <environment> |
| 181 | <os>macosx</os> |
| 182 | <ws>cocoa</ws> |
| 183 | <arch>x86_64</arch> |
| 184 | </environment> |
| 185 | <environment> |
| 186 | <os>linux</os> |
| 187 | <ws>gtk</ws> |
| 188 | <arch>x86</arch> |
| 189 | </environment> |
| 190 | <environment> |
| 191 | <os>linux</os> |
| 192 | <ws>gtk</ws> |
| 193 | <arch>x86_64</arch> |
| 194 | </environment> |
| 195 | </environments> |
| 196 | <target> |
| 197 | <artifact> |
| 198 | <groupId>org.eclipse.tracecompass</groupId> |
| 199 | <artifactId>org.eclipse.tracecompass.target</artifactId> |
| 200 | <classifier>${target-platform}</classifier> |
| 201 | <version>2.0.0</version> |
| 202 | </artifact> |
| 203 | </target> |
| 204 | </configuration> |
| 205 | </plugin> |
| 206 | <plugin> |
| 207 | <groupId>org.eclipse.tycho</groupId> |
| 208 | <artifactId>tycho-maven-plugin</artifactId> |
| 209 | <version>${tycho-version}</version> |
| 210 | <extensions>true</extensions> |
| 211 | </plugin> |
| 212 | <plugin> |
| 213 | <groupId>org.eclipse.tycho</groupId> |
| 214 | <artifactId>tycho-source-plugin</artifactId> |
| 215 | <version>${tycho-version}</version> |
| 216 | <executions> |
| 217 | <execution> |
| 218 | <id>plugin-source</id> |
| 219 | <goals> |
| 220 | <goal>plugin-source</goal> |
| 221 | </goals> |
| 222 | </execution> |
| 223 | </executions> |
| 224 | </plugin> |
| 225 | <plugin> |
| 226 | <groupId>org.eclipse.tycho.extras</groupId> |
| 227 | <artifactId>tycho-source-feature-plugin</artifactId> |
| 228 | <version>${tycho-version}</version> |
| 229 | <configuration> |
| 230 | <includeBinaryFeature>false</includeBinaryFeature> |
| 231 | </configuration> |
| 232 | <executions> |
| 233 | <execution> |
| 234 | <id>source-feature</id> |
| 235 | <phase>package</phase> |
| 236 | <goals> |
| 237 | <goal>source-feature</goal> |
| 238 | </goals> |
| 239 | </execution> |
| 240 | </executions> |
| 241 | </plugin> |
| 242 | <plugin> |
| 243 | <groupId>org.jacoco</groupId> |
| 244 | <artifactId>jacoco-maven-plugin</artifactId> |
| 245 | <version>0.7.4.201502262128</version> |
| 246 | <executions> |
| 247 | <execution> |
| 248 | <id>pre-test</id> |
| 249 | <goals> |
| 250 | <goal>prepare-agent</goal> |
| 251 | </goals> |
| 252 | <configuration> |
| 253 | <!-- Where to put jacoco coverage report --> |
| 254 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 255 | <includes> |
| 256 | <include>org.eclipse.tracecompass.*</include> |
| 257 | </includes> |
| 258 | <append>true</append> |
| 259 | </configuration> |
| 260 | </execution> |
| 261 | <execution> |
| 262 | <id>post-test</id> |
| 263 | <phase>post-integration-test</phase> |
| 264 | <goals> |
| 265 | <goal>report</goal> |
| 266 | </goals> |
| 267 | <configuration> |
| 268 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 269 | </configuration> |
| 270 | </execution> |
| 271 | </executions> |
| 272 | </plugin> |
| 273 | <plugin> |
| 274 | <groupId>org.eclipse.tycho.extras</groupId> |
| 275 | <artifactId>tycho-pack200b-plugin</artifactId> |
| 276 | <version>${tycho-extras-version}</version> |
| 277 | <executions> |
| 278 | <execution> |
| 279 | <id>pack200-pack</id> |
| 280 | <goals> |
| 281 | <goal>pack</goal> |
| 282 | </goals> |
| 283 | <phase>package</phase> |
| 284 | </execution> |
| 285 | </executions> |
| 286 | </plugin> |
| 287 | <plugin> |
| 288 | <groupId>org.eclipse.tycho</groupId> |
| 289 | <artifactId>tycho-p2-plugin</artifactId> |
| 290 | <executions> |
| 291 | <execution> |
| 292 | <id>p2-metadata</id> |
| 293 | <goals> |
| 294 | <goal>p2-metadata</goal> |
| 295 | </goals> |
| 296 | <phase>package</phase> |
| 297 | </execution> |
| 298 | </executions> |
| 299 | <configuration> |
| 300 | <defaultP2Metadata>false</defaultP2Metadata> |
| 301 | </configuration> |
| 302 | </plugin> |
| 303 | </plugins> |
| 304 | <pluginManagement> |
| 305 | <plugins> |
| 306 | <plugin> |
| 307 | <groupId>org.eclipse.tycho</groupId> |
| 308 | <artifactId>tycho-compiler-plugin</artifactId> |
| 309 | <version>${tycho-version}</version> |
| 310 | <configuration> |
| 311 | <encoding>UTF-8</encoding> |
| 312 | <useProjectSettings>true</useProjectSettings> |
| 313 | <compilerArguments> |
| 314 | <annotationpath>common/org.eclipse.tracecompass.common.core/annotations</annotationpath> |
| 315 | </compilerArguments> |
| 316 | </configuration> |
| 317 | </plugin> |
| 318 | <plugin> |
| 319 | <groupId>org.eclipse.tycho</groupId> |
| 320 | <artifactId>target-platform-configuration</artifactId> |
| 321 | <version>${tycho-version}</version> |
| 322 | </plugin> |
| 323 | <plugin> |
| 324 | <groupId>org.eclipse.tycho</groupId> |
| 325 | <artifactId>tycho-p2-plugin</artifactId> |
| 326 | <version>${tycho-version}</version> |
| 327 | </plugin> |
| 328 | <plugin> |
| 329 | <groupId>org.eclipse.tycho</groupId> |
| 330 | <artifactId>tycho-p2-publisher-plugin</artifactId> |
| 331 | <version>${tycho-version}</version> |
| 332 | </plugin> |
| 333 | <plugin> |
| 334 | <groupId>org.eclipse.tycho</groupId> |
| 335 | <artifactId>tycho-p2-repository-plugin</artifactId> |
| 336 | <version>${tycho-version}</version> |
| 337 | </plugin> |
| 338 | <plugin> |
| 339 | <groupId>org.eclipse.tycho</groupId> |
| 340 | <artifactId>tycho-surefire-plugin</artifactId> |
| 341 | <version>${tycho-version}</version> |
| 342 | <configuration> |
| 343 | <useUIHarness>true</useUIHarness> |
| 344 | <useUIThread>true</useUIThread> |
| 345 | <dependencies> |
| 346 | <dependency> |
| 347 | <type>p2-installable-unit</type> |
| 348 | <artifactId>org.eclipse.platform.feature.group</artifactId> |
| 349 | <version>${sdk-version}</version> |
| 350 | </dependency> |
| 351 | </dependencies> |
| 352 | <product>org.eclipse.platform.ide</product> |
| 353 | <argLine>${tycho.testArgLine} -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m</argLine> |
| 354 | </configuration> |
| 355 | </plugin> |
| 356 | <plugin> |
| 357 | <groupId>org.eclipse.tycho</groupId> |
| 358 | <artifactId>tycho-versions-plugin</artifactId> |
| 359 | <version>${tycho-version}</version> |
| 360 | </plugin> |
| 361 | <plugin> |
| 362 | <groupId>org.eclipse.tycho</groupId> |
| 363 | <artifactId>tycho-packaging-plugin</artifactId> |
| 364 | <version>${tycho-version}</version> |
| 365 | <configuration> |
| 366 | <sourceReferences> |
| 367 | <generate>true</generate> |
| 368 | </sourceReferences> |
| 369 | </configuration> |
| 370 | <dependencies> |
| 371 | <dependency> |
| 372 | <groupId>org.eclipse.tycho.extras</groupId> |
| 373 | <artifactId>tycho-sourceref-jgit</artifactId> |
| 374 | <version>${tycho-extras-version}</version> |
| 375 | </dependency> |
| 376 | </dependencies> |
| 377 | </plugin> |
| 378 | <plugin> |
| 379 | <groupId>org.apache.maven.plugins</groupId> |
| 380 | <artifactId>maven-resources-plugin</artifactId> |
| 381 | <version>2.7</version> |
| 382 | <configuration> |
| 383 | <encoding>UTF-8</encoding> |
| 384 | </configuration> |
| 385 | </plugin> |
| 386 | <plugin> |
| 387 | <groupId>org.apache.maven.plugins</groupId> |
| 388 | <artifactId>maven-antrun-plugin</artifactId> |
| 389 | <version>1.8</version> |
| 390 | </plugin> |
| 391 | <plugin> |
| 392 | <groupId>org.apache.maven.plugins</groupId> |
| 393 | <artifactId>maven-site-plugin</artifactId> |
| 394 | <version>3.4</version> |
| 395 | </plugin> |
| 396 | <plugin> |
| 397 | <groupId>org.apache.maven.plugins</groupId> |
| 398 | <artifactId>maven-clean-plugin</artifactId> |
| 399 | <version>2.6.1</version> |
| 400 | </plugin> |
| 401 | <plugin> |
| 402 | <groupId>org.apache.maven.plugins</groupId> |
| 403 | <artifactId>maven-deploy-plugin</artifactId> |
| 404 | <version>2.8.2</version> |
| 405 | </plugin> |
| 406 | <plugin> |
| 407 | <groupId>org.apache.maven.plugins</groupId> |
| 408 | <artifactId>maven-install-plugin</artifactId> |
| 409 | <version>2.5.2</version> |
| 410 | </plugin> |
| 411 | <plugin> |
| 412 | <groupId>org.apache.maven.plugins</groupId> |
| 413 | <artifactId>maven-project-info-reports-plugin</artifactId> |
| 414 | <version>2.8</version> |
| 415 | </plugin> |
| 416 | <plugin> |
| 417 | <groupId>org.apache.maven.plugins</groupId> |
| 418 | <artifactId>maven-javadoc-plugin</artifactId> |
| 419 | <version>2.10.1</version> |
| 420 | <configuration> |
| 421 | <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*</excludePackageNames> |
| 422 | </configuration> |
| 423 | </plugin> |
| 424 | <plugin> |
| 425 | <groupId>org.jboss.tools.tycho-plugins</groupId> |
| 426 | <artifactId>repository-utils</artifactId> |
| 427 | <version>0.23.2</version> |
| 428 | </plugin> |
| 429 | <plugin> |
| 430 | <groupId>org.codehaus.mojo</groupId> |
| 431 | <artifactId>sonar-maven-plugin</artifactId> |
| 432 | <version>2.6</version> |
| 433 | </plugin> |
| 434 | <plugin> |
| 435 | <groupId>org.eclipse.tycho.extras</groupId> |
| 436 | <artifactId>tycho-eclipserun-plugin</artifactId> |
| 437 | <version>${tycho-extras-version}</version> |
| 438 | <configuration> |
| 439 | <dependencies> |
| 440 | <dependency> |
| 441 | <artifactId>org.apache.ant</artifactId> |
| 442 | <type>eclipse-plugin</type> |
| 443 | </dependency> |
| 444 | <dependency> |
| 445 | <artifactId>org.eclipse.help.base</artifactId> |
| 446 | <type>eclipse-plugin</type> |
| 447 | </dependency> |
| 448 | <dependency> |
| 449 | <artifactId>org.eclipse.ant.core</artifactId> |
| 450 | <type>eclipse-plugin</type> |
| 451 | </dependency> |
| 452 | </dependencies> |
| 453 | <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 --> |
| 454 | <repositories> |
| 455 | <repository> |
| 456 | <id>platform</id> |
| 457 | <layout>p2</layout> |
| 458 | <url>${help-docs-eclipserun-repo}</url> |
| 459 | </repository> |
| 460 | </repositories> |
| 461 | </configuration> |
| 462 | <executions> |
| 463 | <execution> |
| 464 | <goals> |
| 465 | <goal>eclipse-run</goal> |
| 466 | </goals> |
| 467 | <phase>compile</phase> |
| 468 | </execution> |
| 469 | </executions> |
| 470 | </plugin> |
| 471 | </plugins> |
| 472 | </pluginManagement> |
| 473 | </build> |
| 474 | |
| 475 | </project> |