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 | 312d987 | 2018-08-20 16:09:54 -0700 | [diff] [blame] | 32 | <version>1.15.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> |
Ray Milkey | 312d987 | 2018-08-20 16:09:54 -0700 | [diff] [blame] | 43 | <onos-build-conf.version>1.15.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> |
Ray Milkey | c5e2f43 | 2018-07-02 13:09:35 -0700 | [diff] [blame] | 47 | <onos-yang-tools.version>2.5</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> |
Yuta HIGUCHI | 59cf0c8 | 2018-05-23 14:16:59 -0700 | [diff] [blame] | 147 | <version>2.6</version> |
Yuta HIGUCHI | 4b662e1 | 2017-08-14 17:34:42 -0700 | [diff] [blame] | 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 | 59cf0c8 | 2018-05-23 14:16:59 -0700 | [diff] [blame] | 159 | <version>3.7</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> |
Yuta HIGUCHI | 59cf0c8 | 2018-05-23 14:16:59 -0700 | [diff] [blame] | 183 | <version>1.3</version> |
Yuta HIGUCHI | 825401e | 2018-02-27 13:23:25 -0800 | [diff] [blame] | 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> |
Yuta HIGUCHI | 59cf0c8 | 2018-05-23 14:16:59 -0700 | [diff] [blame] | 201 | <version>3.6</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 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> |
Sean Condon | 6f0458c | 2018-08-10 12:56:52 +0100 | [diff] [blame] | 281 | <groupId>org.glassfish.jersey.media</groupId> |
| 282 | <artifactId>jersey-media-sse</artifactId> |
| 283 | <version>${jersey.version}</version> |
| 284 | <scope>provided</scope> |
| 285 | </dependency> |
| 286 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 287 | <groupId>org.glassfish.jersey.test-framework</groupId> |
| 288 | <artifactId>jersey-test-framework-core</artifactId> |
| 289 | <version>${jersey.version}</version> |
| 290 | <scope>test</scope> |
| 291 | </dependency> |
| 292 | <dependency> |
| 293 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 294 | <artifactId>jersey-test-framework-provider-jetty</artifactId> |
| 295 | <version>${jersey.version}</version> |
| 296 | <scope>test</scope> |
| 297 | </dependency> |
| 298 | <dependency> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 299 | <groupId>org.eclipse.jetty</groupId> |
| 300 | <artifactId>jetty-server</artifactId> |
| 301 | <version>${jetty.version}</version> |
| 302 | <scope>test</scope> |
| 303 | </dependency> |
| 304 | <dependency> |
| 305 | <groupId>org.eclipse.jetty</groupId> |
| 306 | <artifactId>jetty-util</artifactId> |
| 307 | <version>${jetty.version}</version> |
| 308 | </dependency> |
| 309 | <dependency> |
| 310 | <groupId>org.eclipse.jetty</groupId> |
| 311 | <artifactId>jetty-io</artifactId> |
| 312 | <version>${jetty.version}</version> |
| 313 | </dependency> |
| 314 | <dependency> |
| 315 | <groupId>org.eclipse.jetty</groupId> |
| 316 | <artifactId>jetty-http</artifactId> |
| 317 | <version>${jetty.version}</version> |
| 318 | </dependency> |
| 319 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 320 | <groupId>com.fasterxml.jackson.core</groupId> |
| 321 | <artifactId>jackson-databind</artifactId> |
| 322 | <version>${jackson.version}</version> |
| 323 | <scope>provided</scope> |
| 324 | </dependency> |
| 325 | <dependency> |
| 326 | <groupId>com.fasterxml.jackson.core</groupId> |
| 327 | <artifactId>jackson-annotations</artifactId> |
| 328 | <version>${jackson.version}</version> |
| 329 | <scope>provided</scope> |
| 330 | </dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 331 | <dependency> |
| 332 | <groupId>com.fasterxml.jackson.core</groupId> |
| 333 | <artifactId>jackson-core</artifactId> |
| 334 | <version>${jackson.version}</version> |
| 335 | <scope>provided</scope> |
| 336 | </dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 337 | |
| 338 | <!-- OSGi related --> |
| 339 | <dependency> |
| 340 | <groupId>org.osgi</groupId> |
| 341 | <artifactId>org.osgi.core</artifactId> |
| 342 | <version>${osgi.version}</version> |
| 343 | <scope>provided</scope> |
| 344 | </dependency> |
| 345 | <dependency> |
| 346 | <groupId>org.osgi</groupId> |
| 347 | <artifactId>org.osgi.compendium</artifactId> |
| 348 | <version>${osgi.version}</version> |
| 349 | <scope>provided</scope> |
| 350 | </dependency> |
| 351 | <dependency> |
| 352 | <groupId>org.apache.felix</groupId> |
| 353 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 354 | <version>1.9.12</version> |
| 355 | <scope>provided</scope> |
| 356 | </dependency> |
| 357 | <dependency> |
| 358 | <groupId>org.apache.felix</groupId> |
| 359 | <artifactId>org.apache.felix.scr</artifactId> |
| 360 | <version>1.8.2</version> |
| 361 | </dependency> |
| 362 | |
| 363 | <dependency> |
| 364 | <groupId>org.apache.karaf.features</groupId> |
| 365 | <artifactId>org.apache.karaf.features.core</artifactId> |
| 366 | <version>${karaf.version}</version> |
| 367 | <scope>provided</scope> |
| 368 | </dependency> |
| 369 | <dependency> |
| 370 | <groupId>org.apache.karaf.system</groupId> |
| 371 | <artifactId>org.apache.karaf.system.core</artifactId> |
| 372 | <version>${karaf.version}</version> |
| 373 | <scope>provided</scope> |
| 374 | </dependency> |
| 375 | <dependency> |
| 376 | <groupId>org.apache.karaf.shell</groupId> |
| 377 | <artifactId>org.apache.karaf.shell.console</artifactId> |
| 378 | <version>${karaf.version}</version> |
| 379 | <scope>provided</scope> |
| 380 | </dependency> |
| 381 | |
| 382 | <dependency> |
| 383 | <groupId>org.livetribe.slp</groupId> |
| 384 | <artifactId>livetribe-slp</artifactId> |
| 385 | <version>2.2.1</version> |
| 386 | </dependency> |
| 387 | |
| 388 | <dependency> |
| 389 | <groupId>com.eclipsesource.minimal-json</groupId> |
| 390 | <artifactId>minimal-json</artifactId> |
| 391 | <version>0.9.4</version> |
| 392 | </dependency> |
| 393 | <dependency> |
| 394 | <groupId>com.esotericsoftware</groupId> |
| 395 | <artifactId>kryo</artifactId> |
Yuta HIGUCHI | 6520198 | 2017-08-21 11:12:19 -0700 | [diff] [blame] | 396 | <version>4.0.1</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 397 | </dependency> |
| 398 | <dependency> |
| 399 | <groupId>com.esotericsoftware</groupId> |
| 400 | <artifactId>reflectasm</artifactId> |
Yuta HIGUCHI | 86f142f | 2016-07-09 17:44:09 -0700 | [diff] [blame] | 401 | <version>1.11.3</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 402 | </dependency> |
| 403 | <dependency> |
| 404 | <groupId>org.ow2.asm</groupId> |
| 405 | <artifactId>asm</artifactId> |
Yuta HIGUCHI | 86f142f | 2016-07-09 17:44:09 -0700 | [diff] [blame] | 406 | <version>5.0.4</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 407 | </dependency> |
| 408 | <dependency> |
| 409 | <groupId>com.esotericsoftware</groupId> |
| 410 | <artifactId>minlog</artifactId> |
| 411 | <version>1.3.0</version> |
| 412 | </dependency> |
| 413 | <dependency> |
| 414 | <groupId>org.objenesis</groupId> |
| 415 | <artifactId>objenesis</artifactId> |
Yuta HIGUCHI | 6520198 | 2017-08-21 11:12:19 -0700 | [diff] [blame] | 416 | <version>2.6</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 417 | </dependency> |
| 418 | |
| 419 | <!-- Netty related; for now we require both 3.10.x and 4 --> |
| 420 | <dependency> |
| 421 | <groupId>io.netty</groupId> |
| 422 | <artifactId>netty</artifactId> |
| 423 | <version>3.10.5.Final</version> |
| 424 | </dependency> |
| 425 | |
| 426 | <dependency> |
| 427 | <groupId>io.netty</groupId> |
| 428 | <artifactId>netty-common</artifactId> |
| 429 | <version>${netty4.version}</version> |
| 430 | </dependency> |
| 431 | <dependency> |
| 432 | <groupId>io.netty</groupId> |
| 433 | <artifactId>netty-buffer</artifactId> |
| 434 | <version>${netty4.version}</version> |
| 435 | </dependency> |
| 436 | <dependency> |
| 437 | <groupId>io.netty</groupId> |
| 438 | <artifactId>netty-transport</artifactId> |
| 439 | <version>${netty4.version}</version> |
| 440 | </dependency> |
| 441 | <dependency> |
| 442 | <groupId>io.netty</groupId> |
| 443 | <artifactId>netty-handler</artifactId> |
| 444 | <version>${netty4.version}</version> |
| 445 | </dependency> |
| 446 | |
| 447 | <dependency> |
| 448 | <groupId>io.netty</groupId> |
| 449 | <artifactId>netty-codec</artifactId> |
| 450 | <version>${netty4.version}</version> |
| 451 | </dependency> |
| 452 | |
| 453 | <dependency> |
| 454 | <groupId>io.netty</groupId> |
Yuta HIGUCHI | 6520198 | 2017-08-21 11:12:19 -0700 | [diff] [blame] | 455 | <artifactId>netty-transport-native-unix-common</artifactId> |
| 456 | <version>${netty4.version}</version> |
| 457 | </dependency> |
| 458 | |
| 459 | <dependency> |
| 460 | <groupId>io.netty</groupId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 461 | <artifactId>netty-transport-native-epoll</artifactId> |
| 462 | <version>${netty4.version}</version> |
| 463 | <classifier>${os.detected.classifier}</classifier> |
| 464 | </dependency> |
| 465 | |
| 466 | <dependency> |
Jonathan Hart | 5dc9a4e | 2017-01-13 09:09:57 -0800 | [diff] [blame] | 467 | <groupId>io.netty</groupId> |
| 468 | <artifactId>netty-resolver</artifactId> |
| 469 | <version>${netty4.version}</version> |
| 470 | </dependency> |
| 471 | |
| 472 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 473 | <groupId>com.google.code.findbugs</groupId> |
| 474 | <artifactId>jsr305</artifactId> |
| 475 | <version>3.0.1</version> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 476 | <scope>provided</scope> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 477 | </dependency> |
| 478 | |
| 479 | <dependency> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 480 | <groupId>com.google.errorprone</groupId> |
| 481 | <artifactId>error_prone_annotations</artifactId> |
Yuta HIGUCHI | 59cf0c8 | 2018-05-23 14:16:59 -0700 | [diff] [blame] | 482 | <version>2.0.18</version> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 483 | </dependency> |
| 484 | |
| 485 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 486 | <groupId>org.onosproject</groupId> |
| 487 | <artifactId>openflowj</artifactId> |
| 488 | <version>${openflowj.version}</version> |
| 489 | <scope>provided</scope> |
| 490 | </dependency> |
Ray Milkey | 86d1b0a | 2017-05-16 15:15:08 -0700 | [diff] [blame] | 491 | |
| 492 | <dependency> |
| 493 | <groupId>org.onosproject</groupId> |
| 494 | <artifactId>onos-yang-model</artifactId> |
| 495 | <version>${onos-yang-tools.version}</version> |
| 496 | </dependency> |
| 497 | <dependency> |
| 498 | <groupId>org.onosproject</groupId> |
| 499 | <artifactId>onos-yang-runtime</artifactId> |
| 500 | <version>${onos-yang-tools.version}</version> |
| 501 | </dependency> |
Yuta HIGUCHI | b8dae87 | 2017-06-27 20:06:48 -0700 | [diff] [blame] | 502 | <dependency> |
| 503 | <groupId>org.onosproject</groupId> |
| 504 | <artifactId>onos-yang-serializers-xml</artifactId> |
| 505 | <version>${onos-yang-tools.version}</version> |
| 506 | </dependency> |
| 507 | <dependency> |
| 508 | <groupId>org.onosproject</groupId> |
| 509 | <artifactId>onos-yang-serializers-json</artifactId> |
| 510 | <version>${onos-yang-tools.version}</version> |
| 511 | </dependency> |
Yuta HIGUCHI | 08392f4 | 2018-06-07 17:15:46 -0700 | [diff] [blame] | 512 | <dependency> |
| 513 | <groupId>io.grpc</groupId> |
| 514 | <artifactId>grpc-core</artifactId> |
| 515 | <version>${grpccore.version}</version> |
| 516 | </dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 517 | </dependencies> |
| 518 | </dependencyManagement> |
| 519 | |
| 520 | <dependencies> |
Yuta HIGUCHI | 4b662e1 | 2017-08-14 17:34:42 -0700 | [diff] [blame] | 521 | |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 522 | <!-- COMPILE --> |
Yuta HIGUCHI | 4b662e1 | 2017-08-14 17:34:42 -0700 | [diff] [blame] | 523 | <dependency> |
Yuta HIGUCHI | 4b662e1 | 2017-08-14 17:34:42 -0700 | [diff] [blame] | 524 | <groupId>commons-configuration</groupId> |
| 525 | <artifactId>commons-configuration</artifactId> |
| 526 | </dependency> |
| 527 | |
| 528 | <dependency> |
| 529 | <groupId>commons-logging</groupId> |
| 530 | <artifactId>commons-logging</artifactId> |
| 531 | </dependency> |
| 532 | |
| 533 | <dependency> |
| 534 | <groupId>commons-collections</groupId> |
| 535 | <artifactId>commons-collections</artifactId> |
| 536 | </dependency> |
| 537 | |
| 538 | <dependency> |
| 539 | <groupId>commons-lang</groupId> |
| 540 | <artifactId>commons-lang</artifactId> |
| 541 | </dependency> |
| 542 | |
| 543 | <dependency> |
| 544 | <groupId>org.apache.commons</groupId> |
| 545 | <artifactId>commons-lang3</artifactId> |
| 546 | </dependency> |
| 547 | |
| 548 | <dependency> |
| 549 | <groupId>commons-io</groupId> |
| 550 | <artifactId>commons-io</artifactId> |
| 551 | </dependency> |
| 552 | |
| 553 | <dependency> |
| 554 | <groupId>commons-pool</groupId> |
| 555 | <artifactId>commons-pool</artifactId> |
| 556 | </dependency> |
| 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 | |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 563 | <dependency> |
| 564 | <groupId>com.eclipsesource.minimal-json</groupId> |
| 565 | <artifactId>minimal-json</artifactId> |
| 566 | </dependency> |
| 567 | |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 568 | <dependency> |
| 569 | <groupId>org.slf4j</groupId> |
| 570 | <artifactId>slf4j-api</artifactId> |
| 571 | </dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 572 | |
| 573 | <dependency> |
| 574 | <groupId>org.osgi</groupId> |
| 575 | <artifactId>org.osgi.core</artifactId> |
| 576 | </dependency> |
| 577 | |
| 578 | <dependency> |
| 579 | <groupId>org.osgi</groupId> |
| 580 | <artifactId>org.osgi.compendium</artifactId> |
| 581 | </dependency> |
| 582 | |
| 583 | <dependency> |
| 584 | <groupId>org.apache.felix</groupId> |
| 585 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 586 | </dependency> |
| 587 | |
| 588 | <dependency> |
| 589 | <groupId>org.apache.felix</groupId> |
| 590 | <artifactId>org.apache.felix.scr</artifactId> |
| 591 | </dependency> |
| 592 | |
| 593 | <dependency> |
| 594 | <groupId>com.fasterxml.jackson.core</groupId> |
| 595 | <artifactId>jackson-annotations</artifactId> |
| 596 | </dependency> |
| 597 | |
| 598 | <dependency> |
| 599 | <groupId>com.fasterxml.jackson.core</groupId> |
| 600 | <artifactId>jackson-core</artifactId> |
| 601 | </dependency> |
| 602 | |
| 603 | <dependency> |
| 604 | <groupId>com.fasterxml.jackson.core</groupId> |
| 605 | <artifactId>jackson-databind</artifactId> |
| 606 | </dependency> |
| 607 | |
| 608 | <dependency> |
| 609 | <groupId>org.apache.karaf.features</groupId> |
| 610 | <artifactId>org.apache.karaf.features.core</artifactId> |
| 611 | </dependency> |
| 612 | |
| 613 | <dependency> |
| 614 | <groupId>org.apache.karaf.system</groupId> |
| 615 | <artifactId>org.apache.karaf.system.core</artifactId> |
| 616 | </dependency> |
| 617 | |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 618 | <!-- TEST --> |
| 619 | <dependency> |
| 620 | <groupId>junit</groupId> |
| 621 | <artifactId>junit</artifactId> |
| 622 | <scope>test</scope> |
| 623 | </dependency> |
| 624 | |
| 625 | <dependency> |
| 626 | <groupId>org.easymock</groupId> |
| 627 | <artifactId>easymock</artifactId> |
| 628 | <scope>test</scope> |
| 629 | </dependency> |
| 630 | |
| 631 | <dependency> |
| 632 | <groupId>org.hamcrest</groupId> |
| 633 | <artifactId>hamcrest-core</artifactId> |
| 634 | <scope>test</scope> |
| 635 | </dependency> |
| 636 | |
| 637 | <dependency> |
| 638 | <groupId>org.hamcrest</groupId> |
| 639 | <artifactId>hamcrest-library</artifactId> |
| 640 | <scope>test</scope> |
| 641 | </dependency> |
| 642 | |
| 643 | <dependency> |
Ray Milkey | ec253f8 | 2017-09-20 16:29:19 +0900 | [diff] [blame] | 644 | <groupId>com.spotify</groupId> |
| 645 | <artifactId>hamcrest-optional</artifactId> |
| 646 | <scope>test</scope> |
| 647 | </dependency> |
| 648 | |
| 649 | <dependency> |
Yuta HIGUCHI | ef9fccf | 2017-08-16 23:36:31 -0700 | [diff] [blame] | 650 | <groupId>com.google.guava</groupId> |
| 651 | <artifactId>guava-testlib</artifactId> |
| 652 | <scope>test</scope> |
| 653 | </dependency> |
| 654 | |
| 655 | <!-- revisit if this is really needed --> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 656 | <dependency> |
| 657 | <groupId>org.slf4j</groupId> |
| 658 | <artifactId>slf4j-jdk14</artifactId> |
| 659 | </dependency> |
| 660 | <!-- TODO sonar-maven-plugin prints the following ERROR many times: |
| 661 | Class not found: javax.annotation.Nullable |
| 662 | The following dependency alleviates this problem, but perhaps |
| 663 | it can be better located in the future. --> |
| 664 | <dependency> |
| 665 | <groupId>com.google.code.findbugs</groupId> |
| 666 | <artifactId>jsr305</artifactId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 667 | </dependency> |
Sean Condon | bf7d39b | 2017-11-04 18:34:53 +0000 | [diff] [blame] | 668 | |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 669 | </dependencies> |
| 670 | |
| 671 | <build> |
| 672 | <pluginManagement> |
| 673 | <plugins> |
| 674 | <plugin> |
| 675 | <groupId>org.apache.maven.plugins</groupId> |
| 676 | <artifactId>maven-compiler-plugin</artifactId> |
Yuta HIGUCHI | b6f9adb | 2018-01-26 17:56:17 -0800 | [diff] [blame] | 677 | <version>3.7.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 678 | <configuration> |
| 679 | <source>1.8</source> |
| 680 | <target>1.8</target> |
Yuta HIGUCHI | b6f9adb | 2018-01-26 17:56:17 -0800 | [diff] [blame] | 681 | <compilerArgs> |
| 682 | <compilerArg>-Xpkginfo:always</compilerArg> |
| 683 | </compilerArgs> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 684 | </configuration> |
| 685 | </plugin> |
| 686 | |
| 687 | <plugin> |
| 688 | <groupId>org.apache.maven.plugins</groupId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 689 | <artifactId>maven-clean-plugin</artifactId> |
| 690 | <version>3.1.0</version> |
| 691 | </plugin> |
| 692 | |
| 693 | <plugin> |
| 694 | <groupId>org.apache.maven.plugins</groupId> |
| 695 | <artifactId>maven-deploy-plugin</artifactId> |
| 696 | <version>2.8.2</version> |
| 697 | </plugin> |
| 698 | |
| 699 | <plugin> |
| 700 | <groupId>org.apache.maven.plugins</groupId> |
| 701 | <artifactId>maven-install-plugin</artifactId> |
| 702 | <version>2.5.2</version> |
| 703 | </plugin> |
| 704 | |
| 705 | <plugin> |
| 706 | <groupId>org.apache.maven.plugins</groupId> |
| 707 | <artifactId>maven-site-plugin</artifactId> |
| 708 | <version>3.7.1</version> |
| 709 | </plugin> |
| 710 | |
| 711 | <plugin> |
| 712 | <groupId>org.apache.maven.plugins</groupId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 713 | <artifactId>maven-surefire-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 714 | <version>2.21.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 715 | <configuration> |
| 716 | <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| 717 | <printSummary>true</printSummary> |
| 718 | <excludedGroups>org.onlab.junit.IntegrationTest |
| 719 | </excludedGroups> |
| 720 | <rerunFailingTestsCount>1</rerunFailingTestsCount> |
| 721 | </configuration> |
| 722 | </plugin> |
| 723 | <plugin> |
| 724 | <groupId>org.apache.maven.plugins</groupId> |
| 725 | <artifactId>maven-javadoc-plugin</artifactId> |
Yuta HIGUCHI | b6f9adb | 2018-01-26 17:56:17 -0800 | [diff] [blame] | 726 | <version>3.0.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 727 | <configuration> |
| 728 | <tags> |
| 729 | <tag> |
| 730 | <name>onos.rsModel</name> |
| 731 | <placement>m</placement> |
| 732 | <head>Json model for REST api:</head> |
| 733 | </tag> |
| 734 | </tags> |
| 735 | </configuration> |
| 736 | </plugin> |
| 737 | <plugin> |
| 738 | <groupId>org.apache.maven.plugins</groupId> |
| 739 | <artifactId>maven-jar-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 740 | <version>3.1.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 741 | <configuration> |
| 742 | <skipIfEmpty>true</skipIfEmpty> |
| 743 | </configuration> |
| 744 | <executions> |
| 745 | <execution> |
| 746 | <id>default</id> |
| 747 | <goals> |
| 748 | <goal>test-jar</goal> |
| 749 | </goals> |
| 750 | </execution> |
| 751 | </executions> |
| 752 | </plugin> |
| 753 | |
| 754 | <plugin> |
| 755 | <groupId>org.apache.maven.plugins</groupId> |
| 756 | <artifactId>maven-resources-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 757 | <version>3.1.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 758 | </plugin> |
| 759 | |
| 760 | <plugin> |
| 761 | <groupId>org.apache.felix</groupId> |
| 762 | <artifactId>maven-bundle-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 763 | <version>3.5.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 764 | <extensions>true</extensions> |
| 765 | <configuration> |
| 766 | <niceManifest>true</niceManifest> |
| 767 | </configuration> |
| 768 | </plugin> |
| 769 | |
| 770 | <plugin> |
| 771 | <groupId>org.apache.maven.plugins</groupId> |
| 772 | <artifactId>maven-shade-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 773 | <version>3.1.1</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 774 | </plugin> |
| 775 | |
| 776 | <plugin> |
| 777 | <groupId>org.apache.felix</groupId> |
| 778 | <artifactId>maven-scr-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 779 | <version>1.26.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 780 | <executions> |
| 781 | <execution> |
| 782 | <id>generate-scr-srcdescriptor</id> |
| 783 | <goals> |
| 784 | <goal>scr</goal> |
| 785 | </goals> |
| 786 | </execution> |
| 787 | </executions> |
| 788 | <configuration> |
| 789 | <supportedProjectTypes> |
| 790 | <supportedProjectType>bundle</supportedProjectType> |
| 791 | <supportedProjectType>war</supportedProjectType> |
| 792 | </supportedProjectTypes> |
| 793 | </configuration> |
| 794 | </plugin> |
| 795 | <plugin> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 796 | <groupId>com.github.spotbugs</groupId> |
| 797 | <artifactId>spotbugs-maven-plugin</artifactId> |
| 798 | <version>3.1.3</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 799 | <dependencies> |
| 800 | <dependency> |
| 801 | <groupId>org.onosproject</groupId> |
| 802 | <artifactId>onos-build-conf</artifactId> |
| 803 | <version>${onos-build-conf.version}</version> |
| 804 | </dependency> |
| 805 | </dependencies> |
| 806 | <configuration> |
| 807 | <effort>Max</effort> |
| 808 | <excludeFilterFile>onos/findbugs-suppressions.xml |
| 809 | </excludeFilterFile> |
| 810 | </configuration> |
| 811 | </plugin> |
| 812 | |
| 813 | <!-- This version needs to be updated manually when changes are made to onos-maven-plugin --> |
| 814 | <plugin> |
| 815 | <groupId>org.onosproject</groupId> |
| 816 | <artifactId>onos-maven-plugin</artifactId> |
| 817 | <version>${onos-maven-plugin.version}</version> |
| 818 | <executions> |
| 819 | <execution> |
| 820 | <id>cfg</id> |
| 821 | <phase>generate-resources</phase> |
| 822 | <goals> |
| 823 | <goal>cfg</goal> |
| 824 | </goals> |
| 825 | </execution> |
| 826 | <execution> |
| 827 | <id>swagger</id> |
| 828 | <phase>generate-sources</phase> |
| 829 | <goals> |
| 830 | <goal>swagger</goal> |
| 831 | </goals> |
| 832 | </execution> |
| 833 | <execution> |
| 834 | <id>app</id> |
| 835 | <phase>package</phase> |
| 836 | <goals> |
| 837 | <goal>app</goal> |
| 838 | </goals> |
| 839 | </execution> |
| 840 | </executions> |
| 841 | </plugin> |
Ray Milkey | 86d1b0a | 2017-05-16 15:15:08 -0700 | [diff] [blame] | 842 | |
| 843 | <plugin> |
| 844 | <groupId>org.onosproject</groupId> |
| 845 | <artifactId>onos-yang-compiler-maven-plugin</artifactId> |
| 846 | <version>${onos-yang-tools.version}</version> |
| 847 | <executions> |
| 848 | <execution> |
| 849 | <goals> |
| 850 | <goal>yang2java</goal> |
| 851 | </goals> |
| 852 | </execution> |
| 853 | </executions> |
| 854 | </plugin> |
Yuta HIGUCHI | 488a94c | 2018-01-26 17:24:09 -0800 | [diff] [blame] | 855 | |
| 856 | <plugin> |
| 857 | <groupId>org.apache.karaf.tooling</groupId> |
| 858 | <artifactId>karaf-maven-plugin</artifactId> |
| 859 | <version>${karaf.version}</version> |
| 860 | <extensions>true</extensions> |
| 861 | </plugin> |
| 862 | |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 863 | </plugins> |
| 864 | </pluginManagement> |
| 865 | |
| 866 | <plugins> |
| 867 | <plugin> |
| 868 | <groupId>org.apache.maven.plugins</groupId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 869 | <artifactId>maven-enforcer-plugin</artifactId> |
| 870 | <version>3.0.0-M1</version> |
| 871 | <executions> |
| 872 | <execution> |
| 873 | <id>enforce-maven</id> |
| 874 | <goals> |
| 875 | <goal>enforce</goal> |
| 876 | </goals> |
| 877 | <configuration> |
| 878 | <rules> |
| 879 | <requireMavenVersion> |
| 880 | <version>3.0.5</version> |
| 881 | </requireMavenVersion> |
| 882 | </rules> |
| 883 | </configuration> |
| 884 | </execution> |
| 885 | </executions> |
| 886 | </plugin> |
| 887 | |
| 888 | <plugin> |
| 889 | <groupId>org.apache.maven.plugins</groupId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 890 | <artifactId>maven-jar-plugin</artifactId> |
| 891 | </plugin> |
| 892 | |
| 893 | <plugin> |
| 894 | <groupId>org.apache.maven.plugins</groupId> |
| 895 | <artifactId>maven-checkstyle-plugin</artifactId> |
Yuta HIGUCHI | b6f9adb | 2018-01-26 17:56:17 -0800 | [diff] [blame] | 896 | <version>3.0.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 897 | <dependencies> |
| 898 | <dependency> |
| 899 | <groupId>org.onosproject</groupId> |
| 900 | <artifactId>onos-build-conf</artifactId> |
| 901 | <version>${onos-build-conf.version}</version> |
| 902 | </dependency> |
Ray Milkey | 2d572dd | 2017-04-14 10:01:24 -0700 | [diff] [blame] | 903 | <dependency> |
| 904 | <groupId>com.puppycrawl.tools</groupId> |
| 905 | <artifactId>checkstyle</artifactId> |
Yuta HIGUCHI | e7e71a8 | 2018-05-18 16:36:43 -0700 | [diff] [blame] | 906 | <version>8.10</version> |
Ray Milkey | 2d572dd | 2017-04-14 10:01:24 -0700 | [diff] [blame] | 907 | </dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 908 | </dependencies> |
| 909 | <configuration> |
Ray Milkey | 2d572dd | 2017-04-14 10:01:24 -0700 | [diff] [blame] | 910 | <configLocation>onos/checkstyle-mvn.xml</configLocation> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 911 | <suppressionsLocation>onos/suppressions.xml |
| 912 | </suppressionsLocation> |
Yuta HIGUCHI | 002f394 | 2017-08-18 10:54:26 -0700 | [diff] [blame] | 913 | <headerLocation>onos/onos-java.header</headerLocation> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 914 | <failsOnError>false</failsOnError> |
| 915 | <logViolationsToConsole>true</logViolationsToConsole> |
Yuta HIGUCHI | d919d9b | 2017-06-26 11:10:20 -0700 | [diff] [blame] | 916 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 917 | <includeResources>false</includeResources> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 918 | </configuration> |
| 919 | <executions> |
| 920 | <execution> |
| 921 | <id>validate-checkstyle</id> |
| 922 | <phase>verify</phase> |
| 923 | <goals> |
| 924 | <goal>check</goal> |
| 925 | </goals> |
| 926 | </execution> |
| 927 | </executions> |
| 928 | </plugin> |
| 929 | |
| 930 | <plugin> |
| 931 | <groupId>org.apache.maven.plugins</groupId> |
| 932 | <artifactId>maven-pmd-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 933 | <version>3.9.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 934 | <configuration> |
| 935 | <excludes> |
| 936 | </excludes> |
| 937 | <rulesets> |
| 938 | <ruleset>onos/pmd.xml</ruleset> |
| 939 | </rulesets> |
| 940 | </configuration> |
| 941 | <executions> |
| 942 | <execution> |
| 943 | <id>validate-pmd</id> |
| 944 | <phase>verify</phase> |
| 945 | <goals> |
| 946 | <!-- Uncomment this goal to make the build fail on pmd errors --> |
| 947 | <!--<goal>check</goal>--> |
| 948 | </goals> |
| 949 | </execution> |
| 950 | </executions> |
| 951 | </plugin> |
| 952 | |
| 953 | <plugin> |
| 954 | <groupId>org.jacoco</groupId> |
| 955 | <artifactId>jacoco-maven-plugin</artifactId> |
Yuta HIGUCHI | 40cc9d8 | 2018-05-18 14:09:06 -0700 | [diff] [blame] | 956 | <version>0.8.1</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 957 | <executions> |
| 958 | <execution> |
| 959 | <id>default-prepare-agent</id> |
| 960 | <goals> |
| 961 | <goal>prepare-agent</goal> |
| 962 | </goals> |
| 963 | </execution> |
| 964 | <execution> |
| 965 | <id>default-report</id> |
| 966 | <phase>prepare-package</phase> |
| 967 | <goals> |
| 968 | <goal>report</goal> |
| 969 | </goals> |
| 970 | </execution> |
| 971 | </executions> |
| 972 | </plugin> |
| 973 | </plugins> |
| 974 | </build> |
| 975 | |
| 976 | <reporting> |
| 977 | <plugins> |
| 978 | <plugin> |
| 979 | <groupId>org.apache.maven.plugins</groupId> |
| 980 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 981 | <configuration> |
| 982 | <configLocation>onos/checkstyle.xml</configLocation> |
| 983 | </configuration> |
| 984 | </plugin> |
| 985 | |
| 986 | <plugin> |
| 987 | <groupId>org.apache.maven.plugins</groupId> |
| 988 | <artifactId>maven-pmd-plugin</artifactId> |
| 989 | <configuration> |
| 990 | <excludes> |
| 991 | </excludes> |
| 992 | <rulesets> |
| 993 | <ruleset>onos/pmd.xml</ruleset> |
| 994 | </rulesets> |
| 995 | </configuration> |
| 996 | </plugin> |
| 997 | </plugins> |
| 998 | </reporting> |
| 999 | </project> |