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> | |
8336b412 AM |
17 | <artifactId>org.eclipse.tracecompass</artifactId> |
18 | <groupId>org.eclipse.tracecompass</groupId> | |
81539df0 | 19 | <version>0.1.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> | |
81539df0 | 25 | <version>0.1.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> | |
43 | <executions> | |
44 | <execution> | |
45 | <id>prepare</id> | |
46 | <phase>pre-integration-test</phase> | |
47 | <configuration> | |
48 | <target> | |
49 | <ant antfile="get-traces.xml" dir="traces" /> | |
50 | </target> | |
51 | </configuration> | |
52 | <goals> | |
53 | <goal>run</goal> | |
54 | </goals> | |
55 | </execution> | |
56 | </executions> | |
57 | </plugin> | |
58 | </plugins> | |
59 | </build> | |
60 | </profile> | |
61 | </profiles> | |
62 | ||
63 | <build> | |
866e5b51 FC |
64 | <plugins> |
65 | <plugin> | |
66 | <groupId>org.eclipse.tycho</groupId> | |
67 | <artifactId>tycho-surefire-plugin</artifactId> | |
68 | <version>${tycho-version}</version> | |
69 | <configuration> | |
7ada0d7a BH |
70 | <includes> |
71 | <include>**/AllCtfCoreTests.*</include> | |
72 | </includes> | |
866e5b51 FC |
73 | <useUIHarness>false</useUIHarness> |
74 | <useUIThread>false</useUIThread> | |
2a2d9db2 | 75 | <product>org.eclipse.platform.ide</product> |
866e5b51 FC |
76 | </configuration> |
77 | </plugin> | |
fba99125 | 78 | |
4311ac8b MAL |
79 | <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 --> |
80 | <plugin> | |
81 | <artifactId>maven-clean-plugin</artifactId> | |
82 | <version>2.5</version> | |
83 | <executions> | |
84 | <execution> | |
85 | <id>clean-traces</id> | |
86 | <phase>clean</phase> | |
87 | <configuration> | |
88 | <filesets> | |
45f672d6 | 89 | <fileset><directory>traces/ctf-testsuite</directory></fileset> |
6e4358bd | 90 | <fileset><directory>traces/cyg-profile</directory></fileset> |
ef3a9bfd | 91 | <fileset><directory>traces/django-benchmark</directory></fileset> |
9ab4ca26 | 92 | <fileset><directory>traces/funky_trace</directory></fileset> |
45f672d6 AM |
93 | <fileset><directory>traces/hello-lost</directory></fileset> |
94 | <fileset><directory>traces/kernel</directory></fileset> | |
95 | <fileset><directory>traces/kernel_vm</directory></fileset> | |
6e4358bd | 96 | <fileset><directory>traces/synctraces</directory></fileset> |
ea0e5a5b | 97 | <fileset><directory>traces/synthetic-trace</directory></fileset> |
45f672d6 | 98 | <fileset><directory>traces/trace2</directory></fileset> |
43d15218 | 99 | <fileset><directory>traces/exp</directory></fileset> |
4311ac8b MAL |
100 | </filesets> |
101 | </configuration> | |
102 | <goals> | |
103 | <goal>clean</goal> | |
104 | </goals> | |
105 | </execution> | |
106 | </executions> | |
107 | </plugin> | |
866e5b51 FC |
108 | </plugins> |
109 | </build> | |
110 | ||
111 | </project> |