Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Brian O'Connor | 0a4e674 | 2016-09-15 23:03:10 -0700 | [diff] [blame] | 3 | ~ Copyright 2016-present Open Networking Laboratory |
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 | 08b03a9 | 2017-05-15 11:26:33 -0700 | [diff] [blame] | 32 | <version>1.11.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 | |
| 37 | <properties> |
| 38 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Ray Milkey | 08b03a9 | 2017-05-15 11:26:33 -0700 | [diff] [blame] | 39 | <onos-build-conf.version>1.11.0-SNAPSHOT</onos-build-conf.version> |
Jonathan Hart | 5dc9a4e | 2017-01-13 09:09:57 -0800 | [diff] [blame] | 40 | <netty4.version>4.1.5.Final</netty4.version> |
Ray Milkey | b900a0c | 2017-05-12 09:00:22 -0700 | [diff] [blame] | 41 | <openflowj.version>0.9.8.onos</openflowj.version> |
Thomas Vachuska | e5428c5 | 2016-08-09 13:27:06 -0700 | [diff] [blame] | 42 | <onos-maven-plugin.version>1.10</onos-maven-plugin.version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 43 | <osgi.version>5.0.0</osgi.version> |
Jon Hall | b84df5d | 2017-01-31 11:19:48 -0800 | [diff] [blame] | 44 | <karaf.version>3.0.8</karaf.version> |
Jian Li | 112890b | 2017-04-25 22:27:49 +0900 | [diff] [blame] | 45 | <jersey.version>2.25.1</jersey.version> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 46 | <jetty.version>9.2.21.v20170120</jetty.version> |
Jian Li | 43f103d | 2017-02-03 02:00:35 +0900 | [diff] [blame] | 47 | <jackson.version>2.8.6</jackson.version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 48 | <slf4j.version>1.7.21</slf4j.version> |
| 49 | <guava.version>19.0</guava.version> |
| 50 | <commons.io.version>2.4</commons.io.version> |
| 51 | <!-- TODO argLine was originally added maven-surfire-plugin configuration |
| 52 | to fix locale errors for non-US developers. However, it breaks |
| 53 | SonarQube's test coverage, so moving here for now. --> |
| 54 | <argLine>-Duser.language=en -Duser.region=US</argLine> |
| 55 | </properties> |
| 56 | |
| 57 | <dependencyManagement> |
| 58 | <dependencies> |
| 59 | <dependency> |
| 60 | <groupId>junit</groupId> |
| 61 | <artifactId>junit</artifactId> |
| 62 | <version>4.12</version> |
| 63 | <scope>test</scope> |
| 64 | </dependency> |
| 65 | |
| 66 | <dependency> |
| 67 | <groupId>org.hamcrest</groupId> |
| 68 | <artifactId>hamcrest-core</artifactId> |
| 69 | <version>1.3</version> |
| 70 | <scope>test</scope> |
| 71 | </dependency> |
| 72 | <dependency> |
| 73 | <groupId>org.hamcrest</groupId> |
| 74 | <artifactId>hamcrest-library</artifactId> |
| 75 | <version>1.3</version> |
| 76 | <scope>test</scope> |
| 77 | </dependency> |
| 78 | |
| 79 | <dependency> |
| 80 | <groupId>org.slf4j</groupId> |
| 81 | <artifactId>slf4j-api</artifactId> |
| 82 | <version>${slf4j.version}</version> |
| 83 | <scope>provided</scope> |
| 84 | </dependency> |
| 85 | |
| 86 | <dependency> |
| 87 | <groupId>org.slf4j</groupId> |
| 88 | <artifactId>slf4j-core</artifactId> |
| 89 | <version>${slf4j.version}</version> |
| 90 | <scope>test</scope> |
| 91 | </dependency> |
| 92 | |
| 93 | <dependency> |
| 94 | <groupId>org.slf4j</groupId> |
| 95 | <artifactId>slf4j-jdk14</artifactId> |
| 96 | <version>${slf4j.version}</version> |
| 97 | <scope>test</scope> |
| 98 | </dependency> |
| 99 | |
| 100 | <dependency> |
| 101 | <groupId>com.google.guava</groupId> |
| 102 | <artifactId>guava</artifactId> |
| 103 | <version>${guava.version}</version> |
| 104 | </dependency> |
| 105 | |
| 106 | <dependency> |
| 107 | <groupId>com.google.guava</groupId> |
| 108 | <artifactId>guava-testlib</artifactId> |
| 109 | <version>${guava.version}</version> |
| 110 | <scope>test</scope> |
| 111 | </dependency> |
| 112 | |
| 113 | <dependency> |
| 114 | <groupId>com.googlecode.concurrent-trees</groupId> |
| 115 | <artifactId>concurrent-trees</artifactId> |
Yuta HIGUCHI | 9da6845 | 2017-01-06 11:45:02 -0800 | [diff] [blame] | 116 | <version>2.6.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 117 | </dependency> |
| 118 | |
| 119 | <dependency> |
| 120 | <groupId>commons-lang</groupId> |
| 121 | <artifactId>commons-lang</artifactId> |
| 122 | <version>2.6</version> |
| 123 | </dependency> |
| 124 | |
| 125 | <dependency> |
| 126 | <groupId>org.apache.commons</groupId> |
| 127 | <artifactId>commons-lang3</artifactId> |
Yuta HIGUCHI | 5fd61a8 | 2017-02-02 12:30:38 -0800 | [diff] [blame] | 128 | <version>3.5</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 129 | </dependency> |
| 130 | |
| 131 | <dependency> |
| 132 | <groupId>commons-configuration</groupId> |
| 133 | <artifactId>commons-configuration</artifactId> |
| 134 | <version>1.10</version> |
| 135 | </dependency> |
| 136 | |
| 137 | <dependency> |
| 138 | <groupId>commons-collections</groupId> |
| 139 | <artifactId>commons-collections</artifactId> |
| 140 | <version>3.2.2</version> |
| 141 | </dependency> |
| 142 | |
| 143 | <dependency> |
| 144 | <groupId>commons-pool</groupId> |
| 145 | <artifactId>commons-pool</artifactId> |
| 146 | <version>1.6</version> |
| 147 | </dependency> |
| 148 | |
| 149 | <dependency> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 150 | <groupId>commons-logging</groupId> |
| 151 | <artifactId>commons-logging</artifactId> |
| 152 | <version>1.2</version> |
| 153 | </dependency> |
| 154 | |
| 155 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 156 | <groupId>org.easymock</groupId> |
| 157 | <artifactId>easymock</artifactId> |
| 158 | <version>3.4</version> |
| 159 | <scope>test</scope> |
| 160 | </dependency> |
| 161 | |
| 162 | <!-- Web related --> |
| 163 | <dependency> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 164 | <groupId>javax.servlet</groupId> |
| 165 | <artifactId>javax.servlet-api</artifactId> |
| 166 | <version>3.1.0</version> |
| 167 | <scope>test</scope> |
| 168 | </dependency> |
| 169 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 170 | <groupId>org.glassfish.jersey.core</groupId> |
| 171 | <artifactId>jersey-client</artifactId> |
| 172 | <version>${jersey.version}</version> |
| 173 | </dependency> |
| 174 | <dependency> |
| 175 | <groupId>org.glassfish.jersey.containers</groupId> |
| 176 | <artifactId>jersey-container-servlet</artifactId> |
| 177 | <version>${jersey.version}</version> |
| 178 | <scope>provided</scope> |
| 179 | </dependency> |
| 180 | <dependency> |
| 181 | <groupId>org.glassfish.jersey.containers</groupId> |
| 182 | <artifactId>jersey-container-servlet-core</artifactId> |
| 183 | <version>${jersey.version}</version> |
| 184 | <scope>provided</scope> |
| 185 | </dependency> |
| 186 | <dependency> |
| 187 | <groupId>org.glassfish.jersey.media</groupId> |
| 188 | <artifactId>jersey-media-multipart</artifactId> |
| 189 | <version>${jersey.version}</version> |
| 190 | <scope>provided</scope> |
| 191 | </dependency> |
| 192 | <dependency> |
| 193 | <groupId>org.glassfish.jersey.test-framework</groupId> |
| 194 | <artifactId>jersey-test-framework-core</artifactId> |
| 195 | <version>${jersey.version}</version> |
| 196 | <scope>test</scope> |
| 197 | </dependency> |
| 198 | <dependency> |
| 199 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 200 | <artifactId>jersey-test-framework-provider-jetty</artifactId> |
| 201 | <version>${jersey.version}</version> |
| 202 | <scope>test</scope> |
| 203 | </dependency> |
| 204 | <dependency> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 205 | <groupId>org.eclipse.jetty</groupId> |
| 206 | <artifactId>jetty-server</artifactId> |
| 207 | <version>${jetty.version}</version> |
| 208 | <scope>test</scope> |
| 209 | </dependency> |
| 210 | <dependency> |
| 211 | <groupId>org.eclipse.jetty</groupId> |
| 212 | <artifactId>jetty-util</artifactId> |
| 213 | <version>${jetty.version}</version> |
| 214 | </dependency> |
| 215 | <dependency> |
| 216 | <groupId>org.eclipse.jetty</groupId> |
| 217 | <artifactId>jetty-io</artifactId> |
| 218 | <version>${jetty.version}</version> |
| 219 | </dependency> |
| 220 | <dependency> |
| 221 | <groupId>org.eclipse.jetty</groupId> |
| 222 | <artifactId>jetty-http</artifactId> |
| 223 | <version>${jetty.version}</version> |
| 224 | </dependency> |
| 225 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 226 | <groupId>com.fasterxml.jackson.core</groupId> |
| 227 | <artifactId>jackson-databind</artifactId> |
| 228 | <version>${jackson.version}</version> |
| 229 | <scope>provided</scope> |
| 230 | </dependency> |
| 231 | <dependency> |
| 232 | <groupId>com.fasterxml.jackson.core</groupId> |
| 233 | <artifactId>jackson-annotations</artifactId> |
| 234 | <version>${jackson.version}</version> |
| 235 | <scope>provided</scope> |
| 236 | </dependency> |
| 237 | |
| 238 | <!-- OSGi related --> |
| 239 | <dependency> |
| 240 | <groupId>org.osgi</groupId> |
| 241 | <artifactId>org.osgi.core</artifactId> |
| 242 | <version>${osgi.version}</version> |
| 243 | <scope>provided</scope> |
| 244 | </dependency> |
| 245 | <dependency> |
| 246 | <groupId>org.osgi</groupId> |
| 247 | <artifactId>org.osgi.compendium</artifactId> |
| 248 | <version>${osgi.version}</version> |
| 249 | <scope>provided</scope> |
| 250 | </dependency> |
| 251 | <dependency> |
| 252 | <groupId>org.apache.felix</groupId> |
| 253 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 254 | <version>1.9.12</version> |
| 255 | <scope>provided</scope> |
| 256 | </dependency> |
| 257 | <dependency> |
| 258 | <groupId>org.apache.felix</groupId> |
| 259 | <artifactId>org.apache.felix.scr</artifactId> |
| 260 | <version>1.8.2</version> |
| 261 | </dependency> |
| 262 | |
| 263 | <dependency> |
| 264 | <groupId>org.apache.karaf.features</groupId> |
| 265 | <artifactId>org.apache.karaf.features.core</artifactId> |
| 266 | <version>${karaf.version}</version> |
| 267 | <scope>provided</scope> |
| 268 | </dependency> |
| 269 | <dependency> |
| 270 | <groupId>org.apache.karaf.system</groupId> |
| 271 | <artifactId>org.apache.karaf.system.core</artifactId> |
| 272 | <version>${karaf.version}</version> |
| 273 | <scope>provided</scope> |
| 274 | </dependency> |
| 275 | <dependency> |
| 276 | <groupId>org.apache.karaf.shell</groupId> |
| 277 | <artifactId>org.apache.karaf.shell.console</artifactId> |
| 278 | <version>${karaf.version}</version> |
| 279 | <scope>provided</scope> |
| 280 | </dependency> |
| 281 | |
| 282 | <dependency> |
| 283 | <groupId>org.livetribe.slp</groupId> |
| 284 | <artifactId>livetribe-slp</artifactId> |
| 285 | <version>2.2.1</version> |
| 286 | </dependency> |
| 287 | |
| 288 | <dependency> |
| 289 | <groupId>com.eclipsesource.minimal-json</groupId> |
| 290 | <artifactId>minimal-json</artifactId> |
| 291 | <version>0.9.4</version> |
| 292 | </dependency> |
| 293 | <dependency> |
| 294 | <groupId>com.esotericsoftware</groupId> |
| 295 | <artifactId>kryo</artifactId> |
Yuta HIGUCHI | 86f142f | 2016-07-09 17:44:09 -0700 | [diff] [blame] | 296 | <version>4.0.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 297 | </dependency> |
| 298 | <dependency> |
| 299 | <groupId>com.esotericsoftware</groupId> |
| 300 | <artifactId>reflectasm</artifactId> |
Yuta HIGUCHI | 86f142f | 2016-07-09 17:44:09 -0700 | [diff] [blame] | 301 | <version>1.11.3</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 302 | </dependency> |
| 303 | <dependency> |
| 304 | <groupId>org.ow2.asm</groupId> |
| 305 | <artifactId>asm</artifactId> |
Yuta HIGUCHI | 86f142f | 2016-07-09 17:44:09 -0700 | [diff] [blame] | 306 | <version>5.0.4</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 307 | </dependency> |
| 308 | <dependency> |
| 309 | <groupId>com.esotericsoftware</groupId> |
| 310 | <artifactId>minlog</artifactId> |
| 311 | <version>1.3.0</version> |
| 312 | </dependency> |
| 313 | <dependency> |
| 314 | <groupId>org.objenesis</groupId> |
| 315 | <artifactId>objenesis</artifactId> |
| 316 | <version>2.2</version> |
| 317 | </dependency> |
| 318 | |
| 319 | <!-- Netty related; for now we require both 3.10.x and 4 --> |
| 320 | <dependency> |
| 321 | <groupId>io.netty</groupId> |
| 322 | <artifactId>netty</artifactId> |
| 323 | <version>3.10.5.Final</version> |
| 324 | </dependency> |
| 325 | |
| 326 | <dependency> |
| 327 | <groupId>io.netty</groupId> |
| 328 | <artifactId>netty-common</artifactId> |
| 329 | <version>${netty4.version}</version> |
| 330 | </dependency> |
| 331 | <dependency> |
| 332 | <groupId>io.netty</groupId> |
| 333 | <artifactId>netty-buffer</artifactId> |
| 334 | <version>${netty4.version}</version> |
| 335 | </dependency> |
| 336 | <dependency> |
| 337 | <groupId>io.netty</groupId> |
| 338 | <artifactId>netty-transport</artifactId> |
| 339 | <version>${netty4.version}</version> |
| 340 | </dependency> |
| 341 | <dependency> |
| 342 | <groupId>io.netty</groupId> |
| 343 | <artifactId>netty-handler</artifactId> |
| 344 | <version>${netty4.version}</version> |
| 345 | </dependency> |
| 346 | |
| 347 | <dependency> |
| 348 | <groupId>io.netty</groupId> |
| 349 | <artifactId>netty-codec</artifactId> |
| 350 | <version>${netty4.version}</version> |
| 351 | </dependency> |
| 352 | |
| 353 | <dependency> |
| 354 | <groupId>io.netty</groupId> |
| 355 | <artifactId>netty-transport-native-epoll</artifactId> |
| 356 | <version>${netty4.version}</version> |
| 357 | <classifier>${os.detected.classifier}</classifier> |
| 358 | </dependency> |
| 359 | |
| 360 | <dependency> |
Jonathan Hart | 5dc9a4e | 2017-01-13 09:09:57 -0800 | [diff] [blame] | 361 | <groupId>io.netty</groupId> |
| 362 | <artifactId>netty-resolver</artifactId> |
| 363 | <version>${netty4.version}</version> |
| 364 | </dependency> |
| 365 | |
| 366 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 367 | <groupId>joda-time</groupId> |
| 368 | <artifactId>joda-time</artifactId> |
| 369 | <version>2.9.3</version> |
| 370 | </dependency> |
| 371 | |
| 372 | <dependency> |
| 373 | <groupId>com.google.code.findbugs</groupId> |
| 374 | <artifactId>jsr305</artifactId> |
| 375 | <version>3.0.1</version> |
| 376 | </dependency> |
| 377 | |
| 378 | <dependency> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 379 | <groupId>com.google.errorprone</groupId> |
| 380 | <artifactId>error_prone_annotations</artifactId> |
| 381 | <version>2.0.11</version> |
| 382 | </dependency> |
| 383 | |
| 384 | <dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 385 | <groupId>org.onosproject</groupId> |
| 386 | <artifactId>openflowj</artifactId> |
| 387 | <version>${openflowj.version}</version> |
| 388 | <scope>provided</scope> |
| 389 | </dependency> |
| 390 | </dependencies> |
| 391 | </dependencyManagement> |
| 392 | |
| 393 | <dependencies> |
| 394 | <dependency> |
| 395 | <groupId>junit</groupId> |
| 396 | <artifactId>junit</artifactId> |
| 397 | </dependency> |
| 398 | <dependency> |
| 399 | <groupId>org.hamcrest</groupId> |
| 400 | <artifactId>hamcrest-core</artifactId> |
| 401 | </dependency> |
| 402 | <dependency> |
| 403 | <groupId>org.hamcrest</groupId> |
| 404 | <artifactId>hamcrest-library</artifactId> |
| 405 | </dependency> |
| 406 | <dependency> |
| 407 | <groupId>org.slf4j</groupId> |
| 408 | <artifactId>slf4j-api</artifactId> |
| 409 | </dependency> |
| 410 | <dependency> |
| 411 | <groupId>org.slf4j</groupId> |
| 412 | <artifactId>slf4j-jdk14</artifactId> |
| 413 | </dependency> |
| 414 | <!-- TODO sonar-maven-plugin prints the following ERROR many times: |
| 415 | Class not found: javax.annotation.Nullable |
| 416 | The following dependency alleviates this problem, but perhaps |
| 417 | it can be better located in the future. --> |
| 418 | <dependency> |
| 419 | <groupId>com.google.code.findbugs</groupId> |
| 420 | <artifactId>jsr305</artifactId> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 421 | </dependency> |
| 422 | </dependencies> |
| 423 | |
| 424 | <build> |
| 425 | <pluginManagement> |
| 426 | <plugins> |
| 427 | <plugin> |
| 428 | <groupId>org.apache.maven.plugins</groupId> |
| 429 | <artifactId>maven-compiler-plugin</artifactId> |
| 430 | <!-- TODO: update once following issue is fixed. --> |
| 431 | <!-- https://jira.codehaus.org/browse/MCOMPILER-205 --> |
| 432 | <version>2.5.1</version> |
| 433 | <configuration> |
| 434 | <source>1.8</source> |
| 435 | <target>1.8</target> |
| 436 | </configuration> |
| 437 | </plugin> |
| 438 | |
| 439 | <plugin> |
| 440 | <groupId>org.apache.maven.plugins</groupId> |
| 441 | <artifactId>maven-surefire-plugin</artifactId> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 442 | <version>2.20</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 443 | <configuration> |
| 444 | <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| 445 | <printSummary>true</printSummary> |
| 446 | <excludedGroups>org.onlab.junit.IntegrationTest |
| 447 | </excludedGroups> |
| 448 | <rerunFailingTestsCount>1</rerunFailingTestsCount> |
| 449 | </configuration> |
| 450 | </plugin> |
| 451 | <plugin> |
| 452 | <groupId>org.apache.maven.plugins</groupId> |
| 453 | <artifactId>maven-javadoc-plugin</artifactId> |
Yuta HIGUCHI | 86fbe14 | 2016-07-20 15:22:00 -0700 | [diff] [blame] | 454 | <version>2.10.4</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 455 | <configuration> |
| 456 | <tags> |
| 457 | <tag> |
| 458 | <name>onos.rsModel</name> |
| 459 | <placement>m</placement> |
| 460 | <head>Json model for REST api:</head> |
| 461 | </tag> |
| 462 | </tags> |
| 463 | </configuration> |
| 464 | </plugin> |
| 465 | <plugin> |
| 466 | <groupId>org.apache.maven.plugins</groupId> |
| 467 | <artifactId>maven-jar-plugin</artifactId> |
Yuta HIGUCHI | 86fbe14 | 2016-07-20 15:22:00 -0700 | [diff] [blame] | 468 | <version>3.0.2</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 469 | <configuration> |
| 470 | <skipIfEmpty>true</skipIfEmpty> |
| 471 | </configuration> |
| 472 | <executions> |
| 473 | <execution> |
| 474 | <id>default</id> |
| 475 | <goals> |
| 476 | <goal>test-jar</goal> |
| 477 | </goals> |
| 478 | </execution> |
| 479 | </executions> |
| 480 | </plugin> |
| 481 | |
| 482 | <plugin> |
| 483 | <groupId>org.apache.maven.plugins</groupId> |
| 484 | <artifactId>maven-resources-plugin</artifactId> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 485 | <version>3.0.2</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 486 | </plugin> |
| 487 | |
| 488 | <plugin> |
| 489 | <groupId>org.apache.felix</groupId> |
| 490 | <artifactId>maven-bundle-plugin</artifactId> |
Yuta HIGUCHI | 86fbe14 | 2016-07-20 15:22:00 -0700 | [diff] [blame] | 491 | <version>3.2.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 492 | <extensions>true</extensions> |
| 493 | <configuration> |
| 494 | <niceManifest>true</niceManifest> |
| 495 | </configuration> |
| 496 | </plugin> |
| 497 | |
| 498 | <plugin> |
| 499 | <groupId>org.apache.maven.plugins</groupId> |
| 500 | <artifactId>maven-shade-plugin</artifactId> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 501 | <version>3.0.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 502 | </plugin> |
| 503 | |
| 504 | <plugin> |
| 505 | <groupId>org.apache.felix</groupId> |
| 506 | <artifactId>maven-scr-plugin</artifactId> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 507 | <version>1.24.0</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 508 | <executions> |
| 509 | <execution> |
| 510 | <id>generate-scr-srcdescriptor</id> |
| 511 | <goals> |
| 512 | <goal>scr</goal> |
| 513 | </goals> |
| 514 | </execution> |
| 515 | </executions> |
| 516 | <configuration> |
| 517 | <supportedProjectTypes> |
| 518 | <supportedProjectType>bundle</supportedProjectType> |
| 519 | <supportedProjectType>war</supportedProjectType> |
| 520 | </supportedProjectTypes> |
| 521 | </configuration> |
| 522 | </plugin> |
| 523 | <plugin> |
| 524 | <groupId>org.codehaus.mojo</groupId> |
| 525 | <artifactId>findbugs-maven-plugin</artifactId> |
Yuta HIGUCHI | 86fbe14 | 2016-07-20 15:22:00 -0700 | [diff] [blame] | 526 | <version>3.0.4</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 527 | <dependencies> |
| 528 | <dependency> |
| 529 | <groupId>org.onosproject</groupId> |
| 530 | <artifactId>onos-build-conf</artifactId> |
| 531 | <version>${onos-build-conf.version}</version> |
| 532 | </dependency> |
| 533 | </dependencies> |
| 534 | <configuration> |
| 535 | <effort>Max</effort> |
| 536 | <excludeFilterFile>onos/findbugs-suppressions.xml |
| 537 | </excludeFilterFile> |
| 538 | </configuration> |
| 539 | </plugin> |
| 540 | |
| 541 | <!-- This version needs to be updated manually when changes are made to onos-maven-plugin --> |
| 542 | <plugin> |
| 543 | <groupId>org.onosproject</groupId> |
| 544 | <artifactId>onos-maven-plugin</artifactId> |
| 545 | <version>${onos-maven-plugin.version}</version> |
| 546 | <executions> |
| 547 | <execution> |
| 548 | <id>cfg</id> |
| 549 | <phase>generate-resources</phase> |
| 550 | <goals> |
| 551 | <goal>cfg</goal> |
| 552 | </goals> |
| 553 | </execution> |
| 554 | <execution> |
| 555 | <id>swagger</id> |
| 556 | <phase>generate-sources</phase> |
| 557 | <goals> |
| 558 | <goal>swagger</goal> |
| 559 | </goals> |
| 560 | </execution> |
| 561 | <execution> |
| 562 | <id>app</id> |
| 563 | <phase>package</phase> |
| 564 | <goals> |
| 565 | <goal>app</goal> |
| 566 | </goals> |
| 567 | </execution> |
| 568 | </executions> |
| 569 | </plugin> |
| 570 | </plugins> |
| 571 | </pluginManagement> |
| 572 | |
| 573 | <plugins> |
| 574 | <plugin> |
| 575 | <groupId>org.apache.maven.plugins</groupId> |
| 576 | <artifactId>maven-jar-plugin</artifactId> |
| 577 | </plugin> |
| 578 | |
| 579 | <plugin> |
| 580 | <groupId>org.apache.maven.plugins</groupId> |
| 581 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 582 | <version>2.17</version> |
| 583 | <dependencies> |
| 584 | <dependency> |
| 585 | <groupId>org.onosproject</groupId> |
| 586 | <artifactId>onos-build-conf</artifactId> |
| 587 | <version>${onos-build-conf.version}</version> |
| 588 | </dependency> |
Ray Milkey | 2d572dd | 2017-04-14 10:01:24 -0700 | [diff] [blame] | 589 | <dependency> |
| 590 | <groupId>com.puppycrawl.tools</groupId> |
| 591 | <artifactId>checkstyle</artifactId> |
| 592 | <version>6.19</version> |
| 593 | </dependency> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 594 | </dependencies> |
| 595 | <configuration> |
| 596 | <!-- begin: workaround for unexpected NullPointerException on Eclipse --> |
| 597 | <sourceDirectory>${project.build.sourceDirectory} |
| 598 | </sourceDirectory> |
| 599 | <testSourceDirectory>${project.build.testSourceDirectory} |
| 600 | </testSourceDirectory> |
| 601 | <!-- end: workaround for unexpected NullPointerException on Eclipse --> |
Ray Milkey | 2d572dd | 2017-04-14 10:01:24 -0700 | [diff] [blame] | 602 | <configLocation>onos/checkstyle-mvn.xml</configLocation> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 603 | <suppressionsLocation>onos/suppressions.xml |
| 604 | </suppressionsLocation> |
Ray Milkey | 2d572dd | 2017-04-14 10:01:24 -0700 | [diff] [blame] | 605 | <headerLocation>onos/onos-java.header |
| 606 | </headerLocation> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 607 | <failsOnError>false</failsOnError> |
| 608 | <logViolationsToConsole>true</logViolationsToConsole> |
| 609 | <includeTestSourceDirectory>true |
| 610 | </includeTestSourceDirectory> |
| 611 | </configuration> |
| 612 | <executions> |
| 613 | <execution> |
| 614 | <id>validate-checkstyle</id> |
| 615 | <phase>verify</phase> |
| 616 | <goals> |
| 617 | <goal>check</goal> |
| 618 | </goals> |
| 619 | </execution> |
| 620 | </executions> |
| 621 | </plugin> |
| 622 | |
| 623 | <plugin> |
| 624 | <groupId>org.apache.maven.plugins</groupId> |
| 625 | <artifactId>maven-pmd-plugin</artifactId> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 626 | <version>3.7</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 627 | <configuration> |
| 628 | <excludes> |
| 629 | </excludes> |
| 630 | <rulesets> |
| 631 | <ruleset>onos/pmd.xml</ruleset> |
| 632 | </rulesets> |
| 633 | </configuration> |
| 634 | <executions> |
| 635 | <execution> |
| 636 | <id>validate-pmd</id> |
| 637 | <phase>verify</phase> |
| 638 | <goals> |
| 639 | <!-- Uncomment this goal to make the build fail on pmd errors --> |
| 640 | <!--<goal>check</goal>--> |
| 641 | </goals> |
| 642 | </execution> |
| 643 | </executions> |
| 644 | </plugin> |
| 645 | |
| 646 | <plugin> |
| 647 | <groupId>org.jacoco</groupId> |
| 648 | <artifactId>jacoco-maven-plugin</artifactId> |
Yuta HIGUCHI | f5e7ef8 | 2017-04-21 11:12:52 -0700 | [diff] [blame] | 649 | <version>0.7.9</version> |
Thomas Vachuska | 4397757 | 2016-06-02 13:48:55 -0700 | [diff] [blame] | 650 | <executions> |
| 651 | <execution> |
| 652 | <id>default-prepare-agent</id> |
| 653 | <goals> |
| 654 | <goal>prepare-agent</goal> |
| 655 | </goals> |
| 656 | </execution> |
| 657 | <execution> |
| 658 | <id>default-report</id> |
| 659 | <phase>prepare-package</phase> |
| 660 | <goals> |
| 661 | <goal>report</goal> |
| 662 | </goals> |
| 663 | </execution> |
| 664 | </executions> |
| 665 | </plugin> |
| 666 | </plugins> |
| 667 | </build> |
| 668 | |
| 669 | <reporting> |
| 670 | <plugins> |
| 671 | <plugin> |
| 672 | <groupId>org.apache.maven.plugins</groupId> |
| 673 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 674 | <configuration> |
| 675 | <configLocation>onos/checkstyle.xml</configLocation> |
| 676 | </configuration> |
| 677 | </plugin> |
| 678 | |
| 679 | <plugin> |
| 680 | <groupId>org.apache.maven.plugins</groupId> |
| 681 | <artifactId>maven-pmd-plugin</artifactId> |
| 682 | <configuration> |
| 683 | <excludes> |
| 684 | </excludes> |
| 685 | <rulesets> |
| 686 | <ruleset>onos/pmd.xml</ruleset> |
| 687 | </rulesets> |
| 688 | </configuration> |
| 689 | </plugin> |
| 690 | </plugins> |
| 691 | </reporting> |
| 692 | </project> |