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