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 | 22 | <name>Trace Compass CTF Core Tests Plug-in</name> |
9da723c0 | 23 | <artifactId>org.eclipse.tracecompass.ctf.core.tests</artifactId> |
c7e8f6e3 | 24 | <version>1.0.0-SNAPSHOT</version> |
866e5b51 FC |
25 | <packaging>eclipse-test-plugin</packaging> |
26 | ||
fba99125 AM |
27 | <!-- Do not download the test traces if "maven.test.skip" is set --> |
28 | <profiles> | |
29 | <profile> | |
30 | <id>download-traces</id> | |
31 | <activation> | |
32 | <property> | |
33 | <name>!maven.test.skip</name> | |
34 | </property> | |
35 | </activation> | |
36 | ||
37 | <build> | |
38 | <plugins> | |
39 | <plugin> | |
40 | <groupId>org.apache.maven.plugins</groupId> | |
41 | <artifactId>maven-antrun-plugin</artifactId> | |
42 | <executions> | |
43 | <execution> | |
44 | <id>prepare</id> | |
45 | <phase>pre-integration-test</phase> | |
46 | <configuration> | |
47 | <target> | |
48 | <ant antfile="get-traces.xml" dir="traces" /> | |
49 | </target> | |
50 | </configuration> | |
51 | <goals> | |
52 | <goal>run</goal> | |
53 | </goals> | |
54 | </execution> | |
55 | </executions> | |
56 | </plugin> | |
57 | </plugins> | |
58 | </build> | |
59 | </profile> | |
60 | </profiles> | |
61 | ||
62 | <build> | |
866e5b51 FC |
63 | <plugins> |
64 | <plugin> | |
65 | <groupId>org.eclipse.tycho</groupId> | |
66 | <artifactId>tycho-surefire-plugin</artifactId> | |
866e5b51 | 67 | <configuration> |
7ada0d7a BH |
68 | <includes> |
69 | <include>**/AllCtfCoreTests.*</include> | |
70 | </includes> | |
866e5b51 FC |
71 | <useUIHarness>false</useUIHarness> |
72 | <useUIThread>false</useUIThread> | |
2a2d9db2 | 73 | <product>org.eclipse.platform.ide</product> |
866e5b51 FC |
74 | </configuration> |
75 | </plugin> | |
fba99125 | 76 | |
4311ac8b MAL |
77 | <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 --> |
78 | <plugin> | |
79 | <artifactId>maven-clean-plugin</artifactId> | |
4311ac8b MAL |
80 | <executions> |
81 | <execution> | |
82 | <id>clean-traces</id> | |
83 | <phase>clean</phase> | |
84 | <configuration> | |
85 | <filesets> | |
6e4358bd | 86 | <fileset><directory>traces/synctraces</directory></fileset> |
4311ac8b MAL |
87 | </filesets> |
88 | </configuration> | |
89 | <goals> | |
90 | <goal>clean</goal> | |
91 | </goals> | |
92 | </execution> | |
93 | </executions> | |
94 | </plugin> | |
866e5b51 FC |
95 | </plugins> |
96 | </build> | |
97 | ||
98 | </project> |