Commit | Line | Data |
---|---|---|
866e5b51 FC |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- | |
81539df0 | 3 | Copyright (C) 2014 Ericsson |
866e5b51 FC |
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> | |
4da8cd5b | 17 | <artifactId>org.eclipse.tracecompass.ctf-parent</artifactId> |
8336b412 | 18 | <groupId>org.eclipse.tracecompass</groupId> |
38a9b03f | 19 | <version>2.0.0-SNAPSHOT</version> |
866e5b51 FC |
20 | </parent> |
21 | ||
9da723c0 AM |
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> | |
c7e8f6e3 | 25 | <version>1.0.0-SNAPSHOT</version> |
866e5b51 FC |
26 | <packaging>eclipse-test-plugin</packaging> |
27 | ||
fba99125 AM |
28 | <!-- Do not download the test traces if "maven.test.skip" is set --> |
29 | <profiles> | |
30 | <profile> | |
31 | <id>download-traces</id> | |
32 | <activation> | |
33 | <property> | |
34 | <name>!maven.test.skip</name> | |
35 | </property> | |
36 | </activation> | |
37 | ||
38 | <build> | |
39 | <plugins> | |
40 | <plugin> | |
41 | <groupId>org.apache.maven.plugins</groupId> | |
42 | <artifactId>maven-antrun-plugin</artifactId> | |
7679e68a | 43 | <version>1.8</version> |
fba99125 AM |
44 | <executions> |
45 | <execution> | |
46 | <id>prepare</id> | |
47 | <phase>pre-integration-test</phase> | |
48 | <configuration> | |
49 | <target> | |
50 | <ant antfile="get-traces.xml" dir="traces" /> | |
51 | </target> | |
52 | </configuration> | |
53 | <goals> | |
54 | <goal>run</goal> | |
55 | </goals> | |
56 | </execution> | |
57 | </executions> | |
58 | </plugin> | |
59 | </plugins> | |
60 | </build> | |
61 | </profile> | |
62 | </profiles> | |
63 | ||
64 | <build> | |
866e5b51 FC |
65 | <plugins> |
66 | <plugin> | |
67 | <groupId>org.eclipse.tycho</groupId> | |
68 | <artifactId>tycho-surefire-plugin</artifactId> | |
69 | <version>${tycho-version}</version> | |
70 | <configuration> | |
7ada0d7a BH |
71 | <includes> |
72 | <include>**/AllCtfCoreTests.*</include> | |
73 | </includes> | |
866e5b51 FC |
74 | <useUIHarness>false</useUIHarness> |
75 | <useUIThread>false</useUIThread> | |
2a2d9db2 | 76 | <product>org.eclipse.platform.ide</product> |
866e5b51 FC |
77 | </configuration> |
78 | </plugin> | |
fba99125 | 79 | |
4311ac8b MAL |
80 | <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 --> |
81 | <plugin> | |
82 | <artifactId>maven-clean-plugin</artifactId> | |
7679e68a | 83 | <version>2.6.1</version> |
4311ac8b MAL |
84 | <executions> |
85 | <execution> | |
86 | <id>clean-traces</id> | |
87 | <phase>clean</phase> | |
88 | <configuration> | |
89 | <filesets> | |
6e4358bd | 90 | <fileset><directory>traces/synctraces</directory></fileset> |
4311ac8b MAL |
91 | </filesets> |
92 | </configuration> | |
93 | <goals> | |
94 | <goal>clean</goal> | |
95 | </goals> | |
96 | </execution> | |
97 | </executions> | |
98 | </plugin> | |
866e5b51 FC |
99 | </plugins> |
100 | </build> | |
101 | ||
102 | </project> |