blob: 3154af4a277c8d37e62118634a5e7e328faaa489 [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>
ONOS Jenkins User289d2ca2018-06-05 19:04:18 +000024 <version>2.5-SNAPSHOT</version>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053025 </parent>
26
27 <artifactId>onos-yang-compiler-parser</artifactId>
Thomas Vachuska17abb7f2017-03-02 13:59:46 -080028 <packaging>bundle</packaging>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053029
30 <dependencies>
31 <dependency>
32 <groupId>org.onosproject</groupId>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053033 <artifactId>onos-yang-compiler-linker</artifactId>
34 <version>${project.version}</version>
35 </dependency>
36 <dependency>
37 <groupId>org.antlr</groupId>
38 <artifactId>antlr4-runtime</artifactId>
39 <version>4.5.3</version>
40 </dependency>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053041 </dependencies>
42
43 <build>
44 <plugins>
45 <plugin>
46 <groupId>org.antlr</groupId>
47 <artifactId>antlr4-maven-plugin</artifactId>
48 <version>4.5</version>
49 <executions>
50 <execution>
51 <phase>generate-sources</phase>
52 <goals>
53 <goal>antlr4</goal>
54 </goals>
55 </execution>
56 </executions>
57 <configuration>
58 <sourceDirectory>src/main/resources</sourceDirectory>
59 <outputDirectory>
60 target/generated-sources/org/onosproject/yang/compiler/parser/antlrgencode
61 </outputDirectory>
62 <visitor>false</visitor>
63 <listener>true</listener>
64 </configuration>
65 </plugin>
66 <plugin>
67 <artifactId>maven-clean-plugin</artifactId>
68 <version>3.0.0</version>
69 <executions>
70 <execution>
71 <id>Deleting auto-generated listener interfaces</id>
72 <phase>generate-sources</phase>
73 <goals>
74 <goal>clean</goal>
75 </goals>
76 </execution>
77 </executions>
78 <configuration>
79 <excludeDefaultDirectories>true</excludeDefaultDirectories>
80 <filesets>
81 <fileset>
82 <directory>target</directory>
83 <followSymlinks>false</followSymlinks>
84 <useDefaultExcludes>true</useDefaultExcludes>
85 <excludes>
86 <exclude>
87 **/generated-sources/org/onosproject/yang/compiler/parser/antlrgencode/GeneratedYangLexer.java
88 </exclude>
89 <exclude>
90 **/generated-sources/org/onosproject/yang/compiler/parser/antlrgencode/GeneratedYang.tokens
91 </exclude>
92 <exclude>
93 **/generated-sources/org/onosproject/yang/compiler/parser/antlrgencode/GeneratedYangParser.java
94 </exclude>
95 <exclude>
96 **/generated-sources/org/onosproject/yang/compiler/parser/antlrgencode/GeneratedYangLexer.tokens
97 </exclude>
98 <exclude>
99 **/generated-sources/org/onosproject/yang/compiler/parser/antlrgencode/YangLexer.java
100 </exclude>
101 <exclude>
102 **/generated-sources/org/onosproject/yang/compiler/parser/antlrgencode/YangLexer.tokens
103 </exclude>
104 </excludes>
105 </fileset>
106 </filesets>
107 <verbose>false</verbose>
108 </configuration>
109 </plugin>
Yuta HIGUCHI1bc3c232018-05-11 11:36:00 -0700110
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-checkstyle-plugin</artifactId>
114 <configuration>
115 <sourceDirectories>
116 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
117 </sourceDirectories>
118 <excludes>**/generated-sources/**/*</excludes>
119 </configuration>
120 </plugin>
121
Gaurav Agrawala599a8f2017-01-10 20:45:27 +0530122 </plugins>
123 </build>
124</project>