ctf: Restore the downloading of the ctf-testsuite
[deliverable/tracecompass.git] / ctf / org.eclipse.tracecompass.ctf.core.tests / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2014 Ericsson
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 <parent>
17 <artifactId>org.eclipse.tracecompass.ctf-parent</artifactId>
18 <groupId>org.eclipse.tracecompass</groupId>
19 <version>2.0.0-SNAPSHOT</version>
20 </parent>
21
22 <name>Trace Compass CTF Core Tests Plug-in</name>
23 <artifactId>org.eclipse.tracecompass.ctf.core.tests</artifactId>
24 <version>1.0.0-SNAPSHOT</version>
25 <packaging>eclipse-test-plugin</packaging>
26
27 <properties>
28 <ctfTestSuiteCommit>0f8beba86ae551f42adeb81d1bfddd5645f31013</ctfTestSuiteCommit>
29 </properties>
30
31 <!-- Do not download the test traces if "maven.test.skip" is set -->
32 <profiles>
33 <profile>
34 <id>download-traces</id>
35 <activation>
36 <property>
37 <name>!maven.test.skip</name>
38 </property>
39 </activation>
40
41 <build>
42 <plugins>
43 <plugin>
44 <groupId>org.apache.maven.plugins</groupId>
45 <artifactId>maven-antrun-plugin</artifactId>
46 <executions>
47 <execution>
48 <id>prepare</id>
49 <phase>pre-integration-test</phase>
50 <configuration>
51 <target>
52 <property name="ctf-test-suite-commit" value="${ctfTestSuiteCommit}"/>
53 <ant antfile="get-traces.xml" dir="traces" />
54 </target>
55 </configuration>
56 <goals>
57 <goal>run</goal>
58 </goals>
59 </execution>
60 </executions>
61 </plugin>
62 </plugins>
63 </build>
64 </profile>
65 </profiles>
66
67 <build>
68 <plugins>
69 <plugin>
70 <groupId>org.eclipse.tycho</groupId>
71 <artifactId>tycho-surefire-plugin</artifactId>
72 <configuration>
73 <includes>
74 <include>**/AllCtfCoreTests.*</include>
75 </includes>
76 <useUIHarness>false</useUIHarness>
77 <useUIThread>false</useUIThread>
78 <product>org.eclipse.platform.ide</product>
79 </configuration>
80 </plugin>
81
82 <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 -->
83 <plugin>
84 <artifactId>maven-clean-plugin</artifactId>
85 <executions>
86 <execution>
87 <id>clean-traces</id>
88 <phase>clean</phase>
89 <configuration>
90 <filesets>
91 <fileset><directory>traces/ctf-testsuite</directory></fileset>
92 <fileset><directory>traces/synctraces</directory></fileset>
93 </filesets>
94 </configuration>
95 <goals>
96 <goal>clean</goal>
97 </goals>
98 </execution>
99 </executions>
100 </plugin>
101 </plugins>
102 </build>
103
104 </project>
This page took 0.049255 seconds and 6 git commands to generate.