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