Vinod Kumar S | 212fcdd | 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> |
| 8 | <version>1.5.0-SNAPSHOT</version> |
| 9 | <relativePath>../pom.xml</relativePath> |
| 10 | </parent> |
| 11 | |
| 12 | <artifactId>yangutils-maven-plugin</artifactId> |
Ray Milkey | 22e9f78 | 2016-02-09 15:11:18 -0800 | [diff] [blame] | 13 | <version>1.0.0-SNAPSHOT</version> |
Vinod Kumar S | 212fcdd | 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> |
| 25 | <version>3.2.5</version> |
| 26 | </dependency> |
| 27 | <dependency> |
| 28 | <groupId>org.apache.maven</groupId> |
| 29 | <artifactId>maven-plugin-api</artifactId> |
| 30 | <version>3.2.5</version> |
| 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> |
| 41 | <version>1.9.0</version> |
| 42 | <scope>compile</scope> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>org.apache.maven</groupId> |
| 46 | <artifactId>maven-artifact</artifactId> |
| 47 | <version>2.0.8</version> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.apache.maven</groupId> |
| 51 | <artifactId>maven-project</artifactId> |
| 52 | <version>2.0.8</version> |
| 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>org.assertj</groupId> |
| 56 | <artifactId>assertj-core</artifactId> |
| 57 | <version>1.7.0</version> |
| 58 | <scope>test</scope> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>org.apache.maven.plugin-testing</groupId> |
| 62 | <artifactId>maven-plugin-testing-harness</artifactId> |
| 63 | <version>2.1</version> |
| 64 | <scope>test</scope> |
| 65 | </dependency> |
| 66 | <dependency> |
| 67 | <groupId>org.apache.maven</groupId> |
| 68 | <artifactId>maven-model</artifactId> |
| 69 | <version>3.2.5</version> |
| 70 | </dependency> |
| 71 | <dependency> |
| 72 | <groupId>org.apache.maven</groupId> |
| 73 | <artifactId>maven-compat</artifactId> |
| 74 | <version>3.2.5</version> |
| 75 | <scope>test</scope> |
| 76 | </dependency> |
| 77 | <dependency> |
| 78 | <groupId>org.mockito</groupId> |
| 79 | <artifactId>mockito-core</artifactId> |
| 80 | <version>1.9.5</version> |
| 81 | <scope>test</scope> |
| 82 | </dependency> |
| 83 | <dependency> |
| 84 | <groupId>junit</groupId> |
| 85 | <artifactId>junit</artifactId> |
| 86 | <version>4.12</version> |
| 87 | <scope>test</scope> |
| 88 | </dependency> |
| 89 | <dependency> |
| 90 | <groupId>org.sonatype.plexus</groupId> |
| 91 | <artifactId>plexus-build-api</artifactId> |
| 92 | <version>0.0.7</version> |
| 93 | <scope>provided</scope> |
| 94 | </dependency> |
| 95 | <dependency> |
| 96 | <groupId>commons-io</groupId> |
| 97 | <artifactId>commons-io</artifactId> |
| 98 | <version>1.3.2</version> |
| 99 | </dependency> |
| 100 | <dependency> |
| 101 | <groupId>commons-configuration</groupId> |
| 102 | <artifactId>commons-configuration</artifactId> |
| 103 | <version>1.10</version> |
| 104 | </dependency> |
| 105 | <dependency> |
| 106 | <groupId>org.onosproject</groupId> |
| 107 | <artifactId>onlab-junit</artifactId> |
| 108 | <version>1.5.0-SNAPSHOT</version> |
| 109 | <scope>test</scope> |
| 110 | </dependency> |
| 111 | <dependency> |
| 112 | <groupId>org.antlr</groupId> |
| 113 | <artifactId>antlr4-runtime</artifactId> |
| 114 | <version>4.5</version> |
| 115 | </dependency> |
| 116 | <dependency> |
| 117 | <groupId>org.apache.maven.plugins</groupId> |
| 118 | <artifactId>maven-surefire-plugin</artifactId> |
| 119 | <version>2.19.1</version> |
| 120 | </dependency> |
| 121 | <dependency> |
| 122 | <groupId>org.sonatype.aether</groupId> |
| 123 | <artifactId>aether-api</artifactId> |
| 124 | <version>1.8</version> |
| 125 | </dependency> |
| 126 | <dependency> |
| 127 | <groupId>org.sonatype.aether</groupId> |
| 128 | <artifactId>aether-util</artifactId> |
| 129 | <version>1.8</version> |
| 130 | </dependency> |
| 131 | <dependency> |
| 132 | <groupId>org.codehaus.mojo</groupId> |
| 133 | <artifactId>build-helper-maven-plugin</artifactId> |
| 134 | <version>1.10</version> |
| 135 | </dependency> |
| 136 | </dependencies> |
| 137 | |
| 138 | <build> |
| 139 | <plugins> |
| 140 | <plugin> |
| 141 | <groupId>org.antlr</groupId> |
| 142 | <artifactId>antlr4-maven-plugin</artifactId> |
| 143 | <version>4.5</version> |
| 144 | <executions> |
| 145 | <execution> |
| 146 | <phase>generate-sources</phase> |
| 147 | <goals> |
| 148 | <goal>antlr4</goal> |
| 149 | </goals> |
| 150 | </execution> |
| 151 | </executions> |
| 152 | <configuration> |
| 153 | <sourceDirectory>src/main/resources</sourceDirectory> |
| 154 | <outputDirectory>target/generated-sources/org/onosproject/yangutils/parser/antlrgencode</outputDirectory> |
| 155 | <visitor>true</visitor> |
| 156 | <listener>true</listener> |
| 157 | </configuration> |
| 158 | </plugin> |
| 159 | <plugin> |
| 160 | <groupId>org.codehaus.mojo</groupId> |
| 161 | <artifactId>build-helper-maven-plugin</artifactId> |
| 162 | <version>1.10</version> |
| 163 | <executions> |
| 164 | <execution> |
| 165 | <id>add-source</id> |
| 166 | <phase>generate-sources</phase> |
| 167 | <goals> |
| 168 | <goal>add-source</goal> |
| 169 | </goals> |
| 170 | <configuration> |
| 171 | <sources> |
| 172 | <source>target/generated-sources/org/onosproject/yangutils/parser/antlrgencode</source> |
| 173 | </sources> |
| 174 | </configuration> |
| 175 | </execution> |
| 176 | </executions> |
| 177 | </plugin> |
| 178 | <plugin> |
| 179 | <groupId>org.apache.maven.plugins</groupId> |
| 180 | <artifactId>maven-javadoc-plugin</artifactId> |
| 181 | <version>2.10.3</version> |
| 182 | <configuration> |
| 183 | <excludePackageNames> |
| 184 | *.org.onosproject.yangutils.parser.antlrgencode |
| 185 | </excludePackageNames> |
| 186 | </configuration> |
| 187 | </plugin> |
| 188 | <plugin> |
| 189 | <groupId>org.apache.felix</groupId> |
| 190 | <artifactId>maven-bundle-plugin</artifactId> |
| 191 | <extensions>true</extensions> |
| 192 | <configuration> |
| 193 | <instructions> |
| 194 | <Export-Package> |
| 195 | org.onosproject.yangutils.parser.* |
| 196 | </Export-Package> |
| 197 | </instructions> |
| 198 | </configuration> |
| 199 | </plugin> |
| 200 | <plugin> |
| 201 | <groupId>org.apache.maven.plugins</groupId> |
| 202 | <artifactId>maven-plugin-plugin</artifactId> |
| 203 | <version>3.4</version> |
| 204 | <configuration> |
| 205 | <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> |
| 206 | </configuration> |
| 207 | <executions> |
| 208 | <execution> |
| 209 | <phase>generate-sources</phase> |
| 210 | <goals> |
| 211 | <goal>descriptor</goal> |
| 212 | </goals> |
| 213 | </execution> |
| 214 | </executions> |
| 215 | </plugin> |
| 216 | </plugins> |
| 217 | </build> |
| 218 | </project> |