Commit | Line | Data |
---|---|---|
866e5b51 FC |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- | |
3 | Copyright (C) 2011, Red Hat, Inc. and others | |
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> | |
17 | <artifactId>linuxtools-lttng-parent</artifactId> | |
18 | <groupId>org.eclipse.linuxtools.lttng</groupId> | |
559b58ab | 19 | <version>2.0.0-SNAPSHOT</version> |
866e5b51 FC |
20 | </parent> |
21 | ||
6de2f761 | 22 | <name>Linux Tools CTF Core Tests Plug-in</name> |
866e5b51 FC |
23 | <groupId>org.eclipse.linuxtools.ctf</groupId> |
24 | <artifactId>org.eclipse.linuxtools.ctf.core.tests</artifactId> | |
4ed52824 | 25 | <version>2.0.0-SNAPSHOT</version> |
866e5b51 FC |
26 | <packaging>eclipse-test-plugin</packaging> |
27 | ||
28 | <build> | |
29 | <!-- workaround for https://issues.sonatype.org/browse/TYCHO-168 --> | |
30 | <resources> | |
31 | <resource> | |
32 | <directory>src</directory> | |
33 | <excludes> | |
34 | <exclude>**/*.java</exclude> | |
35 | </excludes> | |
36 | </resource> | |
37 | </resources> | |
38 | <plugins> | |
7ada0d7a BH |
39 | <plugin> |
40 | <groupId>org.apache.maven.plugins</groupId> | |
41 | <artifactId>maven-antrun-plugin</artifactId> | |
7ada0d7a BH |
42 | <executions> |
43 | <execution> | |
44 | <id>prepare</id> | |
45 | <phase>validate</phase> | |
46 | <configuration> | |
09e00e4a AM |
47 | <target> |
48 | <ant antfile="get-traces.xml" dir="traces" /> | |
49 | </target> | |
7ada0d7a BH |
50 | </configuration> |
51 | <goals> | |
52 | <goal>run</goal> | |
53 | </goals> | |
54 | </execution> | |
55 | </executions> | |
56 | </plugin> | |
866e5b51 FC |
57 | <plugin> |
58 | <groupId>org.eclipse.tycho</groupId> | |
59 | <artifactId>tycho-surefire-plugin</artifactId> | |
60 | <version>${tycho-version}</version> | |
61 | <configuration> | |
7ada0d7a BH |
62 | <includes> |
63 | <include>**/AllCtfCoreTests.*</include> | |
64 | </includes> | |
866e5b51 FC |
65 | <useUIHarness>false</useUIHarness> |
66 | <useUIThread>false</useUIThread> | |
67 | <product>org.eclipse.sdk.ide</product> | |
68 | </configuration> | |
69 | </plugin> | |
4311ac8b MAL |
70 | <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 --> |
71 | <plugin> | |
72 | <artifactId>maven-clean-plugin</artifactId> | |
73 | <version>2.5</version> | |
74 | <executions> | |
75 | <execution> | |
76 | <id>clean-traces</id> | |
77 | <phase>clean</phase> | |
78 | <configuration> | |
79 | <filesets> | |
80 | <fileset> | |
81 | <directory>traces</directory> | |
82 | <includes> | |
83 | <include>*.tar*</include> | |
84 | </includes> | |
85 | <excludes> | |
86 | <exclude>*.xml</exclude> | |
87 | <exclude>*.sh</exclude> | |
88 | </excludes> | |
89 | </fileset> | |
90 | <fileset> | |
91 | <directory>traces/kernel</directory> | |
92 | </fileset> | |
93 | <fileset> | |
94 | <directory>traces/trace2</directory> | |
95 | </fileset> | |
96 | <fileset> | |
97 | <directory>traces/ctf-testsuite</directory> | |
98 | </fileset> | |
99 | </filesets> | |
100 | </configuration> | |
101 | <goals> | |
102 | <goal>clean</goal> | |
103 | </goals> | |
104 | </execution> | |
105 | </executions> | |
106 | </plugin> | |
866e5b51 FC |
107 | </plugins> |
108 | </build> | |
109 | ||
110 | </project> |