Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright 2016-present Open Networking Laboratory |
| 3 | ~ |
| 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 Milkey | 88fb995 | 2017-05-09 15:50:56 -0700 | [diff] [blame] | 24 | <version>1.12-SNAPSHOT</version> |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 25 | </parent> |
| 26 | |
| 27 | <artifactId>onos-yang-compiler-parser</artifactId> |
Ray Milkey | 88fb995 | 2017-05-09 15:50:56 -0700 | [diff] [blame] | 28 | <version>1.12-SNAPSHOT</version> |
Thomas Vachuska | 17abb7f | 2017-03-02 13:59:46 -0800 | [diff] [blame] | 29 | <packaging>bundle</packaging> |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 30 | |
| 31 | <dependencies> |
| 32 | <dependency> |
| 33 | <groupId>org.onosproject</groupId> |
Gaurav Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 34 | <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 Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 42 | </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 Agrawal | a599a8f | 2017-01-10 20:45:27 +0530 | [diff] [blame] | 111 | </plugins> |
| 112 | </build> |
| 113 | </project> |