| 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | <!-- |
| 5 | /******************************************************************************* |
| 6 | * Copyright (c) 2015 Efficios Inc. |
| 7 | * All rights reserved. This program and the accompanying materials |
| 8 | * are made available under the terms of the Eclipse Public License v1.0 |
| 9 | * which accompanies this distribution, and is available at |
| 10 | * http://www.eclipse.org/legal/epl-v10.html |
| 11 | *******************************************************************************/ |
| 12 | --> |
| 13 | |
| 14 | <artifactId>org.eclipse.tracecompass.rcp.tests</artifactId> |
| 15 | <name>Trace Compass RCP Product Tests</name> |
| 16 | |
| 17 | <parent> |
| 18 | <artifactId>org.eclipse.tracecompass.rcp-parent</artifactId> |
| 19 | <groupId>org.eclipse.tracecompass</groupId> |
| 20 | <version>2.1.0-SNAPSHOT</version> |
| 21 | </parent> |
| 22 | |
| 23 | <packaging>rcpttTest</packaging> |
| 24 | |
| 25 | <properties> |
| 26 | <dataPath>${project.build.directory}/dependency/tracecompass-test-traces-ctf-jar</dataPath> |
| 27 | <!-- Overridden by profile on Windows --> |
| 28 | <aut.extension>tar.gz</aut.extension> |
| 29 | </properties> |
| 30 | |
| 31 | <dependencies> |
| 32 | <dependency> |
| 33 | <groupId>org.eclipse.tracecompass.testtraces</groupId> |
| 34 | <artifactId>tracecompass-test-traces-ctf</artifactId> |
| 35 | <version>1.2.0</version> |
| 36 | </dependency> |
| 37 | </dependencies> |
| 38 | <repositories> |
| 39 | <repository> |
| 40 | <id>trace-compass-test-traces</id> |
| 41 | <name>Trace Compass Test Traces</name> |
| 42 | <url>http://archive.eclipse.org/tracecompass/tracecompass-test-traces/maven</url> |
| 43 | </repository> |
| 44 | </repositories> |
| 45 | |
| 46 | <profiles> |
| 47 | <profile> |
| 48 | <id>windows-rcptt</id> |
| 49 | <activation> |
| 50 | <os> |
| 51 | <family>Windows</family> |
| 52 | </os> |
| 53 | </activation> |
| 54 | <properties> |
| 55 | <aut.extension>zip</aut.extension> |
| 56 | </properties> |
| 57 | </profile> |
| 58 | </profiles> |
| 59 | |
| 60 | <build> |
| 61 | <plugins> |
| 62 | <!-- This copies and extracts the test traces jar to the target/dependency folder --> |
| 63 | <plugin> |
| 64 | <groupId>org.apache.maven.plugins</groupId> |
| 65 | <artifactId>maven-dependency-plugin</artifactId> |
| 66 | <executions> |
| 67 | <execution> |
| 68 | <id>unpack-dependencies</id> |
| 69 | <phase>generate-resources</phase> |
| 70 | <goals> |
| 71 | <goal>unpack-dependencies</goal> |
| 72 | </goals> |
| 73 | <configuration> |
| 74 | <useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact> |
| 75 | <stripVersion>true</stripVersion> |
| 76 | <stripClassifier>true</stripClassifier> |
| 77 | <excludeTransitive>true</excludeTransitive> |
| 78 | </configuration> |
| 79 | </execution> |
| 80 | </executions> |
| 81 | </plugin> |
| 82 | <plugin> |
| 83 | <groupId>org.eclipse.rcptt</groupId> |
| 84 | <artifactId>rcptt-maven-plugin</artifactId> |
| 85 | <extensions>true</extensions> |
| 86 | <configuration> |
| 87 | <aut> |
| 88 | <groupId>org.eclipse.tracecompass</groupId> |
| 89 | <artifactId>org.eclipse.tracecompass.rcp.product</artifactId> |
| 90 | <extension>${aut.extension}</extension> |
| 91 | |
| 92 | <vmArgs> |
| 93 | <vmArg>-Xmx1024m</vmArg> |
| 94 | <vmArg>-DdataPath=${dataPath}</vmArg> |
| 95 | </vmArgs> |
| 96 | </aut> |
| 97 | <runner> |
| 98 | <version>2.2.0-SNAPSHOT</version> |
| 99 | </runner> |
| 100 | <suites> |
| 101 | <suite>open_trace_suite</suite> |
| 102 | </suites> |
| 103 | </configuration> |
| 104 | </plugin> |
| 105 | </plugins> |
| 106 | </build> |
| 107 | |
| 108 | </project> |