blob: aa39ee5e33bfe5c3d98086ddc3a244c04ce0463b [file] [log] [blame]
Gaurav Agrawala599a8f2017-01-10 20:45:27 +05301<!--
Brian O'Connor72b2df22017-08-03 18:48:28 -07002 ~ Copyright 2016-present Open Networking Foundation
Gaurav Agrawala599a8f2017-01-10 20:45:27 +05303 ~
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ You may obtain a copy of the License at
7 ~
8 ~ http://www.apache.org/licenses/LICENSE-2.0
9 ~
10 ~ Unless required by applicable law or agreed to in writing, software
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ~ See the License for the specific language governing permissions and
14 ~ limitations under the License.
15 -->
16<project xmlns="http://maven.apache.org/POM/4.0.0"
17 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
19 <modelVersion>4.0.0</modelVersion>
20
21 <parent>
22 <groupId>org.onosproject</groupId>
23 <artifactId>onos-yang-compiler-base</artifactId>
Ray Milkey8573bd52017-08-08 10:23:59 -070024 <version>2.2-SNAPSHOT</version>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053025 </parent>
26
27 <artifactId>onos-yang-compiler-parser</artifactId>
Ray Milkey8573bd52017-08-08 10:23:59 -070028 <version>2.2-SNAPSHOT</version>
Thomas Vachuska17abb7f2017-03-02 13:59:46 -080029 <packaging>bundle</packaging>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053030
31 <dependencies>
32 <dependency>
33 <groupId>org.onosproject</groupId>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053034 <artifactId>onos-yang-compiler-linker</artifactId>
35 <version>${project.version}</version>
36 </dependency>
37 <dependency>
38 <groupId>org.antlr</groupId>
39 <artifactId>antlr4-runtime</artifactId>
40 <version>4.5.3</version>
41 </dependency>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053042 </dependencies>
43
44 <build>
45 <plugins>
46 <plugin>
47 <groupId>org.antlr</groupId>
48 <artifactId>antlr4-maven-plugin</artifactId>
49 <version>4.5</version>
50 <executions>
51 <execution>
52 <phase>generate-sources</phase>
53 <goals>
54 <goal>antlr4</goal>
55 </goals>
56 </execution>
57 </executions>
58 <configuration>
59 <sourceDirectory>src/main/resources</sourceDirectory>
60 <outputDirectory>
61 target/generated-sources/org/onosproject/yang/compiler/parser/antlrgencode
62 </outputDirectory>
63 <visitor>false</visitor>
64 <listener>true</listener>
65 </configuration>
66 </plugin>
67 <plugin>
68 <artifactId>maven-clean-plugin</artifactId>
69 <version>3.0.0</version>
70 <executions>
71 <execution>
72 <id>Deleting auto-generated listener interfaces</id>
73 <phase>generate-sources</phase>
74 <goals>
75 <goal>clean</goal>
76 </goals>
77 </execution>
78 </executions>
79 <configuration>
80 <excludeDefaultDirectories>true</excludeDefaultDirectories>
81 <filesets>
82 <fileset>
83 <directory>target</directory>
84 <followSymlinks>false</followSymlinks>
85 <useDefaultExcludes>true</useDefaultExcludes>
86 <excludes>
87 <exclude>
88 **/generated-sources/org/onosproject/yang/compiler/parser/antlrgencode/GeneratedYangLexer.java
89 </exclude>
90 <exclude>
91 **/generated-sources/org/onosproject/yang/compiler/parser/antlrgencode/GeneratedYang.tokens
92 </exclude>
93 <exclude>
94 **/generated-sources/org/onosproject/yang/compiler/parser/antlrgencode/GeneratedYangParser.java
95 </exclude>
96 <exclude>
97 **/generated-sources/org/onosproject/yang/compiler/parser/antlrgencode/GeneratedYangLexer.tokens
98 </exclude>
99 <exclude>
100 **/generated-sources/org/onosproject/yang/compiler/parser/antlrgencode/YangLexer.java
101 </exclude>
102 <exclude>
103 **/generated-sources/org/onosproject/yang/compiler/parser/antlrgencode/YangLexer.tokens
104 </exclude>
105 </excludes>
106 </fileset>
107 </filesets>
108 <verbose>false</verbose>
109 </configuration>
110 </plugin>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +0530111 </plugins>
112 </build>
113</project>