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> | |
39697ee7 | 17 | <artifactId>org.eclipse.tracecompass.pcap-parent</artifactId> |
8336b412 | 18 | <groupId>org.eclipse.tracecompass</groupId> |
1d310b28 | 19 | <version>2.2.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 | 64 | <plugins> |
a1d21447 VP |
65 | |
66 | <!-- We don't use the ant file to clean because of http://jira.codehaus.org/browse/MANTRUN-78 --> | |
67 | <plugin> | |
68 | <artifactId>maven-clean-plugin</artifactId> | |
a1d21447 VP |
69 | <executions> |
70 | <execution> | |
71 | <id>clean-traces</id> | |
72 | <phase>clean</phase> | |
73 | <configuration> | |
74 | <filesets> | |
75 | <fileset> | |
76 | <directory>rsc</directory> | |
77 | <includes> | |
78 | <include>*.zip</include> | |
79 | <include>*.pcap</include> | |
80 | <include>*.cap</include> | |
81 | <include>*.tar*</include> | |
82 | </includes> | |
83 | <excludes> | |
84 | <exclude>*.xml</exclude> | |
85 | <exclude>*.sh</exclude> | |
86 | </excludes> | |
87 | </fileset> | |
88 | <fileset><directory>rsc/kernel</directory></fileset> | |
89 | </filesets> | |
90 | </configuration> | |
91 | <goals> | |
92 | <goal>clean</goal> | |
93 | </goals> | |
94 | </execution> | |
95 | </executions> | |
96 | </plugin> | |
97 | ||
5255c030 VP |
98 | </plugins> |
99 | </build> | |
100 | ||
5255c030 | 101 | </project> |