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 | 9d59694 | 2018-05-23 14:09:05 -0700 | [diff] [blame] | 56 | <bouncycastle.version>1.59</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> |
Yuta HIGUCHI | 08392f4 | 2018-06-07 17:15:46 -0700 | [diff] [blame] | 506 | <dependency> |
| 507 | <groupId>io.grpc</groupId> |
| 508 | <artifactId>grpc-core</artifactId> |
| 509 | <version>${grpccore.version}</version> |
| 510 | </dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 511 | </dependencies> |
| 512 | </dependencyManagement> |
| 513 | |
| 514 | <dependencies> |
Yuta HIGUCHI | 4b662e1 | 2017-08-14 17:34:42 -0700 | [diff] [blame] | 515 | |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 516 | <!-- COMPILE --> |
Yuta HIGUCHI | 4b662e1 | 2017-08-14 17:34:42 -0700 | [diff] [blame] | 517 | <dependency> |
Yuta HIGUCHI | 4b662e1 | 2017-08-14 17:34:42 -0700 | [diff] [blame] | 518 | <groupId>commons-configuration</groupId> |
| 519 | <artifactId>commons-configuration</artifactId> |
| 520 | </dependency> |
| 521 | |
| 522 | <dependency> |
| 523 | <groupId>commons-logging</groupId> |
| 524 | <artifactId>commons-logging</artifactId> |
| 525 | </dependency> |
| 526 | |
| 527 | <dependency> |
| 528 | <groupId>commons-collections</groupId> |
| 529 | <artifactId>commons-collections</artifactId> |
| 530 | </dependency> |
| 531 | |
| 532 | <dependency> |
| 533 | <groupId>commons-lang</groupId> |
| 534 | <artifactId>commons-lang</artifactId> |
| 535 | </dependency> |
| 536 | |
| 537 | <dependency> |
| 538 | <groupId>org.apache.commons</groupId> |
| 539 | <artifactId>commons-lang3</artifactId> |
| 540 | </dependency> |
| 541 | |
| 542 | <dependency> |
| 543 | <groupId>commons-io</groupId> |
| 544 | <artifactId>commons-io</artifactId> |
| 545 | </dependency> |
| 546 | |
| 547 | <dependency> |
| 548 | <groupId>commons-pool</groupId> |
| 549 | <artifactId>commons-pool</artifactId> |
| 550 | </dependency> |
| 551 | |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 552 | <!-- transitive Kryo dependency. |
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>org.objenesis</groupId> |
| 555 | <artifactId>objenesis</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 | --> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 558 | <dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 559 | <groupId>com.google.guava</groupId> |
| 560 | <artifactId>guava</artifactId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 561 | </dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 562 | |
| 563 | <!-- Fix buck? everyone depending on netty doesn't sound right. |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 564 | <dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 565 | <groupId>io.netty</groupId> |
| 566 | <artifactId>netty</artifactId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 567 | </dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 568 | |
| 569 | <dependency> |
| 570 | <groupId>io.netty</groupId> |
| 571 | <artifactId>netty-buffer</artifactId> |
| 572 | </dependency> |
| 573 | |
| 574 | <dependency> |
| 575 | <groupId>io.netty</groupId> |
| 576 | <artifactId>netty-common</artifactId> |
| 577 | </dependency> |
| 578 | --> |
| 579 | |
| 580 | <dependency> |
| 581 | <groupId>com.eclipsesource.minimal-json</groupId> |
| 582 | <artifactId>minimal-json</artifactId> |
| 583 | </dependency> |
| 584 | |
| 585 | <!-- Fix buck? Kryo and transitive dependency. |
| 586 | <dependency> |
| 587 | <groupId>com.esotericsoftware</groupId> |
| 588 | <artifactId>kryo</artifactId> |
| 589 | </dependency> |
| 590 | |
| 591 | <dependency> |
| 592 | <groupId>com.esotericsoftware</groupId> |
| 593 | <artifactId>reflectasm</artifactId> |
| 594 | </dependency> |
| 595 | |
| 596 | <dependency> |
| 597 | <groupId>org.ow2.asm</groupId> |
| 598 | <artifactId>asm</artifactId> |
| 599 | </dependency> |
| 600 | |
| 601 | <dependency> |
| 602 | <groupId>com.esotericsoftware</groupId> |
| 603 | <artifactId>minlog</artifactId> |
| 604 | </dependency> |
| 605 | --> |
| 606 | <!-- Fix buck? everyone depending on metrics doesn't sound right. |
| 607 | <dependency> |
| 608 | <groupId>io.dropwizard.metrics</groupId> |
| 609 | <artifactId>metrics-core</artifactId> |
| 610 | </dependency> |
| 611 | |
| 612 | <dependency> |
| 613 | <groupId>io.dropwizard.metrics</groupId> |
| 614 | <artifactId>metrics-json</artifactId> |
| 615 | </dependency> |
| 616 | --> |
| 617 | |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 618 | <dependency> |
| 619 | <groupId>org.slf4j</groupId> |
| 620 | <artifactId>slf4j-api</artifactId> |
| 621 | </dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 622 | |
| 623 | <dependency> |
| 624 | <groupId>org.osgi</groupId> |
| 625 | <artifactId>org.osgi.core</artifactId> |
| 626 | </dependency> |
| 627 | |
| 628 | <dependency> |
| 629 | <groupId>org.osgi</groupId> |
| 630 | <artifactId>org.osgi.compendium</artifactId> |
| 631 | </dependency> |
| 632 | |
| 633 | <dependency> |
| 634 | <groupId>org.apache.felix</groupId> |
| 635 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 636 | </dependency> |
| 637 | |
| 638 | <dependency> |
| 639 | <groupId>org.apache.felix</groupId> |
| 640 | <artifactId>org.apache.felix.scr</artifactId> |
| 641 | </dependency> |
| 642 | |
| 643 | <dependency> |
| 644 | <groupId>com.fasterxml.jackson.core</groupId> |
| 645 | <artifactId>jackson-annotations</artifactId> |
| 646 | </dependency> |
| 647 | |
| 648 | <dependency> |
| 649 | <groupId>com.fasterxml.jackson.core</groupId> |
| 650 | <artifactId>jackson-core</artifactId> |
| 651 | </dependency> |
| 652 | |
| 653 | <dependency> |
| 654 | <groupId>com.fasterxml.jackson.core</groupId> |
| 655 | <artifactId>jackson-databind</artifactId> |
| 656 | </dependency> |
| 657 | |
| 658 | <dependency> |
| 659 | <groupId>org.apache.karaf.features</groupId> |
| 660 | <artifactId>org.apache.karaf.features.core</artifactId> |
| 661 | </dependency> |
| 662 | |
| 663 | <dependency> |
| 664 | <groupId>org.apache.karaf.system</groupId> |
| 665 | <artifactId>org.apache.karaf.system.core</artifactId> |
| 666 | </dependency> |
| 667 | |
| 668 | <!-- YANG stuff here? Fix buck?--> |
| 669 | |
| 670 | <!-- TEST --> |
| 671 | <dependency> |
| 672 | <groupId>junit</groupId> |
| 673 | <artifactId>junit</artifactId> |
| 674 | <scope>test</scope> |
| 675 | </dependency> |
| 676 | |
| 677 | <dependency> |
| 678 | <groupId>org.easymock</groupId> |
| 679 | <artifactId>easymock</artifactId> |
| 680 | <scope>test</scope> |
| 681 | </dependency> |
| 682 | |
| 683 | <dependency> |
| 684 | <groupId>org.hamcrest</groupId> |
| 685 | <artifactId>hamcrest-core</artifactId> |
| 686 | <scope>test</scope> |
| 687 | </dependency> |
| 688 | |
| 689 | <dependency> |
| 690 | <groupId>org.hamcrest</groupId> |
| 691 | <artifactId>hamcrest-library</artifactId> |
| 692 | <scope>test</scope> |
| 693 | </dependency> |
| 694 | |
| 695 | <dependency> |
Ray Milkey | ec253f8 | 2017-09-20 16:29:19 +0900 | [diff] [blame] | 696 | <groupId>com.spotify</groupId> |
| 697 | <artifactId>hamcrest-optional</artifactId> |
| 698 | <scope>test</scope> |
| 699 | </dependency> |
| 700 | |
| 701 | <dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 702 | <groupId>com.google.guava</groupId> |
| 703 | <artifactId>guava-testlib</artifactId> |
| 704 | <scope>test</scope> |
| 705 | </dependency> |
| 706 | |
| 707 | <!-- revisit if this is really needed --> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 708 | <dependency> |
| 709 | <groupId>org.slf4j</groupId> |
| 710 | <artifactId>slf4j-jdk14</artifactId> |
| 711 | </dependency> |
| 712 | <!-- TODO sonar-maven-plugin prints the following ERROR many times: |
| 713 | Class not found: javax.annotation.Nullable |
| 714 | The following dependency alleviates this problem, but perhaps |
| 715 | it can be better located in the future. --> |
| 716 | <dependency> |
| 717 | <groupId>com.google.code.findbugs</groupId> |
| 718 | <artifactId>jsr305</artifactId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 719 | </dependency> |
Sean Condon | bf7d39b | 2017-11-04 18:34:53 +0000 | [diff] [blame] | 720 | |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 721 | </dependencies> |
| 722 | |
| 723 | <build> |
| 724 | <pluginManagement> |
| 725 | <plugins> |
| 726 | <plugin> |
| 727 | <groupId>org.apache.maven.plugins</groupId> |
| 728 | <artifactId>maven-compiler-plugin</artifactId> |
Yuta HIGUCHI | b6f9adb | 2018-01-26 17:56:17 -0800 | [diff] [blame] | 729 | <version>3.7.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 730 | <configuration> |
| 731 | <source>1.8</source> |
| 732 | <target>1.8</target> |
Yuta HIGUCHI | b6f9adb | 2018-01-26 17:56:17 -0800 | [diff] [blame] | 733 | <compilerArgs> |
| 734 | <compilerArg>-Xpkginfo:always</compilerArg> |
| 735 | </compilerArgs> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 736 | </configuration> |
| 737 | </plugin> |
| 738 | |
| 739 | <plugin> |
| 740 | <groupId>org.apache.maven.plugins</groupId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 741 | <artifactId>maven-clean-plugin</artifactId> |
| 742 | <version>3.1.0</version> |
| 743 | </plugin> |
| 744 | |
| 745 | <plugin> |
| 746 | <groupId>org.apache.maven.plugins</groupId> |
| 747 | <artifactId>maven-deploy-plugin</artifactId> |
| 748 | <version>2.8.2</version> |
| 749 | </plugin> |
| 750 | |
| 751 | <plugin> |
| 752 | <groupId>org.apache.maven.plugins</groupId> |
| 753 | <artifactId>maven-install-plugin</artifactId> |
| 754 | <version>2.5.2</version> |
| 755 | </plugin> |
| 756 | |
| 757 | <plugin> |
| 758 | <groupId>org.apache.maven.plugins</groupId> |
| 759 | <artifactId>maven-site-plugin</artifactId> |
| 760 | <version>3.7.1</version> |
| 761 | </plugin> |
| 762 | |
| 763 | <plugin> |
| 764 | <groupId>org.apache.maven.plugins</groupId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 765 | <artifactId>maven-surefire-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 766 | <version>2.21.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 767 | <configuration> |
| 768 | <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| 769 | <printSummary>true</printSummary> |
| 770 | <excludedGroups>org.onlab.junit.IntegrationTest |
| 771 | </excludedGroups> |
| 772 | <rerunFailingTestsCount>1</rerunFailingTestsCount> |
| 773 | </configuration> |
| 774 | </plugin> |
| 775 | <plugin> |
| 776 | <groupId>org.apache.maven.plugins</groupId> |
| 777 | <artifactId>maven-javadoc-plugin</artifactId> |
Yuta HIGUCHI | b6f9adb | 2018-01-26 17:56:17 -0800 | [diff] [blame] | 778 | <version>3.0.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 779 | <configuration> |
| 780 | <tags> |
| 781 | <tag> |
| 782 | <name>onos.rsModel</name> |
| 783 | <placement>m</placement> |
| 784 | <head>Json model for REST api:</head> |
| 785 | </tag> |
| 786 | </tags> |
| 787 | </configuration> |
| 788 | </plugin> |
| 789 | <plugin> |
| 790 | <groupId>org.apache.maven.plugins</groupId> |
| 791 | <artifactId>maven-jar-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 792 | <version>3.1.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 793 | <configuration> |
| 794 | <skipIfEmpty>true</skipIfEmpty> |
| 795 | </configuration> |
| 796 | <executions> |
| 797 | <execution> |
| 798 | <id>default</id> |
| 799 | <goals> |
| 800 | <goal>test-jar</goal> |
| 801 | </goals> |
| 802 | </execution> |
| 803 | </executions> |
| 804 | </plugin> |
| 805 | |
| 806 | <plugin> |
| 807 | <groupId>org.apache.maven.plugins</groupId> |
| 808 | <artifactId>maven-resources-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 809 | <version>3.1.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 810 | </plugin> |
| 811 | |
| 812 | <plugin> |
| 813 | <groupId>org.apache.felix</groupId> |
| 814 | <artifactId>maven-bundle-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 815 | <version>3.5.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 816 | <extensions>true</extensions> |
| 817 | <configuration> |
| 818 | <niceManifest>true</niceManifest> |
| 819 | </configuration> |
| 820 | </plugin> |
| 821 | |
| 822 | <plugin> |
| 823 | <groupId>org.apache.maven.plugins</groupId> |
| 824 | <artifactId>maven-shade-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 825 | <version>3.1.1</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 826 | </plugin> |
| 827 | |
| 828 | <plugin> |
| 829 | <groupId>org.apache.felix</groupId> |
| 830 | <artifactId>maven-scr-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 831 | <version>1.26.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 832 | <executions> |
| 833 | <execution> |
| 834 | <id>generate-scr-srcdescriptor</id> |
| 835 | <goals> |
| 836 | <goal>scr</goal> |
| 837 | </goals> |
| 838 | </execution> |
| 839 | </executions> |
| 840 | <configuration> |
| 841 | <supportedProjectTypes> |
| 842 | <supportedProjectType>bundle</supportedProjectType> |
| 843 | <supportedProjectType>war</supportedProjectType> |
| 844 | </supportedProjectTypes> |
| 845 | </configuration> |
| 846 | </plugin> |
| 847 | <plugin> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 848 | <groupId>com.github.spotbugs</groupId> |
| 849 | <artifactId>spotbugs-maven-plugin</artifactId> |
| 850 | <version>3.1.3</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 851 | <dependencies> |
| 852 | <dependency> |
| 853 | <groupId>org.onosproject</groupId> |
| 854 | <artifactId>onos-build-conf</artifactId> |
| 855 | <version>${onos-build-conf.version}</version> |
| 856 | </dependency> |
| 857 | </dependencies> |
| 858 | <configuration> |
| 859 | <effort>Max</effort> |
| 860 | <excludeFilterFile>onos/findbugs-suppressions.xml |
| 861 | </excludeFilterFile> |
| 862 | </configuration> |
| 863 | </plugin> |
| 864 | |
| 865 | <!-- This version needs to be updated manually when changes are made to onos-maven-plugin --> |
| 866 | <plugin> |
| 867 | <groupId>org.onosproject</groupId> |
| 868 | <artifactId>onos-maven-plugin</artifactId> |
| 869 | <version>${onos-maven-plugin.version}</version> |
| 870 | <executions> |
| 871 | <execution> |
| 872 | <id>cfg</id> |
| 873 | <phase>generate-resources</phase> |
| 874 | <goals> |
| 875 | <goal>cfg</goal> |
| 876 | </goals> |
| 877 | </execution> |
| 878 | <execution> |
| 879 | <id>swagger</id> |
| 880 | <phase>generate-sources</phase> |
| 881 | <goals> |
| 882 | <goal>swagger</goal> |
| 883 | </goals> |
| 884 | </execution> |
| 885 | <execution> |
| 886 | <id>app</id> |
| 887 | <phase>package</phase> |
| 888 | <goals> |
| 889 | <goal>app</goal> |
| 890 | </goals> |
| 891 | </execution> |
| 892 | </executions> |
| 893 | </plugin> |
Ray Milkey | 86d1b0a | 2017-05-16 15:15:08 -0700 | [diff] [blame] | 894 | |
| 895 | <plugin> |
| 896 | <groupId>org.onosproject</groupId> |
| 897 | <artifactId>onos-yang-compiler-maven-plugin</artifactId> |
| 898 | <version>${onos-yang-tools.version}</version> |
| 899 | <executions> |
| 900 | <execution> |
| 901 | <goals> |
| 902 | <goal>yang2java</goal> |
| 903 | </goals> |
| 904 | </execution> |
| 905 | </executions> |
| 906 | </plugin> |
Yuta HIGUCHI | 488a94c | 2018-01-26 17:24:09 -0800 | [diff] [blame] | 907 | |
| 908 | <plugin> |
| 909 | <groupId>org.apache.karaf.tooling</groupId> |
| 910 | <artifactId>karaf-maven-plugin</artifactId> |
| 911 | <version>${karaf.version}</version> |
| 912 | <extensions>true</extensions> |
| 913 | </plugin> |
| 914 | |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 915 | </plugins> |
| 916 | </pluginManagement> |
| 917 | |
| 918 | <plugins> |
| 919 | <plugin> |
| 920 | <groupId>org.apache.maven.plugins</groupId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 921 | <artifactId>maven-enforcer-plugin</artifactId> |
| 922 | <version>3.0.0-M1</version> |
| 923 | <executions> |
| 924 | <execution> |
| 925 | <id>enforce-maven</id> |
| 926 | <goals> |
| 927 | <goal>enforce</goal> |
| 928 | </goals> |
| 929 | <configuration> |
| 930 | <rules> |
| 931 | <requireMavenVersion> |
| 932 | <version>3.0.5</version> |
| 933 | </requireMavenVersion> |
| 934 | </rules> |
| 935 | </configuration> |
| 936 | </execution> |
| 937 | </executions> |
| 938 | </plugin> |
| 939 | |
| 940 | <plugin> |
| 941 | <groupId>org.apache.maven.plugins</groupId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 942 | <artifactId>maven-jar-plugin</artifactId> |
| 943 | </plugin> |
| 944 | |
| 945 | <plugin> |
| 946 | <groupId>org.apache.maven.plugins</groupId> |
| 947 | <artifactId>maven-checkstyle-plugin</artifactId> |
Yuta HIGUCHI | b6f9adb | 2018-01-26 17:56:17 -0800 | [diff] [blame] | 948 | <version>3.0.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 949 | <dependencies> |
| 950 | <dependency> |
| 951 | <groupId>org.onosproject</groupId> |
| 952 | <artifactId>onos-build-conf</artifactId> |
| 953 | <version>${onos-build-conf.version}</version> |
| 954 | </dependency> |
Ray Milkey | 2d572dd | 2017-04-14 10:01:24 -0700 | [diff] [blame] | 955 | <dependency> |
| 956 | <groupId>com.puppycrawl.tools</groupId> |
| 957 | <artifactId>checkstyle</artifactId> |
Yuta HIGUCHI | e7e71a8 | 2018-05-18 16:36:43 -0700 | [diff] [blame] | 958 | <version>8.10</version> |
Ray Milkey | 2d572dd | 2017-04-14 10:01:24 -0700 | [diff] [blame] | 959 | </dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 960 | </dependencies> |
| 961 | <configuration> |
Ray Milkey | 2d572dd | 2017-04-14 10:01:24 -0700 | [diff] [blame] | 962 | <configLocation>onos/checkstyle-mvn.xml</configLocation> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 963 | <suppressionsLocation>onos/suppressions.xml |
| 964 | </suppressionsLocation> |
Yuta HIGUCHI | 002f394 | 2017-08-18 10:54:26 -0700 | [diff] [blame] | 965 | <headerLocation>onos/onos-java.header</headerLocation> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 966 | <failsOnError>false</failsOnError> |
| 967 | <logViolationsToConsole>true</logViolationsToConsole> |
Yuta HIGUCHI | d919d9b | 2017-06-26 11:10:20 -0700 | [diff] [blame] | 968 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 969 | <includeResources>false</includeResources> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 970 | </configuration> |
| 971 | <executions> |
| 972 | <execution> |
| 973 | <id>validate-checkstyle</id> |
| 974 | <phase>verify</phase> |
| 975 | <goals> |
| 976 | <goal>check</goal> |
| 977 | </goals> |
| 978 | </execution> |
| 979 | </executions> |
| 980 | </plugin> |
| 981 | |
| 982 | <plugin> |
| 983 | <groupId>org.apache.maven.plugins</groupId> |
| 984 | <artifactId>maven-pmd-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 985 | <version>3.9.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 986 | <configuration> |
| 987 | <excludes> |
| 988 | </excludes> |
| 989 | <rulesets> |
| 990 | <ruleset>onos/pmd.xml</ruleset> |
| 991 | </rulesets> |
| 992 | </configuration> |
| 993 | <executions> |
| 994 | <execution> |
| 995 | <id>validate-pmd</id> |
| 996 | <phase>verify</phase> |
| 997 | <goals> |
| 998 | <!-- Uncomment this goal to make the build fail on pmd errors --> |
| 999 | <!--<goal>check</goal>--> |
| 1000 | </goals> |
| 1001 | </execution> |
| 1002 | </executions> |
| 1003 | </plugin> |
| 1004 | |
| 1005 | <plugin> |
| 1006 | <groupId>org.jacoco</groupId> |
| 1007 | <artifactId>jacoco-maven-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 1008 | <version>0.8.1</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 1009 | <executions> |
| 1010 | <execution> |
| 1011 | <id>default-prepare-agent</id> |
| 1012 | <goals> |
| 1013 | <goal>prepare-agent</goal> |
| 1014 | </goals> |
| 1015 | </execution> |
| 1016 | <execution> |
| 1017 | <id>default-report</id> |
| 1018 | <phase>prepare-package</phase> |
| 1019 | <goals> |
| 1020 | <goal>report</goal> |
| 1021 | </goals> |
| 1022 | </execution> |
| 1023 | </executions> |
| 1024 | </plugin> |
| 1025 | </plugins> |
| 1026 | </build> |
| 1027 | |
| 1028 | <reporting> |
| 1029 | <plugins> |
| 1030 | <plugin> |
| 1031 | <groupId>org.apache.maven.plugins</groupId> |
| 1032 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 1033 | <configuration> |
| 1034 | <configLocation>onos/checkstyle.xml</configLocation> |
| 1035 | </configuration> |
| 1036 | </plugin> |
| 1037 | |
| 1038 | <plugin> |
| 1039 | <groupId>org.apache.maven.plugins</groupId> |
| 1040 | <artifactId>maven-pmd-plugin</artifactId> |
| 1041 | <configuration> |
| 1042 | <excludes> |
| 1043 | </excludes> |
| 1044 | <rulesets> |
| 1045 | <ruleset>onos/pmd.xml</ruleset> |
| 1046 | </rulesets> |
| 1047 | </configuration> |
| 1048 | </plugin> |
| 1049 | </plugins> |
| 1050 | </reporting> |
| 1051 | </project> |