Commit | Line | Data |
---|---|---|
866e5b51 FC |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- | |
3 | Copyright (C) 2011, Red Hat, Inc. | |
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 | <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | |
11 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
12 | <modelVersion>4.0.0</modelVersion> | |
13 | ||
14 | <parent> | |
4da8cd5b | 15 | <artifactId>org.eclipse.tracecompass.ctf-parent</artifactId> |
8336b412 | 16 | <groupId>org.eclipse.tracecompass</groupId> |
4aaa0b56 | 17 | <version>2.1.0-SNAPSHOT</version> |
866e5b51 FC |
18 | </parent> |
19 | ||
9da723c0 | 20 | <name>Trace Compass CTF Parser Plug-in</name> |
9da723c0 | 21 | <artifactId>org.eclipse.tracecompass.ctf.parser</artifactId> |
c7e8f6e3 | 22 | <version>1.0.0-SNAPSHOT</version> |
866e5b51 FC |
23 | <packaging>eclipse-plugin</packaging> |
24 | ||
25 | <build> | |
866e5b51 FC |
26 | <plugins> |
27 | <plugin> | |
28 | <groupId>org.eclipse.tycho</groupId> | |
29 | <artifactId>tycho-source-plugin</artifactId> | |
30 | </plugin> | |
9ad3c628 | 31 | <!-- Do not delete the existing .java parser files in target/ --> |
46d9e9bb | 32 | <plugin> |
9ad3c628 | 33 | <artifactId>maven-clean-plugin</artifactId> |
7679e68a MAL |
34 | <configuration> |
35 | <excludeDefaultDirectories>true</excludeDefaultDirectories> | |
36 | <filesets> | |
37 | <fileset> | |
38 | <directory>target</directory> | |
39 | <followSymlinks>false</followSymlinks> | |
40 | <includes> | |
41 | <include>*/**</include> | |
42 | </includes> | |
43 | <excludes> | |
44 | <exclude>generated-sources/antlr3/org/eclipse/tracecompass/ctf/parser/CTFLexer.java</exclude> | |
45 | <exclude>generated-sources/antlr3/org/eclipse/tracecompass/ctf/parser/CTFParser.java</exclude> | |
46 | </excludes> | |
47 | </fileset> | |
48 | </filesets> | |
49 | </configuration> | |
46d9e9bb | 50 | </plugin> |
866e5b51 FC |
51 | </plugins> |
52 | </build> | |
53 | ||
9ad3c628 AM |
54 | <!-- Only rebuild the CTF grammar files if the ctf-grammar profile is active --> |
55 | <profiles> | |
56 | <profile> | |
57 | <id>ctf-grammar</id> | |
58 | <build> | |
59 | <plugins> | |
60 | <plugin> | |
61 | <groupId>org.antlr</groupId> | |
62 | <artifactId>antlr3-maven-plugin</artifactId> | |
63 | <version>3.5.2</version> | |
64 | <executions> | |
65 | <execution> | |
66 | <goals> | |
67 | <goal>antlr</goal> | |
68 | </goals> | |
69 | </execution> | |
70 | </executions> | |
71 | <dependencies> | |
72 | <dependency> | |
73 | <groupId>org.antlr</groupId> | |
74 | <artifactId>antlr-runtime</artifactId> | |
75 | <version>3.5.2</version> | |
76 | </dependency> | |
77 | </dependencies> | |
78 | </plugin> | |
79 | </plugins> | |
80 | </build> | |
81 | </profile> | |
82 | </profiles> | |
83 | ||
866e5b51 | 84 | </project> |