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 | ||
d509e97e AM |
27 | <properties> |
28 | <ctfTestSuiteCommit>0f8beba86ae551f42adeb81d1bfddd5645f31013</ctfTestSuiteCommit> | |
29 | </properties> | |
30 | ||
fba99125 AM |
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> | |
d509e97e | 52 | <property name="ctf-test-suite-commit" value="${ctfTestSuiteCommit}"/> |
fba99125 AM |
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> | |
866e5b51 | 68 | <plugins> |
4311ac8b MAL |
69 | <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 --> |
70 | <plugin> | |
71 | <artifactId>maven-clean-plugin</artifactId> | |
4311ac8b MAL |
72 | <executions> |
73 | <execution> | |
74 | <id>clean-traces</id> | |
75 | <phase>clean</phase> | |
76 | <configuration> | |
77 | <filesets> | |
d509e97e | 78 | <fileset><directory>traces/ctf-testsuite</directory></fileset> |
6e4358bd | 79 | <fileset><directory>traces/synctraces</directory></fileset> |
4311ac8b MAL |
80 | </filesets> |
81 | </configuration> | |
82 | <goals> | |
83 | <goal>clean</goal> | |
84 | </goals> | |
85 | </execution> | |
86 | </executions> | |
87 | </plugin> | |
866e5b51 FC |
88 | </plugins> |
89 | </build> | |
90 | ||
91 | </project> |