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 | ||
31aed449 AM |
28 | <properties> |
29 | <ctfTestSuiteCommit>0f8beba86ae551f42adeb81d1bfddd5645f31013</ctfTestSuiteCommit> | |
30 | </properties> | |
31 | ||
fba99125 AM |
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> | |
7679e68a | 47 | <version>1.8</version> |
fba99125 AM |
48 | <executions> |
49 | <execution> | |
50 | <id>prepare</id> | |
51 | <phase>pre-integration-test</phase> | |
52 | <configuration> | |
53 | <target> | |
31aed449 | 54 | <property name="ctf-test-suite-commit" value="${ctfTestSuiteCommit}"/> |
fba99125 AM |
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> | |
866e5b51 FC |
70 | <plugins> |
71 | <plugin> | |
72 | <groupId>org.eclipse.tycho</groupId> | |
73 | <artifactId>tycho-surefire-plugin</artifactId> | |
74 | <version>${tycho-version}</version> | |
75 | <configuration> | |
7ada0d7a BH |
76 | <includes> |
77 | <include>**/AllCtfCoreTests.*</include> | |
78 | </includes> | |
866e5b51 FC |
79 | <useUIHarness>false</useUIHarness> |
80 | <useUIThread>false</useUIThread> | |
2a2d9db2 | 81 | <product>org.eclipse.platform.ide</product> |
866e5b51 FC |
82 | </configuration> |
83 | </plugin> | |
fba99125 | 84 | |
4311ac8b MAL |
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> | |
7679e68a | 88 | <version>2.6.1</version> |
4311ac8b MAL |
89 | <executions> |
90 | <execution> | |
91 | <id>clean-traces</id> | |
92 | <phase>clean</phase> | |
93 | <configuration> | |
94 | <filesets> | |
45f672d6 | 95 | <fileset><directory>traces/ctf-testsuite</directory></fileset> |
6e4358bd | 96 | <fileset><directory>traces/cyg-profile</directory></fileset> |
ef3a9bfd | 97 | <fileset><directory>traces/django-benchmark</directory></fileset> |
9ab4ca26 | 98 | <fileset><directory>traces/funky_trace</directory></fileset> |
45f672d6 AM |
99 | <fileset><directory>traces/hello-lost</directory></fileset> |
100 | <fileset><directory>traces/kernel</directory></fileset> | |
101 | <fileset><directory>traces/kernel_vm</directory></fileset> | |
6e4358bd | 102 | <fileset><directory>traces/synctraces</directory></fileset> |
ea0e5a5b | 103 | <fileset><directory>traces/synthetic-trace</directory></fileset> |
45f672d6 | 104 | <fileset><directory>traces/trace2</directory></fileset> |
43d15218 | 105 | <fileset><directory>traces/exp</directory></fileset> |
de405a2e | 106 | <fileset><directory>traces/flipping-endianness</directory></fileset> |
4311ac8b MAL |
107 | </filesets> |
108 | </configuration> | |
109 | <goals> | |
110 | <goal>clean</goal> | |
111 | </goals> | |
112 | </execution> | |
113 | </executions> | |
114 | </plugin> | |
866e5b51 FC |
115 | </plugins> |
116 | </build> | |
117 | ||
118 | </project> |