Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | |
| 5 | <parent> |
| 6 | <groupId>org.onosproject</groupId> |
| 7 | <artifactId>onlab-utils</artifactId> |
Madan Jampani | 2369642 | 2016-03-09 14:02:04 -0800 | [diff] [blame^] | 8 | <version>1.5.0-SNAPSHOT</version> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 9 | <relativePath>../pom.xml</relativePath> |
| 10 | </parent> |
| 11 | |
| 12 | <artifactId>yangutils-maven-plugin</artifactId> |
Ray Milkey | 3b6b9b1 | 2016-02-09 15:11:18 -0800 | [diff] [blame] | 13 | <version>1.0.0-SNAPSHOT</version> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 14 | <name>onos-yang-utils-plugin</name> |
| 15 | <packaging>maven-plugin</packaging> |
| 16 | |
| 17 | <properties> |
| 18 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 19 | </properties> |
| 20 | |
| 21 | <dependencies> |
| 22 | <dependency> |
| 23 | <groupId>org.apache.maven</groupId> |
| 24 | <artifactId>maven-core</artifactId> |
Bharat saraswal | 2f00b4b | 2016-03-04 20:08:09 +0530 | [diff] [blame] | 25 | <version>3.3.9</version> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 26 | </dependency> |
| 27 | <dependency> |
| 28 | <groupId>org.apache.maven</groupId> |
| 29 | <artifactId>maven-plugin-api</artifactId> |
Bharat saraswal | 2f00b4b | 2016-03-04 20:08:09 +0530 | [diff] [blame] | 30 | <version>3.3.9</version> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 31 | </dependency> |
| 32 | <dependency> |
| 33 | <groupId>org.apache.maven.plugin-tools</groupId> |
| 34 | <artifactId>maven-plugin-annotations</artifactId> |
| 35 | <version>3.4</version> |
| 36 | <scope>provided</scope> |
| 37 | </dependency> |
| 38 | <dependency> |
| 39 | <groupId>org.apache.felix</groupId> |
| 40 | <artifactId>maven-scr-plugin</artifactId> |
Bharat saraswal | 2f00b4b | 2016-03-04 20:08:09 +0530 | [diff] [blame] | 41 | <version>1.21.0</version> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 42 | <scope>compile</scope> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>org.apache.maven</groupId> |
| 46 | <artifactId>maven-artifact</artifactId> |
Bharat saraswal | 2f00b4b | 2016-03-04 20:08:09 +0530 | [diff] [blame] | 47 | <version>3.3.9</version> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.apache.maven</groupId> |
| 51 | <artifactId>maven-project</artifactId> |
Bharat saraswal | 2f00b4b | 2016-03-04 20:08:09 +0530 | [diff] [blame] | 52 | <version>3.0-alpha-2</version> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>org.apache.maven.plugin-testing</groupId> |
| 56 | <artifactId>maven-plugin-testing-harness</artifactId> |
Bharat saraswal | 870c56f | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 57 | <version>3.3.0</version> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 58 | <scope>test</scope> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>org.apache.maven</groupId> |
| 62 | <artifactId>maven-model</artifactId> |
Bharat saraswal | 2f00b4b | 2016-03-04 20:08:09 +0530 | [diff] [blame] | 63 | <version>3.3.9</version> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 64 | </dependency> |
| 65 | <dependency> |
| 66 | <groupId>org.apache.maven</groupId> |
| 67 | <artifactId>maven-compat</artifactId> |
Bharat saraswal | 2f00b4b | 2016-03-04 20:08:09 +0530 | [diff] [blame] | 68 | <version>3.3.9</version> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 69 | <scope>test</scope> |
| 70 | </dependency> |
Bharat saraswal | 870c56f | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 71 | |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 72 | <dependency> |
Bharat saraswal | 870c56f | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 73 | <groupId>org.apache.maven.plugins</groupId> |
| 74 | <artifactId>maven-surefire-plugin</artifactId> |
| 75 | <version>2.19.1</version> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 76 | </dependency> |
Bharat saraswal | 870c56f | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 77 | |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 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> |
Bharat saraswal | 870c56f | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 93 | <version>2.2</version> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 94 | </dependency> |
Bharat saraswal | 870c56f | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 95 | |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 96 | <dependency> |
Bharat saraswal | 870c56f | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 97 | <groupId>org.hamcrest</groupId> |
| 98 | <artifactId>hamcrest-all</artifactId> |
| 99 | <version>1.3</version> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 100 | </dependency> |
Bharat saraswal | 870c56f | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 101 | |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 102 | <dependency> |
| 103 | <groupId>org.onosproject</groupId> |
| 104 | <artifactId>onlab-junit</artifactId> |
Madan Jampani | 2369642 | 2016-03-09 14:02:04 -0800 | [diff] [blame^] | 105 | <version>1.5.0-SNAPSHOT</version> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 106 | <scope>test</scope> |
| 107 | </dependency> |
| 108 | <dependency> |
| 109 | <groupId>org.antlr</groupId> |
| 110 | <artifactId>antlr4-runtime</artifactId> |
| 111 | <version>4.5</version> |
| 112 | </dependency> |
| 113 | <dependency> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 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> |
| 136 | <outputDirectory>target/generated-sources/org/onosproject/yangutils/parser/antlrgencode</outputDirectory> |
Gaurav Agrawal | 925f563 | 2016-02-18 20:50:36 +0530 | [diff] [blame] | 137 | <visitor>false</visitor> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 138 | <listener>true</listener> |
| 139 | </configuration> |
| 140 | </plugin> |
| 141 | <plugin> |
Gaurav Agrawal | 925f563 | 2016-02-18 20:50:36 +0530 | [diff] [blame] | 142 | <artifactId>maven-clean-plugin</artifactId> |
| 143 | <version>3.0.0</version> |
| 144 | <executions> |
| 145 | <execution> |
| 146 | <id>Deleting auto-generated listener interfaces</id> |
| 147 | <phase>generate-sources</phase> |
| 148 | <goals> |
| 149 | <goal>clean</goal> |
| 150 | </goals> |
| 151 | </execution> |
| 152 | </executions> |
| 153 | <configuration> |
| 154 | <excludeDefaultDirectories>true</excludeDefaultDirectories> |
| 155 | <filesets> |
| 156 | <fileset> |
| 157 | <directory>target</directory> |
| 158 | <followSymlinks>false</followSymlinks> |
| 159 | <useDefaultExcludes>true</useDefaultExcludes> |
| 160 | <excludes> |
| 161 | <exclude>**/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYangLexer.java</exclude> |
| 162 | <exclude>**/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYang.tokens</exclude> |
| 163 | <exclude>**/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYangParser.java</exclude> |
| 164 | <exclude>**/generated-sources/org/onosproject/yangutils/parser/antlrgencode/GeneratedYangLexer.tokens</exclude> |
| 165 | <exclude>**/generated-sources/org/onosproject/yangutils/parser/antlrgencode/YangLexer.java</exclude> |
| 166 | <exclude>**/generated-sources/org/onosproject/yangutils/parser/antlrgencode/YangLexer.tokens</exclude> |
| 167 | </excludes> |
| 168 | </fileset> |
| 169 | </filesets> |
| 170 | <verbose>true</verbose> |
| 171 | </configuration> |
| 172 | </plugin> |
| 173 | <plugin> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 174 | <groupId>org.codehaus.mojo</groupId> |
| 175 | <artifactId>build-helper-maven-plugin</artifactId> |
| 176 | <version>1.10</version> |
| 177 | <executions> |
| 178 | <execution> |
| 179 | <id>add-source</id> |
| 180 | <phase>generate-sources</phase> |
| 181 | <goals> |
| 182 | <goal>add-source</goal> |
| 183 | </goals> |
| 184 | <configuration> |
| 185 | <sources> |
| 186 | <source>target/generated-sources/org/onosproject/yangutils/parser/antlrgencode</source> |
| 187 | </sources> |
| 188 | </configuration> |
| 189 | </execution> |
| 190 | </executions> |
| 191 | </plugin> |
| 192 | <plugin> |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 193 | <groupId>org.apache.felix</groupId> |
| 194 | <artifactId>maven-bundle-plugin</artifactId> |
| 195 | <extensions>true</extensions> |
| 196 | <configuration> |
| 197 | <instructions> |
| 198 | <Export-Package> |
| 199 | org.onosproject.yangutils.parser.* |
| 200 | </Export-Package> |
| 201 | </instructions> |
| 202 | </configuration> |
| 203 | </plugin> |
| 204 | <plugin> |
| 205 | <groupId>org.apache.maven.plugins</groupId> |
| 206 | <artifactId>maven-plugin-plugin</artifactId> |
| 207 | <version>3.4</version> |
| 208 | <configuration> |
| 209 | <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> |
| 210 | </configuration> |
| 211 | <executions> |
| 212 | <execution> |
| 213 | <phase>generate-sources</phase> |
| 214 | <goals> |
| 215 | <goal>descriptor</goal> |
| 216 | </goals> |
| 217 | </execution> |
| 218 | </executions> |
| 219 | </plugin> |
| 220 | </plugins> |
| 221 | </build> |
Bharat saraswal | 870c56f | 2016-02-20 21:57:16 +0530 | [diff] [blame] | 222 | |
Vinod Kumar S | 7a004de | 2016-02-05 16:15:09 +0530 | [diff] [blame] | 223 | </project> |