Bharat saraswal | 96dfef0 | 2016-06-16 00:29:12 +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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Gaurav Agrawal | 4a9f3af | 2016-06-30 16:43:08 +0530 | [diff] [blame] | 17 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Bharat saraswal | 96dfef0 | 2016-06-16 00:29:12 +0530 | [diff] [blame] | 18 | <modelVersion>4.0.0</modelVersion> |
| 19 | |
| 20 | <parent> |
| 21 | <groupId>org.onosproject</groupId> |
| 22 | <artifactId>onos-yangutils</artifactId> |
| 23 | <version>1.7.0-SNAPSHOT</version> |
Bharat saraswal | 96dfef0 | 2016-06-16 00:29:12 +0530 | [diff] [blame] | 24 | </parent> |
| 25 | |
| 26 | <artifactId>yangutils-maven-plugin</artifactId> |
| 27 | <version>1.0.0-SNAPSHOT</version> |
| 28 | <name>onos-yang-utils-plugin</name> |
| 29 | <packaging>maven-plugin</packaging> |
| 30 | |
| 31 | <properties> |
| 32 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 33 | </properties> |
| 34 | |
| 35 | <dependencies> |
Gaurav Agrawal | 4a9f3af | 2016-06-30 16:43:08 +0530 | [diff] [blame] | 36 | <dependency> |
Bharat saraswal | 96dfef0 | 2016-06-16 00:29:12 +0530 | [diff] [blame] | 37 | <groupId>org.onosproject</groupId> |
| 38 | <artifactId>yangutils-datamodel</artifactId> |
| 39 | <version>1.7.0-SNAPSHOT</version> |
| 40 | </dependency> |
| 41 | <dependency> |
| 42 | <groupId>org.apache.maven</groupId> |
| 43 | <artifactId>maven-core</artifactId> |
| 44 | <version>3.3.9</version> |
| 45 | </dependency> |
| 46 | <dependency> |
| 47 | <groupId>org.apache.maven</groupId> |
| 48 | <artifactId>maven-plugin-api</artifactId> |
| 49 | <version>3.3.9</version> |
| 50 | </dependency> |
| 51 | <dependency> |
| 52 | <groupId>org.apache.maven.plugin-tools</groupId> |
| 53 | <artifactId>maven-plugin-annotations</artifactId> |
| 54 | <version>3.4</version> |
| 55 | <scope>provided</scope> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.apache.felix</groupId> |
| 59 | <artifactId>maven-scr-plugin</artifactId> |
| 60 | <version>1.21.0</version> |
| 61 | <scope>compile</scope> |
| 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>org.apache.maven</groupId> |
| 65 | <artifactId>maven-artifact</artifactId> |
| 66 | <version>3.3.9</version> |
| 67 | </dependency> |
| 68 | <dependency> |
| 69 | <groupId>org.apache.maven</groupId> |
| 70 | <artifactId>maven-project</artifactId> |
| 71 | <version>3.0-alpha-2</version> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>org.apache.maven</groupId> |
| 75 | <artifactId>maven-model</artifactId> |
| 76 | <version>3.3.9</version> |
| 77 | </dependency> |
| 78 | <dependency> |
| 79 | <groupId>junit</groupId> |
| 80 | <artifactId>junit</artifactId> |
| 81 | <version>4.12</version> |
| 82 | <scope>test</scope> |
| 83 | </dependency> |
| 84 | <dependency> |
| 85 | <groupId>org.sonatype.plexus</groupId> |
| 86 | <artifactId>plexus-build-api</artifactId> |
| 87 | <version>0.0.7</version> |
| 88 | <scope>provided</scope> |
| 89 | </dependency> |
| 90 | <dependency> |
| 91 | <groupId>commons-io</groupId> |
| 92 | <artifactId>commons-io</artifactId> |
| 93 | <version>2.4</version> |
| 94 | </dependency> |
| 95 | |
| 96 | <dependency> |
| 97 | <groupId>org.hamcrest</groupId> |
| 98 | <artifactId>hamcrest-all</artifactId> |
| 99 | <version>1.3</version> |
| 100 | </dependency> |
| 101 | |
| 102 | <dependency> |
| 103 | <groupId>org.onosproject</groupId> |
| 104 | <artifactId>onlab-junit</artifactId> |
| 105 | <version>1.7.0-SNAPSHOT</version> |
| 106 | <scope>test</scope> |
| 107 | </dependency> |
| 108 | <dependency> |
| 109 | <groupId>org.antlr</groupId> |
| 110 | <artifactId>antlr4-runtime</artifactId> |
| 111 | <version>4.5.3</version> |
| 112 | </dependency> |
| 113 | <dependency> |
| 114 | <groupId>org.codehaus.mojo</groupId> |
| 115 | <artifactId>build-helper-maven-plugin</artifactId> |
| 116 | <version>1.10</version> |
| 117 | </dependency> |
| 118 | </dependencies> |
| 119 | |
| 120 | <build> |
| 121 | <plugins> |
| 122 | <plugin> |
| 123 | <groupId>org.antlr</groupId> |
| 124 | <artifactId>antlr4-maven-plugin</artifactId> |
| 125 | <version>4.5</version> |
| 126 | <executions> |
| 127 | <execution> |
| 128 | <phase>generate-sources</phase> |
| 129 | <goals> |
| 130 | <goal>antlr4</goal> |
| 131 | </goals> |
| 132 | </execution> |
| 133 | </executions> |
| 134 | <configuration> |
| 135 | <sourceDirectory>src/main/resources</sourceDirectory> |
Gaurav Agrawal | 4a9f3af | 2016-06-30 16:43:08 +0530 | [diff] [blame] | 136 | <outputDirectory>target/generated-sources/org/onosproject/yangutils/parser/antlrgencode |
| 137 | </outputDirectory> |
Bharat saraswal | 96dfef0 | 2016-06-16 00:29:12 +0530 | [diff] [blame] | 138 | <visitor>false</visitor> |
| 139 | <listener>true</listener> |
| 140 | </configuration> |
| 141 | </plugin> |
| 142 | <plugin> |
| 143 | <artifactId>maven-clean-plugin</artifactId> |
| 144 | <version>3.0.0</version> |
| 145 | <executions> |
| 146 | <execution> |
| 147 | <id>Deleting auto-generated listener interfaces</id> |
| 148 | <phase>generate-sources</phase> |
| 149 | <goals> |
| 150 | <goal>clean</goal> |
| 151 | </goals> |
| 152 | </execution> |
| 153 | </executions> |
| 154 | <configuration> |
| 155 | <excludeDefaultDirectories>true</excludeDefaultDirectories> |
| 156 | <filesets> |
| 157 | <fileset> |
| 158 | <directory>target</directory> |
| 159 | <followSymlinks>false</followSymlinks> |
| 160 | <useDefaultExcludes>true</useDefaultExcludes> |
| 161 | <excludes> |
Gaurav Agrawal | 4a9f3af | 2016-06-30 16:43:08 +0530 | [diff] [blame] | 162 | <exclude> |
| 163 | **/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYangLexer.java |
| 164 | </exclude> |
| 165 | <exclude> |
| 166 | **/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYang.tokens |
| 167 | </exclude> |
| 168 | <exclude> |
| 169 | **/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYangParser.java |
| 170 | </exclude> |
| 171 | <exclude> |
| 172 | **/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYangLexer.tokens |
| 173 | </exclude> |
| 174 | <exclude> |
| 175 | **/generated-sources/org/onosproject/yangutils/parser/antlrgencode/YangLexer.java |
| 176 | </exclude> |
| 177 | <exclude> |
| 178 | **/generated-sources/org/onosproject/yangutils/parser/antlrgencode/YangLexer.tokens |
| 179 | </exclude> |
Bharat saraswal | 96dfef0 | 2016-06-16 00:29:12 +0530 | [diff] [blame] | 180 | </excludes> |
| 181 | </fileset> |
| 182 | </filesets> |
Yuta HIGUCHI | 27fcb5f | 2016-07-11 21:22:47 -0700 | [diff] [blame] | 183 | <verbose>false</verbose> |
Bharat saraswal | 96dfef0 | 2016-06-16 00:29:12 +0530 | [diff] [blame] | 184 | </configuration> |
| 185 | </plugin> |
| 186 | <plugin> |
| 187 | <groupId>org.codehaus.mojo</groupId> |
| 188 | <artifactId>build-helper-maven-plugin</artifactId> |
| 189 | <version>1.10</version> |
| 190 | <executions> |
| 191 | <execution> |
| 192 | <id>add-source</id> |
| 193 | <phase>generate-sources</phase> |
| 194 | <goals> |
| 195 | <goal>add-source</goal> |
| 196 | </goals> |
| 197 | <configuration> |
| 198 | <sources> |
| 199 | <source>target/generated-sources/org/onosproject/yangutils/parser/antlrgencode</source> |
Gaurav Agrawal | 4a9f3af | 2016-06-30 16:43:08 +0530 | [diff] [blame] | 200 | <sourceDirectory> |
| 201 | target/generated-sources/org/onosproject/yangutils/parser/antlrgencode |
| 202 | </sourceDirectory> |
Bharat saraswal | 96dfef0 | 2016-06-16 00:29:12 +0530 | [diff] [blame] | 203 | </sources> |
| 204 | </configuration> |
| 205 | </execution> |
| 206 | </executions> |
| 207 | </plugin> |
| 208 | <plugin> |
| 209 | <groupId>org.apache.felix</groupId> |
| 210 | <artifactId>maven-bundle-plugin</artifactId> |
| 211 | <extensions>true</extensions> |
| 212 | <configuration> |
| 213 | <instructions> |
| 214 | <Export-Package> |
| 215 | org.onosproject.yangutils.parser.* |
| 216 | </Export-Package> |
| 217 | </instructions> |
| 218 | </configuration> |
| 219 | </plugin> |
| 220 | <plugin> |
| 221 | <groupId>org.apache.maven.plugins</groupId> |
| 222 | <artifactId>maven-plugin-plugin</artifactId> |
| 223 | <version>3.4</version> |
| 224 | <configuration> |
| 225 | <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> |
| 226 | </configuration> |
| 227 | <executions> |
| 228 | <execution> |
| 229 | <phase>generate-sources</phase> |
| 230 | <goals> |
| 231 | <goal>descriptor</goal> |
| 232 | </goals> |
| 233 | </execution> |
| 234 | </executions> |
| 235 | </plugin> |
| 236 | </plugins> |
| 237 | </build> |
Bharat saraswal | 96dfef0 | 2016-06-16 00:29:12 +0530 | [diff] [blame] | 238 | </project> |