Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Brian O'Connor | a09fe5b | 2017-08-03 21:12:30 -0700 | [diff] [blame] | 3 | ~ Copyright 2016-present Open Networking Foundation |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 4 | ~ |
| 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ~ you may not use this file except in compliance with the License. |
| 7 | ~ You may obtain a copy of the License at |
| 8 | ~ |
| 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 11 | ~ Unless required by applicable law or agreed to in writing, software |
| 12 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ~ See the License for the specific language governing permissions and |
| 15 | ~ limitations under the License. |
| 16 | --> |
| 17 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 18 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 19 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 20 | <modelVersion>4.0.0</modelVersion> |
| 21 | |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 22 | <parent> |
| 23 | <groupId>org.onosproject</groupId> |
| 24 | <artifactId>onos-base</artifactId> |
| 25 | <version>1</version> |
| 26 | <relativePath>../tools/build/pom.xml</relativePath> |
| 27 | </parent> |
| 28 | |
| 29 | <groupId>org.onosproject</groupId> |
| 30 | <artifactId>onos-dependencies</artifactId> |
| 31 | <packaging>pom</packaging> |
Ray Milkey | bca9049 | 2018-04-13 12:47:31 -0700 | [diff] [blame] | 32 | <version>1.14.0-SNAPSHOT</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 33 | |
| 34 | <name>${project.artifactId}</name> |
| 35 | <description>Open Network Operating System shared dependencies</description> |
| 36 | |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 37 | <prerequisites> |
| 38 | <maven>3.0.5</maven> |
| 39 | </prerequisites> |
| 40 | |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 41 | <properties> |
| 42 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Yuta HIGUCHI | 161e4d3 | 2018-04-26 01:24:51 +0000 | [diff] [blame] | 43 | <onos-build-conf.version>1.14.0-SNAPSHOT</onos-build-conf.version> |
Yuta HIGUCHI | dc86de7 | 2017-11-08 20:43:27 -0800 | [diff] [blame] | 44 | <netty4.version>4.1.8.Final</netty4.version> |
Ray Milkey | 0b7682f | 2018-04-12 13:26:38 -0700 | [diff] [blame] | 45 | <openflowj.version>3.2.1.onos</openflowj.version> |
Ray Milkey | 0753ee7 | 2018-04-30 10:36:41 -0700 | [diff] [blame] | 46 | <onos-maven-plugin.version>1.12</onos-maven-plugin.version> |
Yuta HIGUCHI | 57ba38e | 2018-05-15 15:30:07 -0700 | [diff] [blame] | 47 | <onos-yang-tools.version>2.4.7</onos-yang-tools.version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 48 | <osgi.version>5.0.0</osgi.version> |
Jon Hall | b84df5d | 2017-01-31 11:19:48 -0800 | [diff] [blame] | 49 | <karaf.version>3.0.8</karaf.version> |
Jian Li | 5d505f24 | 2018-02-24 01:45:31 +0900 | [diff] [blame] | 50 | <jersey.version>2.26</jersey.version> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 51 | <jetty.version>9.2.21.v20170120</jetty.version> |
Ray Milkey | 86ee5e8 | 2018-04-02 15:33:07 -0700 | [diff] [blame] | 52 | <jackson.version>2.9.5</jackson.version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 53 | <slf4j.version>1.7.21</slf4j.version> |
Yuta HIGUCHI | 16b6efd | 2017-05-23 11:28:38 -0700 | [diff] [blame] | 54 | <guava.version>22.0</guava.version> |
Yuta HIGUCHI | 6520198 | 2017-08-21 11:12:19 -0700 | [diff] [blame] | 55 | <commons.io.version>2.6</commons.io.version> |
Yuta HIGUCHI | 923a778 | 2017-09-05 13:04:47 -0700 | [diff] [blame] | 56 | <bouncycastle.version>1.58</bouncycastle.version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 57 | <!-- TODO argLine was originally added maven-surfire-plugin configuration |
| 58 | to fix locale errors for non-US developers. However, it breaks |
| 59 | SonarQube's test coverage, so moving here for now. --> |
| 60 | <argLine>-Duser.language=en -Duser.region=US</argLine> |
Carmelo Cascone | b1936bd | 2017-12-12 14:42:27 -0800 | [diff] [blame] | 61 | <grpccore.version>1.3.1</grpccore.version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 62 | </properties> |
| 63 | |
| 64 | <dependencyManagement> |
| 65 | <dependencies> |
| 66 | <dependency> |
| 67 | <groupId>junit</groupId> |
| 68 | <artifactId>junit</artifactId> |
| 69 | <version>4.12</version> |
| 70 | <scope>test</scope> |
| 71 | </dependency> |
| 72 | |
| 73 | <dependency> |
| 74 | <groupId>org.hamcrest</groupId> |
| 75 | <artifactId>hamcrest-core</artifactId> |
| 76 | <version>1.3</version> |
| 77 | <scope>test</scope> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>org.hamcrest</groupId> |
| 81 | <artifactId>hamcrest-library</artifactId> |
| 82 | <version>1.3</version> |
| 83 | <scope>test</scope> |
| 84 | </dependency> |
Ray Milkey | ec253f8 | 2017-09-20 16:29:19 +0900 | [diff] [blame] | 85 | <dependency> |
| 86 | <groupId>com.spotify</groupId> |
| 87 | <artifactId>hamcrest-optional</artifactId> |
| 88 | <version>1.1.0</version> |
| 89 | <scope>test</scope> |
| 90 | </dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 91 | |
| 92 | <dependency> |
| 93 | <groupId>org.slf4j</groupId> |
| 94 | <artifactId>slf4j-api</artifactId> |
| 95 | <version>${slf4j.version}</version> |
| 96 | <scope>provided</scope> |
| 97 | </dependency> |
| 98 | |
| 99 | <dependency> |
| 100 | <groupId>org.slf4j</groupId> |
| 101 | <artifactId>slf4j-core</artifactId> |
| 102 | <version>${slf4j.version}</version> |
| 103 | <scope>test</scope> |
| 104 | </dependency> |
| 105 | |
| 106 | <dependency> |
| 107 | <groupId>org.slf4j</groupId> |
| 108 | <artifactId>slf4j-jdk14</artifactId> |
| 109 | <version>${slf4j.version}</version> |
| 110 | <scope>test</scope> |
| 111 | </dependency> |
| 112 | |
| 113 | <dependency> |
| 114 | <groupId>com.google.guava</groupId> |
| 115 | <artifactId>guava</artifactId> |
| 116 | <version>${guava.version}</version> |
| 117 | </dependency> |
| 118 | |
| 119 | <dependency> |
| 120 | <groupId>com.google.guava</groupId> |
| 121 | <artifactId>guava-testlib</artifactId> |
| 122 | <version>${guava.version}</version> |
| 123 | <scope>test</scope> |
| 124 | </dependency> |
| 125 | |
| 126 | <dependency> |
| 127 | <groupId>com.googlecode.concurrent-trees</groupId> |
| 128 | <artifactId>concurrent-trees</artifactId> |
Yuta HIGUCHI | 6520198 | 2017-08-21 11:12:19 -0700 | [diff] [blame] | 129 | <version>2.6.1</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 130 | </dependency> |
| 131 | |
| 132 | <dependency> |
Yuta HIGUCHI | 4b662e1 | 2017-08-14 17:34:42 -0700 | [diff] [blame] | 133 | <groupId>commons-collections</groupId> |
| 134 | <artifactId>commons-collections</artifactId> |
| 135 | <version>3.2.2</version> |
| 136 | </dependency> |
| 137 | |
| 138 | <dependency> |
| 139 | <groupId>commons-configuration</groupId> |
| 140 | <artifactId>commons-configuration</artifactId> |
| 141 | <version>1.10</version> |
| 142 | </dependency> |
| 143 | |
| 144 | <dependency> |
| 145 | <groupId>commons-io</groupId> |
| 146 | <artifactId>commons-io</artifactId> |
| 147 | <version>2.4</version> |
| 148 | </dependency> |
| 149 | |
| 150 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 151 | <groupId>commons-lang</groupId> |
| 152 | <artifactId>commons-lang</artifactId> |
| 153 | <version>2.6</version> |
| 154 | </dependency> |
| 155 | |
| 156 | <dependency> |
| 157 | <groupId>org.apache.commons</groupId> |
| 158 | <artifactId>commons-lang3</artifactId> |
Yuta HIGUCHI | 6520198 | 2017-08-21 11:12:19 -0700 | [diff] [blame] | 159 | <version>3.6</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 160 | </dependency> |
| 161 | |
| 162 | <dependency> |
Yuta HIGUCHI | 4b662e1 | 2017-08-14 17:34:42 -0700 | [diff] [blame] | 163 | <groupId>commons-logging</groupId> |
| 164 | <artifactId>commons-logging</artifactId> |
| 165 | <version>1.2</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 166 | </dependency> |
| 167 | |
| 168 | <dependency> |
Yuta HIGUCHI | 4b662e1 | 2017-08-14 17:34:42 -0700 | [diff] [blame] | 169 | <groupId>org.apache.commons</groupId> |
| 170 | <artifactId>commons-math3</artifactId> |
| 171 | <version>3.6.1</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 172 | </dependency> |
| 173 | |
| 174 | <dependency> |
| 175 | <groupId>commons-pool</groupId> |
| 176 | <artifactId>commons-pool</artifactId> |
| 177 | <version>1.6</version> |
| 178 | </dependency> |
| 179 | |
| 180 | <dependency> |
Yuta HIGUCHI | 825401e | 2018-02-27 13:23:25 -0800 | [diff] [blame] | 181 | <groupId>org.apache.commons</groupId> |
| 182 | <artifactId>commons-text</artifactId> |
| 183 | <version>1.2</version> |
| 184 | </dependency> |
| 185 | |
| 186 | <dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 187 | <groupId>io.dropwizard.metrics</groupId> |
| 188 | <artifactId>metrics-core</artifactId> |
| 189 | <version>3.2.2</version> |
| 190 | </dependency> |
| 191 | |
| 192 | <dependency> |
| 193 | <groupId>io.dropwizard.metrics</groupId> |
| 194 | <artifactId>metrics-json</artifactId> |
| 195 | <version>3.2.2</version> |
| 196 | </dependency> |
| 197 | |
| 198 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 199 | <groupId>org.easymock</groupId> |
| 200 | <artifactId>easymock</artifactId> |
| 201 | <version>3.4</version> |
| 202 | <scope>test</scope> |
| 203 | </dependency> |
| 204 | |
Yuta HIGUCHI | 923a778 | 2017-09-05 13:04:47 -0700 | [diff] [blame] | 205 | <dependency> |
| 206 | <groupId>org.apache.sshd</groupId> |
| 207 | <artifactId>sshd-core</artifactId> |
| 208 | <version>1.4.0</version> |
| 209 | </dependency> |
| 210 | |
| 211 | <dependency> |
| 212 | <groupId>org.bouncycastle</groupId> |
| 213 | <artifactId>bcpkix-jdk15on</artifactId> |
| 214 | <version>${bouncycastle.version}</version> |
| 215 | </dependency> |
| 216 | |
| 217 | <dependency> |
| 218 | <groupId>org.bouncycastle</groupId> |
| 219 | <artifactId>bcprov-jdk15on</artifactId> |
| 220 | <version>${bouncycastle.version}</version> |
| 221 | </dependency> |
| 222 | |
| 223 | |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 224 | <!-- Web related --> |
| 225 | <dependency> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 226 | <groupId>javax.servlet</groupId> |
| 227 | <artifactId>javax.servlet-api</artifactId> |
| 228 | <version>3.1.0</version> |
| 229 | <scope>test</scope> |
| 230 | </dependency> |
Yuta HIGUCHI | c2af966 | 2017-12-08 10:34:01 -0800 | [diff] [blame] | 231 | |
| 232 | <dependency> |
| 233 | <groupId>javax.ws.rs</groupId> |
| 234 | <artifactId>javax.ws.rs-api</artifactId> |
| 235 | <version>2.1</version> |
| 236 | </dependency> |
| 237 | |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 238 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 239 | <groupId>org.glassfish.jersey.core</groupId> |
| 240 | <artifactId>jersey-client</artifactId> |
| 241 | <version>${jersey.version}</version> |
| 242 | </dependency> |
fahadnaeemkhan | 02ffa71 | 2017-12-01 19:49:45 -0800 | [diff] [blame] | 243 | |
| 244 | <dependency> |
| 245 | <groupId>org.glassfish.jersey.security</groupId> |
| 246 | <artifactId>oauth2-client</artifactId> |
| 247 | <version>${jersey.version}</version> |
| 248 | </dependency> |
| 249 | |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 250 | <dependency> |
Jian Li | 979f634 | 2018-02-27 21:26:12 +0900 | [diff] [blame] | 251 | <groupId>org.glassfish.jersey.core</groupId> |
| 252 | <artifactId>jersey-common</artifactId> |
| 253 | <version>${jersey.version}</version> |
| 254 | </dependency> |
| 255 | |
| 256 | <dependency> |
| 257 | <groupId>org.glassfish.jersey.inject</groupId> |
| 258 | <artifactId>jersey-hk2</artifactId> |
| 259 | <version>${jersey.version}</version> |
| 260 | </dependency> |
| 261 | |
| 262 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 263 | <groupId>org.glassfish.jersey.containers</groupId> |
| 264 | <artifactId>jersey-container-servlet</artifactId> |
| 265 | <version>${jersey.version}</version> |
| 266 | <scope>provided</scope> |
| 267 | </dependency> |
| 268 | <dependency> |
| 269 | <groupId>org.glassfish.jersey.containers</groupId> |
| 270 | <artifactId>jersey-container-servlet-core</artifactId> |
| 271 | <version>${jersey.version}</version> |
| 272 | <scope>provided</scope> |
| 273 | </dependency> |
| 274 | <dependency> |
| 275 | <groupId>org.glassfish.jersey.media</groupId> |
| 276 | <artifactId>jersey-media-multipart</artifactId> |
| 277 | <version>${jersey.version}</version> |
| 278 | <scope>provided</scope> |
| 279 | </dependency> |
| 280 | <dependency> |
| 281 | <groupId>org.glassfish.jersey.test-framework</groupId> |
| 282 | <artifactId>jersey-test-framework-core</artifactId> |
| 283 | <version>${jersey.version}</version> |
| 284 | <scope>test</scope> |
| 285 | </dependency> |
| 286 | <dependency> |
| 287 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 288 | <artifactId>jersey-test-framework-provider-jetty</artifactId> |
| 289 | <version>${jersey.version}</version> |
| 290 | <scope>test</scope> |
| 291 | </dependency> |
| 292 | <dependency> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 293 | <groupId>org.eclipse.jetty</groupId> |
| 294 | <artifactId>jetty-server</artifactId> |
| 295 | <version>${jetty.version}</version> |
| 296 | <scope>test</scope> |
| 297 | </dependency> |
| 298 | <dependency> |
| 299 | <groupId>org.eclipse.jetty</groupId> |
| 300 | <artifactId>jetty-util</artifactId> |
| 301 | <version>${jetty.version}</version> |
| 302 | </dependency> |
| 303 | <dependency> |
| 304 | <groupId>org.eclipse.jetty</groupId> |
| 305 | <artifactId>jetty-io</artifactId> |
| 306 | <version>${jetty.version}</version> |
| 307 | </dependency> |
| 308 | <dependency> |
| 309 | <groupId>org.eclipse.jetty</groupId> |
| 310 | <artifactId>jetty-http</artifactId> |
| 311 | <version>${jetty.version}</version> |
| 312 | </dependency> |
| 313 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 314 | <groupId>com.fasterxml.jackson.core</groupId> |
| 315 | <artifactId>jackson-databind</artifactId> |
| 316 | <version>${jackson.version}</version> |
| 317 | <scope>provided</scope> |
| 318 | </dependency> |
| 319 | <dependency> |
| 320 | <groupId>com.fasterxml.jackson.core</groupId> |
| 321 | <artifactId>jackson-annotations</artifactId> |
| 322 | <version>${jackson.version}</version> |
| 323 | <scope>provided</scope> |
| 324 | </dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 325 | <dependency> |
| 326 | <groupId>com.fasterxml.jackson.core</groupId> |
| 327 | <artifactId>jackson-core</artifactId> |
| 328 | <version>${jackson.version}</version> |
| 329 | <scope>provided</scope> |
| 330 | </dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 331 | |
| 332 | <!-- OSGi related --> |
| 333 | <dependency> |
| 334 | <groupId>org.osgi</groupId> |
| 335 | <artifactId>org.osgi.core</artifactId> |
| 336 | <version>${osgi.version}</version> |
| 337 | <scope>provided</scope> |
| 338 | </dependency> |
| 339 | <dependency> |
| 340 | <groupId>org.osgi</groupId> |
| 341 | <artifactId>org.osgi.compendium</artifactId> |
| 342 | <version>${osgi.version}</version> |
| 343 | <scope>provided</scope> |
| 344 | </dependency> |
| 345 | <dependency> |
| 346 | <groupId>org.apache.felix</groupId> |
| 347 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 348 | <version>1.9.12</version> |
| 349 | <scope>provided</scope> |
| 350 | </dependency> |
| 351 | <dependency> |
| 352 | <groupId>org.apache.felix</groupId> |
| 353 | <artifactId>org.apache.felix.scr</artifactId> |
| 354 | <version>1.8.2</version> |
| 355 | </dependency> |
| 356 | |
| 357 | <dependency> |
| 358 | <groupId>org.apache.karaf.features</groupId> |
| 359 | <artifactId>org.apache.karaf.features.core</artifactId> |
| 360 | <version>${karaf.version}</version> |
| 361 | <scope>provided</scope> |
| 362 | </dependency> |
| 363 | <dependency> |
| 364 | <groupId>org.apache.karaf.system</groupId> |
| 365 | <artifactId>org.apache.karaf.system.core</artifactId> |
| 366 | <version>${karaf.version}</version> |
| 367 | <scope>provided</scope> |
| 368 | </dependency> |
| 369 | <dependency> |
| 370 | <groupId>org.apache.karaf.shell</groupId> |
| 371 | <artifactId>org.apache.karaf.shell.console</artifactId> |
| 372 | <version>${karaf.version}</version> |
| 373 | <scope>provided</scope> |
| 374 | </dependency> |
| 375 | |
| 376 | <dependency> |
| 377 | <groupId>org.livetribe.slp</groupId> |
| 378 | <artifactId>livetribe-slp</artifactId> |
| 379 | <version>2.2.1</version> |
| 380 | </dependency> |
| 381 | |
| 382 | <dependency> |
| 383 | <groupId>com.eclipsesource.minimal-json</groupId> |
| 384 | <artifactId>minimal-json</artifactId> |
| 385 | <version>0.9.4</version> |
| 386 | </dependency> |
| 387 | <dependency> |
| 388 | <groupId>com.esotericsoftware</groupId> |
| 389 | <artifactId>kryo</artifactId> |
Yuta HIGUCHI | 6520198 | 2017-08-21 11:12:19 -0700 | [diff] [blame] | 390 | <version>4.0.1</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 391 | </dependency> |
| 392 | <dependency> |
| 393 | <groupId>com.esotericsoftware</groupId> |
| 394 | <artifactId>reflectasm</artifactId> |
Yuta HIGUCHI | 86f142f | 2016-07-09 17:44:09 -0700 | [diff] [blame] | 395 | <version>1.11.3</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 396 | </dependency> |
| 397 | <dependency> |
| 398 | <groupId>org.ow2.asm</groupId> |
| 399 | <artifactId>asm</artifactId> |
Yuta HIGUCHI | 86f142f | 2016-07-09 17:44:09 -0700 | [diff] [blame] | 400 | <version>5.0.4</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 401 | </dependency> |
| 402 | <dependency> |
| 403 | <groupId>com.esotericsoftware</groupId> |
| 404 | <artifactId>minlog</artifactId> |
| 405 | <version>1.3.0</version> |
| 406 | </dependency> |
| 407 | <dependency> |
| 408 | <groupId>org.objenesis</groupId> |
| 409 | <artifactId>objenesis</artifactId> |
Yuta HIGUCHI | 6520198 | 2017-08-21 11:12:19 -0700 | [diff] [blame] | 410 | <version>2.6</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 411 | </dependency> |
| 412 | |
| 413 | <!-- Netty related; for now we require both 3.10.x and 4 --> |
| 414 | <dependency> |
| 415 | <groupId>io.netty</groupId> |
| 416 | <artifactId>netty</artifactId> |
| 417 | <version>3.10.5.Final</version> |
| 418 | </dependency> |
| 419 | |
| 420 | <dependency> |
| 421 | <groupId>io.netty</groupId> |
| 422 | <artifactId>netty-common</artifactId> |
| 423 | <version>${netty4.version}</version> |
| 424 | </dependency> |
| 425 | <dependency> |
| 426 | <groupId>io.netty</groupId> |
| 427 | <artifactId>netty-buffer</artifactId> |
| 428 | <version>${netty4.version}</version> |
| 429 | </dependency> |
| 430 | <dependency> |
| 431 | <groupId>io.netty</groupId> |
| 432 | <artifactId>netty-transport</artifactId> |
| 433 | <version>${netty4.version}</version> |
| 434 | </dependency> |
| 435 | <dependency> |
| 436 | <groupId>io.netty</groupId> |
| 437 | <artifactId>netty-handler</artifactId> |
| 438 | <version>${netty4.version}</version> |
| 439 | </dependency> |
| 440 | |
| 441 | <dependency> |
| 442 | <groupId>io.netty</groupId> |
| 443 | <artifactId>netty-codec</artifactId> |
| 444 | <version>${netty4.version}</version> |
| 445 | </dependency> |
| 446 | |
| 447 | <dependency> |
| 448 | <groupId>io.netty</groupId> |
Yuta HIGUCHI | 6520198 | 2017-08-21 11:12:19 -0700 | [diff] [blame] | 449 | <artifactId>netty-transport-native-unix-common</artifactId> |
| 450 | <version>${netty4.version}</version> |
| 451 | </dependency> |
| 452 | |
| 453 | <dependency> |
| 454 | <groupId>io.netty</groupId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 455 | <artifactId>netty-transport-native-epoll</artifactId> |
| 456 | <version>${netty4.version}</version> |
| 457 | <classifier>${os.detected.classifier}</classifier> |
| 458 | </dependency> |
| 459 | |
| 460 | <dependency> |
Jonathan Hart | 5dc9a4e | 2017-01-13 09:09:57 -0800 | [diff] [blame] | 461 | <groupId>io.netty</groupId> |
| 462 | <artifactId>netty-resolver</artifactId> |
| 463 | <version>${netty4.version}</version> |
| 464 | </dependency> |
| 465 | |
| 466 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 467 | <groupId>com.google.code.findbugs</groupId> |
| 468 | <artifactId>jsr305</artifactId> |
| 469 | <version>3.0.1</version> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 470 | <scope>provided</scope> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 471 | </dependency> |
| 472 | |
| 473 | <dependency> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 474 | <groupId>com.google.errorprone</groupId> |
| 475 | <artifactId>error_prone_annotations</artifactId> |
| 476 | <version>2.0.11</version> |
| 477 | </dependency> |
| 478 | |
| 479 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 480 | <groupId>org.onosproject</groupId> |
| 481 | <artifactId>openflowj</artifactId> |
| 482 | <version>${openflowj.version}</version> |
| 483 | <scope>provided</scope> |
| 484 | </dependency> |
Ray Milkey | 86d1b0a | 2017-05-16 15:15:08 -0700 | [diff] [blame] | 485 | |
| 486 | <dependency> |
| 487 | <groupId>org.onosproject</groupId> |
| 488 | <artifactId>onos-yang-model</artifactId> |
| 489 | <version>${onos-yang-tools.version}</version> |
| 490 | </dependency> |
| 491 | <dependency> |
| 492 | <groupId>org.onosproject</groupId> |
| 493 | <artifactId>onos-yang-runtime</artifactId> |
| 494 | <version>${onos-yang-tools.version}</version> |
| 495 | </dependency> |
Yuta HIGUCHI | b8dae87 | 2017-06-27 20:06:48 -0700 | [diff] [blame] | 496 | <dependency> |
| 497 | <groupId>org.onosproject</groupId> |
| 498 | <artifactId>onos-yang-serializers-xml</artifactId> |
| 499 | <version>${onos-yang-tools.version}</version> |
| 500 | </dependency> |
| 501 | <dependency> |
| 502 | <groupId>org.onosproject</groupId> |
| 503 | <artifactId>onos-yang-serializers-json</artifactId> |
| 504 | <version>${onos-yang-tools.version}</version> |
| 505 | </dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 506 | </dependencies> |
| 507 | </dependencyManagement> |
| 508 | |
| 509 | <dependencies> |
Yuta HIGUCHI | 4b662e1 | 2017-08-14 17:34:42 -0700 | [diff] [blame] | 510 | |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 511 | <!-- COMPILE --> |
Yuta HIGUCHI | 4b662e1 | 2017-08-14 17:34:42 -0700 | [diff] [blame] | 512 | <dependency> |
Yuta HIGUCHI | 4b662e1 | 2017-08-14 17:34:42 -0700 | [diff] [blame] | 513 | <groupId>commons-configuration</groupId> |
| 514 | <artifactId>commons-configuration</artifactId> |
| 515 | </dependency> |
| 516 | |
| 517 | <dependency> |
| 518 | <groupId>commons-logging</groupId> |
| 519 | <artifactId>commons-logging</artifactId> |
| 520 | </dependency> |
| 521 | |
| 522 | <dependency> |
| 523 | <groupId>commons-collections</groupId> |
| 524 | <artifactId>commons-collections</artifactId> |
| 525 | </dependency> |
| 526 | |
| 527 | <dependency> |
| 528 | <groupId>commons-lang</groupId> |
| 529 | <artifactId>commons-lang</artifactId> |
| 530 | </dependency> |
| 531 | |
| 532 | <dependency> |
| 533 | <groupId>org.apache.commons</groupId> |
| 534 | <artifactId>commons-lang3</artifactId> |
| 535 | </dependency> |
| 536 | |
| 537 | <dependency> |
| 538 | <groupId>commons-io</groupId> |
| 539 | <artifactId>commons-io</artifactId> |
| 540 | </dependency> |
| 541 | |
| 542 | <dependency> |
| 543 | <groupId>commons-pool</groupId> |
| 544 | <artifactId>commons-pool</artifactId> |
| 545 | </dependency> |
| 546 | |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 547 | <!-- transitive Kryo dependency. |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 548 | <dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 549 | <groupId>org.objenesis</groupId> |
| 550 | <artifactId>objenesis</artifactId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 551 | </dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 552 | --> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 553 | <dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 554 | <groupId>com.google.guava</groupId> |
| 555 | <artifactId>guava</artifactId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 556 | </dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 557 | |
| 558 | <!-- Fix buck? everyone depending on netty doesn't sound right. |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 559 | <dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 560 | <groupId>io.netty</groupId> |
| 561 | <artifactId>netty</artifactId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 562 | </dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 563 | |
| 564 | <dependency> |
| 565 | <groupId>io.netty</groupId> |
| 566 | <artifactId>netty-buffer</artifactId> |
| 567 | </dependency> |
| 568 | |
| 569 | <dependency> |
| 570 | <groupId>io.netty</groupId> |
| 571 | <artifactId>netty-common</artifactId> |
| 572 | </dependency> |
| 573 | --> |
| 574 | |
| 575 | <dependency> |
| 576 | <groupId>com.eclipsesource.minimal-json</groupId> |
| 577 | <artifactId>minimal-json</artifactId> |
| 578 | </dependency> |
| 579 | |
| 580 | <!-- Fix buck? Kryo and transitive dependency. |
| 581 | <dependency> |
| 582 | <groupId>com.esotericsoftware</groupId> |
| 583 | <artifactId>kryo</artifactId> |
| 584 | </dependency> |
| 585 | |
| 586 | <dependency> |
| 587 | <groupId>com.esotericsoftware</groupId> |
| 588 | <artifactId>reflectasm</artifactId> |
| 589 | </dependency> |
| 590 | |
| 591 | <dependency> |
| 592 | <groupId>org.ow2.asm</groupId> |
| 593 | <artifactId>asm</artifactId> |
| 594 | </dependency> |
| 595 | |
| 596 | <dependency> |
| 597 | <groupId>com.esotericsoftware</groupId> |
| 598 | <artifactId>minlog</artifactId> |
| 599 | </dependency> |
| 600 | --> |
| 601 | <!-- Fix buck? everyone depending on metrics doesn't sound right. |
| 602 | <dependency> |
| 603 | <groupId>io.dropwizard.metrics</groupId> |
| 604 | <artifactId>metrics-core</artifactId> |
| 605 | </dependency> |
| 606 | |
| 607 | <dependency> |
| 608 | <groupId>io.dropwizard.metrics</groupId> |
| 609 | <artifactId>metrics-json</artifactId> |
| 610 | </dependency> |
| 611 | --> |
| 612 | |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 613 | <dependency> |
| 614 | <groupId>org.slf4j</groupId> |
| 615 | <artifactId>slf4j-api</artifactId> |
| 616 | </dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 617 | |
| 618 | <dependency> |
| 619 | <groupId>org.osgi</groupId> |
| 620 | <artifactId>org.osgi.core</artifactId> |
| 621 | </dependency> |
| 622 | |
| 623 | <dependency> |
| 624 | <groupId>org.osgi</groupId> |
| 625 | <artifactId>org.osgi.compendium</artifactId> |
| 626 | </dependency> |
| 627 | |
| 628 | <dependency> |
| 629 | <groupId>org.apache.felix</groupId> |
| 630 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 631 | </dependency> |
| 632 | |
| 633 | <dependency> |
| 634 | <groupId>org.apache.felix</groupId> |
| 635 | <artifactId>org.apache.felix.scr</artifactId> |
| 636 | </dependency> |
| 637 | |
| 638 | <dependency> |
| 639 | <groupId>com.fasterxml.jackson.core</groupId> |
| 640 | <artifactId>jackson-annotations</artifactId> |
| 641 | </dependency> |
| 642 | |
| 643 | <dependency> |
| 644 | <groupId>com.fasterxml.jackson.core</groupId> |
| 645 | <artifactId>jackson-core</artifactId> |
| 646 | </dependency> |
| 647 | |
| 648 | <dependency> |
| 649 | <groupId>com.fasterxml.jackson.core</groupId> |
| 650 | <artifactId>jackson-databind</artifactId> |
| 651 | </dependency> |
| 652 | |
| 653 | <dependency> |
| 654 | <groupId>org.apache.karaf.features</groupId> |
| 655 | <artifactId>org.apache.karaf.features.core</artifactId> |
| 656 | </dependency> |
| 657 | |
| 658 | <dependency> |
| 659 | <groupId>org.apache.karaf.system</groupId> |
| 660 | <artifactId>org.apache.karaf.system.core</artifactId> |
| 661 | </dependency> |
| 662 | |
| 663 | <!-- YANG stuff here? Fix buck?--> |
| 664 | |
| 665 | <!-- TEST --> |
| 666 | <dependency> |
| 667 | <groupId>junit</groupId> |
| 668 | <artifactId>junit</artifactId> |
| 669 | <scope>test</scope> |
| 670 | </dependency> |
| 671 | |
| 672 | <dependency> |
| 673 | <groupId>org.easymock</groupId> |
| 674 | <artifactId>easymock</artifactId> |
| 675 | <scope>test</scope> |
| 676 | </dependency> |
| 677 | |
| 678 | <dependency> |
| 679 | <groupId>org.hamcrest</groupId> |
| 680 | <artifactId>hamcrest-core</artifactId> |
| 681 | <scope>test</scope> |
| 682 | </dependency> |
| 683 | |
| 684 | <dependency> |
| 685 | <groupId>org.hamcrest</groupId> |
| 686 | <artifactId>hamcrest-library</artifactId> |
| 687 | <scope>test</scope> |
| 688 | </dependency> |
| 689 | |
| 690 | <dependency> |
Ray Milkey | ec253f8 | 2017-09-20 16:29:19 +0900 | [diff] [blame] | 691 | <groupId>com.spotify</groupId> |
| 692 | <artifactId>hamcrest-optional</artifactId> |
| 693 | <scope>test</scope> |
| 694 | </dependency> |
| 695 | |
| 696 | <dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 697 | <groupId>com.google.guava</groupId> |
| 698 | <artifactId>guava-testlib</artifactId> |
| 699 | <scope>test</scope> |
| 700 | </dependency> |
| 701 | |
| 702 | <!-- revisit if this is really needed --> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 703 | <dependency> |
| 704 | <groupId>org.slf4j</groupId> |
| 705 | <artifactId>slf4j-jdk14</artifactId> |
| 706 | </dependency> |
| 707 | <!-- TODO sonar-maven-plugin prints the following ERROR many times: |
| 708 | Class not found: javax.annotation.Nullable |
| 709 | The following dependency alleviates this problem, but perhaps |
| 710 | it can be better located in the future. --> |
| 711 | <dependency> |
| 712 | <groupId>com.google.code.findbugs</groupId> |
| 713 | <artifactId>jsr305</artifactId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 714 | </dependency> |
Sean Condon | bf7d39b | 2017-11-04 18:34:53 +0000 | [diff] [blame] | 715 | |
| 716 | <dependency> |
| 717 | <groupId>io.grpc</groupId> |
| 718 | <artifactId>grpc-core</artifactId> |
| 719 | <version>${grpccore.version}</version> |
| 720 | </dependency> |
Yuta HIGUCHI | bcc2ce9 | 2018-03-07 16:42:11 -0800 | [diff] [blame] | 721 | |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 722 | </dependencies> |
| 723 | |
| 724 | <build> |
| 725 | <pluginManagement> |
| 726 | <plugins> |
| 727 | <plugin> |
| 728 | <groupId>org.apache.maven.plugins</groupId> |
| 729 | <artifactId>maven-compiler-plugin</artifactId> |
Yuta HIGUCHI | b6f9adb | 2018-01-26 17:56:17 -0800 | [diff] [blame] | 730 | <version>3.7.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 731 | <configuration> |
| 732 | <source>1.8</source> |
| 733 | <target>1.8</target> |
Yuta HIGUCHI | b6f9adb | 2018-01-26 17:56:17 -0800 | [diff] [blame] | 734 | <compilerArgs> |
| 735 | <compilerArg>-Xpkginfo:always</compilerArg> |
| 736 | </compilerArgs> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 737 | </configuration> |
| 738 | </plugin> |
| 739 | |
| 740 | <plugin> |
| 741 | <groupId>org.apache.maven.plugins</groupId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 742 | <artifactId>maven-clean-plugin</artifactId> |
| 743 | <version>3.1.0</version> |
| 744 | </plugin> |
| 745 | |
| 746 | <plugin> |
| 747 | <groupId>org.apache.maven.plugins</groupId> |
| 748 | <artifactId>maven-deploy-plugin</artifactId> |
| 749 | <version>2.8.2</version> |
| 750 | </plugin> |
| 751 | |
| 752 | <plugin> |
| 753 | <groupId>org.apache.maven.plugins</groupId> |
| 754 | <artifactId>maven-install-plugin</artifactId> |
| 755 | <version>2.5.2</version> |
| 756 | </plugin> |
| 757 | |
| 758 | <plugin> |
| 759 | <groupId>org.apache.maven.plugins</groupId> |
| 760 | <artifactId>maven-site-plugin</artifactId> |
| 761 | <version>3.7.1</version> |
| 762 | </plugin> |
| 763 | |
| 764 | <plugin> |
| 765 | <groupId>org.apache.maven.plugins</groupId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 766 | <artifactId>maven-surefire-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 767 | <version>2.21.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 768 | <configuration> |
| 769 | <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| 770 | <printSummary>true</printSummary> |
| 771 | <excludedGroups>org.onlab.junit.IntegrationTest |
| 772 | </excludedGroups> |
| 773 | <rerunFailingTestsCount>1</rerunFailingTestsCount> |
| 774 | </configuration> |
| 775 | </plugin> |
| 776 | <plugin> |
| 777 | <groupId>org.apache.maven.plugins</groupId> |
| 778 | <artifactId>maven-javadoc-plugin</artifactId> |
Yuta HIGUCHI | b6f9adb | 2018-01-26 17:56:17 -0800 | [diff] [blame] | 779 | <version>3.0.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 780 | <configuration> |
| 781 | <tags> |
| 782 | <tag> |
| 783 | <name>onos.rsModel</name> |
| 784 | <placement>m</placement> |
| 785 | <head>Json model for REST api:</head> |
| 786 | </tag> |
| 787 | </tags> |
| 788 | </configuration> |
| 789 | </plugin> |
| 790 | <plugin> |
| 791 | <groupId>org.apache.maven.plugins</groupId> |
| 792 | <artifactId>maven-jar-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 793 | <version>3.1.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 794 | <configuration> |
| 795 | <skipIfEmpty>true</skipIfEmpty> |
| 796 | </configuration> |
| 797 | <executions> |
| 798 | <execution> |
| 799 | <id>default</id> |
| 800 | <goals> |
| 801 | <goal>test-jar</goal> |
| 802 | </goals> |
| 803 | </execution> |
| 804 | </executions> |
| 805 | </plugin> |
| 806 | |
| 807 | <plugin> |
| 808 | <groupId>org.apache.maven.plugins</groupId> |
| 809 | <artifactId>maven-resources-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 810 | <version>3.1.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 811 | </plugin> |
| 812 | |
| 813 | <plugin> |
| 814 | <groupId>org.apache.felix</groupId> |
| 815 | <artifactId>maven-bundle-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 816 | <version>3.5.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 817 | <extensions>true</extensions> |
| 818 | <configuration> |
| 819 | <niceManifest>true</niceManifest> |
| 820 | </configuration> |
| 821 | </plugin> |
| 822 | |
| 823 | <plugin> |
| 824 | <groupId>org.apache.maven.plugins</groupId> |
| 825 | <artifactId>maven-shade-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 826 | <version>3.1.1</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 827 | </plugin> |
| 828 | |
| 829 | <plugin> |
| 830 | <groupId>org.apache.felix</groupId> |
| 831 | <artifactId>maven-scr-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 832 | <version>1.26.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 833 | <executions> |
| 834 | <execution> |
| 835 | <id>generate-scr-srcdescriptor</id> |
| 836 | <goals> |
| 837 | <goal>scr</goal> |
| 838 | </goals> |
| 839 | </execution> |
| 840 | </executions> |
| 841 | <configuration> |
| 842 | <supportedProjectTypes> |
| 843 | <supportedProjectType>bundle</supportedProjectType> |
| 844 | <supportedProjectType>war</supportedProjectType> |
| 845 | </supportedProjectTypes> |
| 846 | </configuration> |
| 847 | </plugin> |
| 848 | <plugin> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 849 | <groupId>com.github.spotbugs</groupId> |
| 850 | <artifactId>spotbugs-maven-plugin</artifactId> |
| 851 | <version>3.1.3</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 852 | <dependencies> |
| 853 | <dependency> |
| 854 | <groupId>org.onosproject</groupId> |
| 855 | <artifactId>onos-build-conf</artifactId> |
| 856 | <version>${onos-build-conf.version}</version> |
| 857 | </dependency> |
| 858 | </dependencies> |
| 859 | <configuration> |
| 860 | <effort>Max</effort> |
| 861 | <excludeFilterFile>onos/findbugs-suppressions.xml |
| 862 | </excludeFilterFile> |
| 863 | </configuration> |
| 864 | </plugin> |
| 865 | |
| 866 | <!-- This version needs to be updated manually when changes are made to onos-maven-plugin --> |
| 867 | <plugin> |
| 868 | <groupId>org.onosproject</groupId> |
| 869 | <artifactId>onos-maven-plugin</artifactId> |
| 870 | <version>${onos-maven-plugin.version}</version> |
| 871 | <executions> |
| 872 | <execution> |
| 873 | <id>cfg</id> |
| 874 | <phase>generate-resources</phase> |
| 875 | <goals> |
| 876 | <goal>cfg</goal> |
| 877 | </goals> |
| 878 | </execution> |
| 879 | <execution> |
| 880 | <id>swagger</id> |
| 881 | <phase>generate-sources</phase> |
| 882 | <goals> |
| 883 | <goal>swagger</goal> |
| 884 | </goals> |
| 885 | </execution> |
| 886 | <execution> |
| 887 | <id>app</id> |
| 888 | <phase>package</phase> |
| 889 | <goals> |
| 890 | <goal>app</goal> |
| 891 | </goals> |
| 892 | </execution> |
| 893 | </executions> |
| 894 | </plugin> |
Ray Milkey | 86d1b0a | 2017-05-16 15:15:08 -0700 | [diff] [blame] | 895 | |
| 896 | <plugin> |
| 897 | <groupId>org.onosproject</groupId> |
| 898 | <artifactId>onos-yang-compiler-maven-plugin</artifactId> |
| 899 | <version>${onos-yang-tools.version}</version> |
| 900 | <executions> |
| 901 | <execution> |
| 902 | <goals> |
| 903 | <goal>yang2java</goal> |
| 904 | </goals> |
| 905 | </execution> |
| 906 | </executions> |
| 907 | </plugin> |
Yuta HIGUCHI | 488a94c | 2018-01-26 17:24:09 -0800 | [diff] [blame] | 908 | |
| 909 | <plugin> |
| 910 | <groupId>org.apache.karaf.tooling</groupId> |
| 911 | <artifactId>karaf-maven-plugin</artifactId> |
| 912 | <version>${karaf.version}</version> |
| 913 | <extensions>true</extensions> |
| 914 | </plugin> |
| 915 | |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 916 | </plugins> |
| 917 | </pluginManagement> |
| 918 | |
| 919 | <plugins> |
| 920 | <plugin> |
| 921 | <groupId>org.apache.maven.plugins</groupId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 922 | <artifactId>maven-enforcer-plugin</artifactId> |
| 923 | <version>3.0.0-M1</version> |
| 924 | <executions> |
| 925 | <execution> |
| 926 | <id>enforce-maven</id> |
| 927 | <goals> |
| 928 | <goal>enforce</goal> |
| 929 | </goals> |
| 930 | <configuration> |
| 931 | <rules> |
| 932 | <requireMavenVersion> |
| 933 | <version>3.0.5</version> |
| 934 | </requireMavenVersion> |
| 935 | </rules> |
| 936 | </configuration> |
| 937 | </execution> |
| 938 | </executions> |
| 939 | </plugin> |
| 940 | |
| 941 | <plugin> |
| 942 | <groupId>org.apache.maven.plugins</groupId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 943 | <artifactId>maven-jar-plugin</artifactId> |
| 944 | </plugin> |
| 945 | |
| 946 | <plugin> |
| 947 | <groupId>org.apache.maven.plugins</groupId> |
| 948 | <artifactId>maven-checkstyle-plugin</artifactId> |
Yuta HIGUCHI | b6f9adb | 2018-01-26 17:56:17 -0800 | [diff] [blame] | 949 | <version>3.0.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 950 | <dependencies> |
| 951 | <dependency> |
| 952 | <groupId>org.onosproject</groupId> |
| 953 | <artifactId>onos-build-conf</artifactId> |
| 954 | <version>${onos-build-conf.version}</version> |
| 955 | </dependency> |
Ray Milkey | 2d572dd | 2017-04-14 10:01:24 -0700 | [diff] [blame] | 956 | <dependency> |
| 957 | <groupId>com.puppycrawl.tools</groupId> |
| 958 | <artifactId>checkstyle</artifactId> |
Yuta HIGUCHI | e7e71a8 | 2018-05-18 16:36:43 -0700 | [diff] [blame] | 959 | <version>8.10</version> |
Ray Milkey | 2d572dd | 2017-04-14 10:01:24 -0700 | [diff] [blame] | 960 | </dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 961 | </dependencies> |
| 962 | <configuration> |
Ray Milkey | 2d572dd | 2017-04-14 10:01:24 -0700 | [diff] [blame] | 963 | <configLocation>onos/checkstyle-mvn.xml</configLocation> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 964 | <suppressionsLocation>onos/suppressions.xml |
| 965 | </suppressionsLocation> |
Yuta HIGUCHI | 002f394 | 2017-08-18 10:54:26 -0700 | [diff] [blame] | 966 | <headerLocation>onos/onos-java.header</headerLocation> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 967 | <failsOnError>false</failsOnError> |
| 968 | <logViolationsToConsole>true</logViolationsToConsole> |
Yuta HIGUCHI | d919d9b | 2017-06-26 11:10:20 -0700 | [diff] [blame] | 969 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 970 | <includeResources>false</includeResources> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 971 | </configuration> |
| 972 | <executions> |
| 973 | <execution> |
| 974 | <id>validate-checkstyle</id> |
| 975 | <phase>verify</phase> |
| 976 | <goals> |
| 977 | <goal>check</goal> |
| 978 | </goals> |
| 979 | </execution> |
| 980 | </executions> |
| 981 | </plugin> |
| 982 | |
| 983 | <plugin> |
| 984 | <groupId>org.apache.maven.plugins</groupId> |
| 985 | <artifactId>maven-pmd-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 986 | <version>3.9.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 987 | <configuration> |
| 988 | <excludes> |
| 989 | </excludes> |
| 990 | <rulesets> |
| 991 | <ruleset>onos/pmd.xml</ruleset> |
| 992 | </rulesets> |
| 993 | </configuration> |
| 994 | <executions> |
| 995 | <execution> |
| 996 | <id>validate-pmd</id> |
| 997 | <phase>verify</phase> |
| 998 | <goals> |
| 999 | <!-- Uncomment this goal to make the build fail on pmd errors --> |
| 1000 | <!--<goal>check</goal>--> |
| 1001 | </goals> |
| 1002 | </execution> |
| 1003 | </executions> |
| 1004 | </plugin> |
| 1005 | |
| 1006 | <plugin> |
| 1007 | <groupId>org.jacoco</groupId> |
| 1008 | <artifactId>jacoco-maven-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 1009 | <version>0.8.1</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 1010 | <executions> |
| 1011 | <execution> |
| 1012 | <id>default-prepare-agent</id> |
| 1013 | <goals> |
| 1014 | <goal>prepare-agent</goal> |
| 1015 | </goals> |
| 1016 | </execution> |
| 1017 | <execution> |
| 1018 | <id>default-report</id> |
| 1019 | <phase>prepare-package</phase> |
| 1020 | <goals> |
| 1021 | <goal>report</goal> |
| 1022 | </goals> |
| 1023 | </execution> |
| 1024 | </executions> |
| 1025 | </plugin> |
| 1026 | </plugins> |
| 1027 | </build> |
| 1028 | |
| 1029 | <reporting> |
| 1030 | <plugins> |
| 1031 | <plugin> |
| 1032 | <groupId>org.apache.maven.plugins</groupId> |
| 1033 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 1034 | <configuration> |
| 1035 | <configLocation>onos/checkstyle.xml</configLocation> |
| 1036 | </configuration> |
| 1037 | </plugin> |
| 1038 | |
| 1039 | <plugin> |
| 1040 | <groupId>org.apache.maven.plugins</groupId> |
| 1041 | <artifactId>maven-pmd-plugin</artifactId> |
| 1042 | <configuration> |
| 1043 | <excludes> |
| 1044 | </excludes> |
| 1045 | <rulesets> |
| 1046 | <ruleset>onos/pmd.xml</ruleset> |
| 1047 | </rulesets> |
| 1048 | </configuration> |
| 1049 | </plugin> |
| 1050 | </plugins> |
| 1051 | </reporting> |
| 1052 | </project> |