67a22f3cba32e41593346e0faf211737960e4384
[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 <groupId>org.eclipse.tracecompass</groupId>
24 <artifactId>org.eclipse.tracecompass.ctf.core.tests</artifactId>
25 <version>1.0.0-SNAPSHOT</version>
26 <packaging>eclipse-test-plugin</packaging>
27
28 <properties>
29 <ctfTestSuiteCommit>0f8beba86ae551f42adeb81d1bfddd5645f31013</ctfTestSuiteCommit>
30 </properties>
31
32 <!-- Do not download the test traces if "maven.test.skip" is set -->
33 <profiles>
34 <profile>
35 <id>download-traces</id>
36 <activation>
37 <property>
38 <name>!maven.test.skip</name>
39 </property>
40 </activation>
41
42 <build>
43 <plugins>
44 <plugin>
45 <groupId>org.apache.maven.plugins</groupId>
46 <artifactId>maven-antrun-plugin</artifactId>
47 <version>1.8</version>
48 <executions>
49 <execution>
50 <id>prepare</id>
51 <phase>pre-integration-test</phase>
52 <configuration>
53 <target>
54 <property name="ctf-test-suite-commit" value="${ctfTestSuiteCommit}"/>
55 <ant antfile="get-traces.xml" dir="traces" />
56 </target>
57 </configuration>
58 <goals>
59 <goal>run</goal>
60 </goals>
61 </execution>
62 </executions>
63 </plugin>
64 </plugins>
65 </build>
66 </profile>
67 </profiles>
68
69 <build>
70 <plugins>
71 <plugin>
72 <groupId>org.eclipse.tycho</groupId>
73 <artifactId>tycho-surefire-plugin</artifactId>
74 <version>${tycho-version}</version>
75 <configuration>
76 <includes>
77 <include>**/AllCtfCoreTests.*</include>
78 </includes>
79 <useUIHarness>false</useUIHarness>
80 <useUIThread>false</useUIThread>
81 <product>org.eclipse.platform.ide</product>
82 </configuration>
83 </plugin>
84
85 <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 -->
86 <plugin>
87 <artifactId>maven-clean-plugin</artifactId>
88 <version>2.6.1</version>
89 <executions>
90 <execution>
91 <id>clean-traces</id>
92 <phase>clean</phase>
93 <configuration>
94 <filesets>
95 <fileset><directory>traces/ctf-testsuite</directory></fileset>
96 <fileset><directory>traces/cyg-profile</directory></fileset>
97 <fileset><directory>traces/django-benchmark</directory></fileset>
98 <fileset><directory>traces/funky_trace</directory></fileset>
99 <fileset><directory>traces/hello-lost</directory></fileset>
100 <fileset><directory>traces/kernel</directory></fileset>
101 <fileset><directory>traces/kernel_vm</directory></fileset>
102 <fileset><directory>traces/synctraces</directory></fileset>
103 <fileset><directory>traces/synthetic-trace</directory></fileset>
104 <fileset><directory>traces/trace2</directory></fileset>
105 <fileset><directory>traces/exp</directory></fileset>
106 <fileset><directory>traces/flipping-endianness</directory></fileset>
107 <fileset><directory>traces/bug470846</directory></fileset>
108 </filesets>
109 </configuration>
110 <goals>
111 <goal>clean</goal>
112 </goals>
113 </execution>
114 </executions>
115 </plugin>
116 </plugins>
117 </build>
118
119 </project>
This page took 0.062674 seconds and 4 git commands to generate.