Commit | Line | Data |
---|---|---|
5255c030 VP |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- | |
3 | Copyright (C) 2014, Ericsson | |
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> | |
c7e8f6e3 | 19 | <version>1.0.0-SNAPSHOT</version> |
5255c030 VP |
20 | </parent> |
21 | ||
93f3824e | 22 | <artifactId>org.eclipse.tracecompass.pcap.core.tests</artifactId> |
c7e8f6e3 | 23 | <version>1.0.0-SNAPSHOT</version> |
5255c030 VP |
24 | <packaging>eclipse-test-plugin</packaging> |
25 | ||
93f3824e | 26 | <name>Trace Compass Pcap Parser Core Tests Plug-in</name> |
5255c030 | 27 | |
a1d21447 VP |
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="rsc" /> | |
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> | |
5255c030 VP |
64 | <plugins> |
65 | <plugin> | |
66 | <groupId>org.eclipse.tycho</groupId> | |
67 | <artifactId>tycho-surefire-plugin</artifactId> | |
68 | <version>${tycho-version}</version> | |
69 | <configuration> | |
93f3824e | 70 | <testSuite>org.eclipse.tracecompass.pcap.core.tests</testSuite> |
71f2817f | 71 | <testClass>org.eclipse.tracecompass.pcap.core.tests.AllPcapCoreTests</testClass> |
5255c030 VP |
72 | <useUIHarness>false</useUIHarness> |
73 | <useUIThread>false</useUIThread> | |
74 | <product>org.eclipse.platform.ide</product> | |
75 | </configuration> | |
76 | </plugin> | |
a1d21447 VP |
77 | |
78 | <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 --> | |
79 | <plugin> | |
80 | <artifactId>maven-clean-plugin</artifactId> | |
81 | <version>2.5</version> | |
82 | <executions> | |
83 | <execution> | |
84 | <id>clean-traces</id> | |
85 | <phase>clean</phase> | |
86 | <configuration> | |
87 | <filesets> | |
88 | <fileset> | |
89 | <directory>rsc</directory> | |
90 | <includes> | |
91 | <include>*.zip</include> | |
92 | <include>*.pcap</include> | |
93 | <include>*.cap</include> | |
94 | <include>*.tar*</include> | |
95 | </includes> | |
96 | <excludes> | |
97 | <exclude>*.xml</exclude> | |
98 | <exclude>*.sh</exclude> | |
99 | </excludes> | |
100 | </fileset> | |
101 | <fileset><directory>rsc/kernel</directory></fileset> | |
102 | </filesets> | |
103 | </configuration> | |
104 | <goals> | |
105 | <goal>clean</goal> | |
106 | </goals> | |
107 | </execution> | |
108 | </executions> | |
109 | </plugin> | |
110 | ||
5255c030 VP |
111 | </plugins> |
112 | </build> | |
113 | ||
93f3824e | 114 | <groupId>org.eclipse.tracecompass</groupId> |
5255c030 | 115 | </project> |