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> | |
8336b412 AM |
15 | <artifactId>org.eclipse.tracecompass</artifactId> |
16 | <groupId>org.eclipse.tracecompass</groupId> | |
c7e8f6e3 | 17 | <version>1.0.0-SNAPSHOT</version> |
866e5b51 FC |
18 | </parent> |
19 | ||
9da723c0 AM |
20 | <name>Trace Compass CTF Parser Plug-in</name> |
21 | <groupId>org.eclipse.tracecompass</groupId> | |
22 | <artifactId>org.eclipse.tracecompass.ctf.parser</artifactId> | |
c7e8f6e3 | 23 | <version>1.0.0-SNAPSHOT</version> |
866e5b51 FC |
24 | <packaging>eclipse-plugin</packaging> |
25 | ||
26 | <build> | |
866e5b51 FC |
27 | <plugins> |
28 | <plugin> | |
29 | <groupId>org.eclipse.tycho</groupId> | |
30 | <artifactId>tycho-source-plugin</artifactId> | |
31 | </plugin> | |
9ad3c628 | 32 | <!-- Do not delete the existing .java parser files in target/ --> |
46d9e9bb | 33 | <plugin> |
9ad3c628 AM |
34 | <artifactId>maven-clean-plugin</artifactId> |
35 | <version>2.5</version> | |
36 | <configuration> | |
37 | <excludeDefaultDirectories>true</excludeDefaultDirectories> | |
38 | <filesets> | |
39 | <fileset> | |
40 | <directory>target</directory> | |
41 | <followSymlinks>false</followSymlinks> | |
42 | <includes> | |
43 | <include>*/**</include> | |
44 | </includes> | |
45 | <excludes> | |
46 | <exclude>generated-sources/antlr3/org/eclipse/tracecompass/ctf/parser/CTFLexer.java</exclude> | |
47 | <exclude>generated-sources/antlr3/org/eclipse/tracecompass/ctf/parser/CTFParser.java</exclude> | |
48 | </excludes> | |
49 | </fileset> | |
50 | </filesets> | |
51 | </configuration> | |
46d9e9bb | 52 | </plugin> |
866e5b51 FC |
53 | </plugins> |
54 | </build> | |
55 | ||
9ad3c628 AM |
56 | <!-- Only rebuild the CTF grammar files if the ctf-grammar profile is active --> |
57 | <profiles> | |
58 | <profile> | |
59 | <id>ctf-grammar</id> | |
60 | <build> | |
61 | <plugins> | |
62 | <plugin> | |
63 | <groupId>org.antlr</groupId> | |
64 | <artifactId>antlr3-maven-plugin</artifactId> | |
65 | <version>3.5.2</version> | |
66 | <executions> | |
67 | <execution> | |
68 | <goals> | |
69 | <goal>antlr</goal> | |
70 | </goals> | |
71 | </execution> | |
72 | </executions> | |
73 | <dependencies> | |
74 | <dependency> | |
75 | <groupId>org.antlr</groupId> | |
76 | <artifactId>antlr-runtime</artifactId> | |
77 | <version>3.5.2</version> | |
78 | </dependency> | |
79 | </dependencies> | |
80 | </plugin> | |
81 | </plugins> | |
82 | </build> | |
83 | </profile> | |
84 | </profiles> | |
85 | ||
866e5b51 | 86 | </project> |