Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 1 | def define_license(name): |
| 2 | n = 'LICENSE-' + name |
| 3 | genrule( |
| 4 | name = n, |
| 5 | cmd = 'ln -s $SRCS $OUT', |
| 6 | srcs = [n], |
| 7 | out = n, |
| 8 | visibility = ['PUBLIC'], |
| 9 | ) |
| 10 | |
| 11 | define_license(name = 'Apache2.0') |
| 12 | |
| 13 | include_defs('//bucklets/maven_jar.bucklet') |
| 14 | |
| 15 | java_library( |
| 16 | name = 'COMPILE', |
| 17 | visibility = ['PUBLIC'], |
| 18 | exported_deps = [ |
| 19 | ':joda-time', |
| 20 | ':commons-configuration', |
| 21 | ':commons-logging', |
| 22 | ':commons-collections', |
| 23 | ':commons-lang3', |
| 24 | ':commons-io', |
| 25 | ':commons-pool', |
| 26 | ':objenesis', |
| 27 | ':guava', |
| 28 | ':netty', |
| 29 | ':netty-common', |
| 30 | ':commons-lang', |
| 31 | ':minimal-json', |
| 32 | ':kryo', |
| 33 | ':reflectasm', |
| 34 | ':asm', |
| 35 | ':minlog', |
| 36 | ':metrics-core', |
| 37 | ':metrics-json', |
| 38 | ':slf4j-api', |
| 39 | ':osgi-core', |
| 40 | ':org.osgi.compendium', |
| 41 | ':org.apache.felix.scr.annotations', |
| 42 | ':org.apache.felix.scr', |
| 43 | ':jackson-annotations', |
| 44 | ':jackson-core', |
| 45 | ':jackson-databind', |
| 46 | ':org.apache.karaf.features.core', |
| 47 | ':org.apache.karaf.system.core', |
| 48 | |
| 49 | # Is this still needed? |
| 50 | ':jsr305', |
| 51 | ], |
| 52 | ) |
| 53 | |
| 54 | java_library( |
| 55 | name = 'CORE_DEPS', |
| 56 | visibility = ['PUBLIC'], |
| 57 | exported_deps = [ |
| 58 | ':COMPILE', |
| 59 | '//core/api:onos-api', |
| 60 | '//utils/misc:onlab-misc', |
| 61 | '//utils/osgi:onlab-osgi', |
| 62 | ], |
| 63 | ) |
| 64 | |
| 65 | java_library( |
| 66 | name = 'TEST', |
| 67 | visibility = ['PUBLIC'], |
| 68 | exported_deps = [ |
| 69 | ':junit', |
| 70 | ':easymock', |
| 71 | ':hamcrest-core', |
| 72 | ':hamcrest-library', |
| 73 | ':hamcrest-all', |
| 74 | ':guava-testlib', |
| 75 | '//utils/junit:onlab-junit', |
| 76 | ], |
| 77 | ) |
| 78 | |
| 79 | maven_jar( |
| 80 | name = 'minimal-json', |
| 81 | id = 'com.eclipsesource.minimal-json:minimal-json:0.9.4', |
| 82 | sha1 = 'd6e7dd22569de97c2697a4af301a623f35028972', |
| 83 | license = 'Apache2.0', |
| 84 | ) |
| 85 | |
| 86 | maven_jar( |
| 87 | name = 'kryo', |
| 88 | id = 'com.esotericsoftware:kryo:3.0.0', |
| 89 | sha1 = '86f0de889ece7c30115d27d1c56246fd509201a8', |
| 90 | license = 'Apache2.0', |
| 91 | ) |
| 92 | |
| 93 | maven_jar( |
| 94 | name = 'minlog', |
| 95 | id = 'com.esotericsoftware:minlog:1.3.0', |
| 96 | sha1 = 'ff07b5f1b01d2f92bb00a337f9a94873712f0827', |
| 97 | license = 'Apache2.0', |
| 98 | ) |
| 99 | |
| 100 | maven_jar( |
| 101 | name = 'reflectasm', |
| 102 | id = 'com.esotericsoftware:reflectasm:1.11.0', |
| 103 | sha1 = 'f747d8b017a26bac575f8da14e8c1df6aecd3154', |
| 104 | license = 'Apache2.0', |
| 105 | ) |
| 106 | |
| 107 | maven_jar( |
| 108 | name = 'jackson-annotations', |
| 109 | id = 'com.fasterxml.jackson.core:jackson-annotations:2.7.0', |
| 110 | sha1 = '19f42c154ffc689f40a77613bc32caeb17d744e3', |
| 111 | license = 'Apache2.0', |
| 112 | ) |
| 113 | |
| 114 | maven_jar( |
| 115 | name = 'org.apache.felix.scr', |
| 116 | id = 'org.apache.felix:org.apache.felix.scr:1.8.2', |
| 117 | sha1 = 'c3047d56ee57de0752821fd9c3894dda664f2e37', |
| 118 | license = 'Apache2.0', |
| 119 | ) |
| 120 | |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 121 | maven_jar( |
| 122 | name = 'jackson-core', |
| 123 | id = 'com.fasterxml.jackson.core:jackson-core:2.7.0', |
| 124 | sha1 = '05f2bfd0866bcacbcc7c25ce25f80b5aeed0f72f', |
| 125 | license = 'Apache2.0', |
| 126 | ) |
| 127 | |
| 128 | maven_jar( |
| 129 | name = 'jackson-databind', |
| 130 | id = 'com.fasterxml.jackson.core:jackson-databind:2.7.0', |
| 131 | sha1 = '7d3430de9f2b600b074ba3bc007edcfbc4bbf4fb', |
| 132 | license = 'Apache2.0', |
| 133 | ) |
| 134 | |
| 135 | maven_jar( |
| 136 | name = 'jsr305', |
| 137 | id = 'com.google.code.findbugs:jsr305:3.0.1', |
| 138 | sha1 = 'f7be08ec23c21485b9b5a1cf1654c2ec8c58168d', |
| 139 | license = 'Apache2.0', |
| 140 | ) |
| 141 | |
| 142 | maven_jar( |
| 143 | name = 'error_prone_annotations', |
| 144 | id = 'com.google.errorprone:error_prone_annotations:2.0.2', |
| 145 | sha1 = '8382c6cdc18c8c8ad7840024fa340509cf16be11', |
| 146 | license = 'Apache2.0', |
| 147 | ) |
| 148 | |
| 149 | maven_jar( |
| 150 | name = 'guava', |
| 151 | id = 'com.google.guava:guava:19.0', |
| 152 | sha1 = '6ce200f6b23222af3d8abb6b6459e6c44f4bb0e9', |
| 153 | license = 'Apache2.0', |
| 154 | ) |
| 155 | |
| 156 | maven_jar( |
| 157 | name = 'guava-testlib', |
| 158 | id = 'com.google.guava:guava-testlib:19.0', |
| 159 | sha1 = 'ce5b880b206de3f76d364988a6308c68c726f74a', |
| 160 | license = 'Apache2.0', |
| 161 | ) |
| 162 | |
| 163 | maven_jar( |
| 164 | name = 'commons-collections', |
| 165 | id = 'commons-collections:commons-collections:3.2.2', |
| 166 | sha1 = '8ad72fe39fa8c91eaaf12aadb21e0c3661fe26d5', |
| 167 | license = 'Apache2.0', |
| 168 | ) |
| 169 | |
| 170 | maven_jar( |
| 171 | name = 'commons-configuration', |
| 172 | id = 'commons-configuration:commons-configuration:1.10', |
| 173 | sha1 = '2b36e4adfb66d966c5aef2d73deb6be716389dc9', |
| 174 | license = 'Apache2.0', |
| 175 | ) |
| 176 | |
| 177 | maven_jar( |
| 178 | name = 'commons-lang', |
| 179 | id = 'commons-lang:commons-lang:2.6', |
| 180 | sha1 = '0ce1edb914c94ebc388f086c6827e8bdeec71ac2', |
| 181 | license = 'Apache2.0', |
| 182 | ) |
| 183 | |
| 184 | maven_jar( |
| 185 | name = 'commons-logging', |
| 186 | id = 'commons-logging:commons-logging:1.1.1', |
| 187 | sha1 = '5043bfebc3db072ed80fbd362e7caf00e885d8ae', |
| 188 | license = 'Apache2.0', |
| 189 | ) |
| 190 | |
| 191 | maven_jar( |
| 192 | name = 'commons-pool', |
| 193 | id = 'commons-pool:commons-pool:1.6', |
| 194 | sha1 = '4572d589699f09d866a226a14b7f4323c6d8f040', |
| 195 | license = 'Apache2.0', |
| 196 | ) |
| 197 | |
| 198 | maven_jar( |
| 199 | name = 'commons-io', |
| 200 | id = 'commons-io:commons-io:2.4', |
| 201 | sha1 = 'b1b6ea3b7e4aa4f492509a4952029cd8e48019ad', |
| 202 | license = 'Apache2.0', |
| 203 | ) |
| 204 | |
| 205 | maven_jar( |
| 206 | name = 'metrics-core', |
| 207 | id = 'io.dropwizard.metrics:metrics-core:3.1.0', |
| 208 | sha1 = '40e16d596ca49964a88bbce2261e387895b3499e', |
| 209 | license = 'Apache2.0', |
| 210 | ) |
| 211 | |
| 212 | maven_jar( |
| 213 | name = 'metrics-json', |
| 214 | id = 'io.dropwizard.metrics:metrics-json:3.1.0', |
| 215 | sha1 = '47b1c72af77ca81771422269b807ef6198392741', |
| 216 | license = 'Apache2.0', |
| 217 | ) |
| 218 | |
| 219 | maven_jar( |
| 220 | name = 'netty', |
| 221 | id = 'io.netty:netty:3.10.5.Final', |
| 222 | sha1 = '9ca7d55d246092bddd29b867706e2f6c7db701a0', |
| 223 | license = 'Apache2.0', |
| 224 | ) |
| 225 | |
| 226 | maven_jar( |
| 227 | name = 'netty-buffer', |
| 228 | id = 'io.netty:netty-buffer:4.0.33.Final', |
| 229 | sha1 = 'dd14c35b020af7aa1c6fed7ec5e67a2aa165619e', |
| 230 | license = 'Apache2.0', |
| 231 | ) |
| 232 | |
| 233 | maven_jar( |
| 234 | name = 'netty-codec', |
| 235 | id = 'io.netty:netty-codec:4.0.33.Final', |
| 236 | sha1 = '56c31f1e373a9374f56173383fe8b6e089ea0351', |
| 237 | license = 'Apache2.0', |
| 238 | ) |
| 239 | |
| 240 | maven_jar( |
| 241 | name = 'netty-common', |
| 242 | id = 'io.netty:netty-common:4.0.33.Final', |
| 243 | sha1 = '1a1fde71cb95a6e18754b0fd7ac6749f15a86543', |
| 244 | license = 'Apache2.0', |
| 245 | ) |
| 246 | |
| 247 | maven_jar( |
| 248 | name = 'netty-handler', |
| 249 | id = 'io.netty:netty-handler:4.0.33.Final', |
| 250 | sha1 = '88325df280c3ba83011cf442883f9f55dc83d5bb', |
| 251 | license = 'Apache2.0', |
| 252 | ) |
| 253 | |
| 254 | maven_jar( |
| 255 | name = 'netty-transport', |
| 256 | id = 'io.netty:netty-transport:4.0.33.Final', |
| 257 | sha1 = '287c2378318efc12d6bfe00835cd66317fc53dcd', |
| 258 | license = 'Apache2.0', |
| 259 | ) |
| 260 | |
| 261 | maven_jar( |
| 262 | name = 'netty-transport-native-epoll', |
| 263 | id = 'io.netty:netty-transport-native-epoll:4.0.33.Final', |
| 264 | sha1 = 'f17c2b172e28e9447e0ecf1a87bc4ce3d45647f0', |
| 265 | license = 'Apache2.0', |
| 266 | ) |
| 267 | |
| 268 | maven_jar( |
| 269 | name = 'joda-time', |
| 270 | id = 'joda-time:joda-time:2.9', |
| 271 | sha1 = 'e8a58b7f5853b693b8c4795a714fe77c266c3acc', |
| 272 | license = 'Apache2.0', |
| 273 | ) |
| 274 | |
| 275 | maven_jar( |
| 276 | name = 'junit', |
| 277 | id = 'junit:junit:4.12', |
| 278 | sha1 = '2973d150c0dc1fefe998f834810d68f278ea58ec', |
| 279 | license = 'Apache2.0', |
| 280 | ) |
| 281 | |
| 282 | maven_jar( |
| 283 | name = 'commons-lang3', |
| 284 | id = 'org.apache.commons:commons-lang3:3.4', |
| 285 | sha1 = '5fe28b9518e58819180a43a850fbc0dd24b7c050', |
| 286 | license = 'Apache2.0', |
| 287 | ) |
| 288 | |
| 289 | maven_jar( |
| 290 | name = 'commons-math3', |
| 291 | id = 'org.apache.commons:commons-math3:3.2', |
| 292 | sha1 = 'ec2544ab27e110d2d431bdad7d538ed509b21e62', |
| 293 | license = 'Apache2.0', |
| 294 | ) |
| 295 | |
| 296 | maven_jar( |
| 297 | name = 'org.apache.felix.scr.annotations', |
| 298 | id = 'org.apache.felix:org.apache.felix.scr.annotations:1.9.12', |
| 299 | sha1 = '5fdc34da641dda8b9165c2be93211479a186da9c', |
| 300 | license = 'Apache2.0', |
| 301 | ) |
| 302 | |
| 303 | maven_jar( |
| 304 | name = 'org.apache.karaf.features.core', |
| 305 | id = 'org.apache.karaf.features:org.apache.karaf.features.core:3.0.5', |
| 306 | sha1 = '595b5ddfc4eccad090cb2a1eb14e2ba3cebcb5de', |
| 307 | license = 'Apache2.0', |
| 308 | ) |
| 309 | |
| 310 | maven_jar( |
| 311 | name = 'org.apache.karaf.system.core', |
| 312 | id = 'org.apache.karaf.system:org.apache.karaf.system.core:3.0.5', |
| 313 | sha1 = '9740da22ad1c07b2651d837277f0e910a2fc2300', |
| 314 | license = 'Apache2.0', |
| 315 | ) |
| 316 | |
| 317 | maven_jar( |
| 318 | name = 'easymock', |
| 319 | id = 'org.easymock:easymock:3.4', |
| 320 | sha1 = '9fdeea183a399f25c2469497612cad131e920fa3', |
| 321 | license = 'Apache2.0', |
| 322 | ) |
| 323 | |
| 324 | maven_jar( |
| 325 | name = 'hamcrest-core', |
| 326 | id = 'org.hamcrest:hamcrest-core:1.3', |
| 327 | sha1 = '42a25dc3219429f0e5d060061f71acb49bf010a0', |
| 328 | license = 'Apache2.0', |
| 329 | ) |
| 330 | |
| 331 | maven_jar( |
| 332 | name = 'hamcrest-library', |
| 333 | id = 'org.hamcrest:hamcrest-library:1.3', |
| 334 | sha1 = '4785a3c21320980282f9f33d0d1264a69040538f', |
| 335 | license = 'Apache2.0', |
| 336 | ) |
| 337 | |
| 338 | maven_jar( |
| 339 | name = 'hamcrest-all', |
| 340 | id = 'org.hamcrest:hamcrest-all:1.3', |
| 341 | sha1 = '63a21ebc981131004ad02e0434e799fd7f3a8d5a', |
| 342 | license = 'Apache2.0', |
| 343 | ) |
| 344 | |
| 345 | maven_jar( |
| 346 | name = 'mapdb', |
| 347 | id = 'org.mapdb:mapdb:1.0.8', |
| 348 | sha1 = '64485a221d9095fc7ab9b50cc34c6b4b58467e2e', |
| 349 | license = 'Apache2.0', |
| 350 | ) |
| 351 | |
| 352 | maven_jar( |
| 353 | name = 'objenesis', |
| 354 | id = 'org.objenesis:objenesis:2.2', |
| 355 | sha1 = '3fb533efdaa50a768c394aa4624144cf8df17845', |
| 356 | license = 'Apache2.0', |
| 357 | ) |
| 358 | |
| 359 | maven_jar( |
| 360 | name = 'org.osgi.compendium', |
| 361 | id = 'org.osgi:org.osgi.compendium:4.3.1', |
| 362 | sha1 = 'd1c9d7819de47d938a96ac2a3813bfd914684cf4', |
| 363 | license = 'Apache2.0', |
| 364 | ) |
| 365 | |
| 366 | maven_jar( |
| 367 | name = 'osgi-core', |
| 368 | id = 'org.osgi:org.osgi.core:4.3.1', |
| 369 | sha1 = '5458ffe2ba049e76c29f2df2dc3ffccddf8b839e', |
| 370 | license = 'Apache2.0', |
| 371 | ) |
| 372 | |
| 373 | maven_jar( |
| 374 | name = 'asm', |
| 375 | id = 'org.ow2.asm:asm:4.2', |
| 376 | sha1 = '4b2c12b92dd045aeabf5b2aeeb3220bf010da9d4', |
| 377 | license = 'Apache2.0', |
| 378 | ) |
| 379 | |
| 380 | maven_jar( |
| 381 | name = 'slf4j-api', |
| 382 | id = 'org.slf4j:slf4j-api:1.7.13', |
| 383 | sha1 = '7fcf30c25b8f4a9379b9dad0d3f487b25272c026', |
| 384 | license = 'Apache2.0', |
| 385 | ) |
| 386 | |
| 387 | maven_jar( |
| 388 | name = 'slf4j-jdk14', |
| 389 | id = 'org.slf4j:slf4j-jdk14:1.7.13', |
| 390 | sha1 = 'bcc4dd3bffd6bce845164140bdf18ce14e76b423', |
| 391 | license = 'Apache2.0', |
| 392 | ) |
| 393 | |
| 394 | maven_jar( |
| 395 | name = 'javax.ws.rs-api', |
| 396 | id = 'javax.ws.rs:javax.ws.rs-api:2.0.1', |
| 397 | sha1 = '104e9c2b5583cfcfeac0402316221648d6d8ea6b', |
| 398 | license = 'Apache2.0', |
| 399 | ) |
| 400 | |
| 401 | maven_jar( |
| 402 | name = 'jersey-client', |
| 403 | id = 'org.glassfish.jersey.core:jersey-client:2.22.2', |
| 404 | sha1 = '1712fff037ce5a59e3d67f90fff29222989799ee', |
| 405 | license = 'Apache2.0', |
| 406 | ) |
| 407 | |
| 408 | maven_jar( |
| 409 | name = 'jersey-common', |
| 410 | id = 'org.glassfish.jersey.core:jersey-common:2.22.2', |
| 411 | sha1 = '1209b89878b60ce7d49afadeff7522d2fde0e217', |
| 412 | license = 'Apache2.0', |
| 413 | ) |
| 414 | |
| 415 | maven_jar( |
| 416 | name = 'jersey-server', |
| 417 | id = 'org.glassfish.jersey.core:jersey-server:2.22.2', |
| 418 | sha1 = '5ede3e5f98f8b14d31d1d0fffe9908df2bd41c0f', |
| 419 | license = 'Apache2.0', |
| 420 | ) |
| 421 | |
| 422 | maven_jar( |
| 423 | name = 'jersey-test-framework-core', |
| 424 | id = 'org.glassfish.jersey.test-framework:jersey-test-framework-core:2.22.2', |
| 425 | sha1 = '0abc7ab1ac424392d8761798318f706de40fef4d', |
| 426 | license = 'Apache2.0', |
| 427 | ) |
| 428 | |
| 429 | maven_jar( |
| 430 | name = 'jersey-test-framework-grizzly2', |
| 431 | id = 'org.glassfish.jersey.test-framework.providers:jersey-test-framework-provider-grizzly2:2.22.2', |
| 432 | sha1 = '05aa3952528f09ce94360ab238446163d2544344', |
| 433 | license = 'Apache2.0', |
| 434 | ) |
| 435 | |
| 436 | maven_jar( |
| 437 | name = 'jersey-media-multipart', |
| 438 | id = 'org.glassfish.jersey.media:jersey-media-multipart:2.22.2', |
| 439 | sha1 = '304107e42563307acd337c20734148cca41cda91', |
| 440 | license = 'Apache2.0', |
| 441 | ) |
| 442 | |
| 443 | maven_jar( |
| 444 | name = 'hk2-api', |
| 445 | id = 'org.glassfish.hk2:hk2-api:2.4.0-b34', |
| 446 | sha1 = '1017432e219dbd1d4a1121b2d7e87c5b2f0bcfb9', |
| 447 | license = 'Apache2.0', |
| 448 | ) |
| 449 | |
| 450 | maven_jar( |
| 451 | name = 'aopalliance-repackaged', |
| 452 | id = 'org.glassfish.hk2.external:aopalliance-repackaged:2.4.0-b34', |
| 453 | sha1 = '3d5e856dbc91a3a2b0bcb3a3424f8b62421ae4cf', |
| 454 | license = 'Apache2.0', |
| 455 | ) |
| 456 | |
| 457 | maven_jar( |
| 458 | name = 'jersey-guava', |
| 459 | id = 'org.glassfish.jersey.bundles.repackaged:jersey-guava:2.22.2', |
| 460 | sha1 = '7422c693c89640c9685dfa99dbef2da745aa4617', |
| 461 | license = 'Apache2.0', |
| 462 | ) |
| 463 | |
| 464 | maven_jar( |
| 465 | name = 'javax.inject', |
| 466 | id = 'org.glassfish.hk2.external:javax.inject:2.4.0-b34', |
| 467 | sha1 = 'a6a3d4935af7b03e44126b5aac2c2a0ce98fe6e9', |
| 468 | license = 'Apache2.0', |
| 469 | ) |
| 470 | |
| 471 | |
| 472 | maven_jar( |
| 473 | name = 'servlet-api', |
| 474 | id = 'javax.servlet:servlet-api:2.5', |
| 475 | sha1 = '5959582d97d8b61f4d154ca9e495aafd16726e34', |
| 476 | license = 'Apache2.0', |
| 477 | ) |
| 478 | |
| 479 | maven_jar( |
| 480 | name = 'atomix', |
| 481 | id = 'io.atomix:atomix:1.0.0-rc3', |
| 482 | sha1 = 'a572aa9cd069b2d43481901dc901429d0b43332f', |
| 483 | license = 'Apache2.0', |
| 484 | ) |
| 485 | |
| 486 | maven_jar( |
| 487 | name = 'atomix-collections', |
| 488 | id = 'io.atomix:atomix-collections:1.0.0-rc3', |
| 489 | sha1 = '161dbfd046cefabe7e6c972e70823c11f7abe65e', |
| 490 | license = 'Apache2.0', |
| 491 | ) |
| 492 | |
| 493 | maven_jar( |
| 494 | name = 'atomix-coordination', |
| 495 | id = 'io.atomix:atomix-coordination:1.0.0-rc3', |
| 496 | sha1 = '182a2618cbef13e6efe58b85aadfa1176b9d08f3', |
| 497 | license = 'Apache2.0', |
| 498 | ) |
| 499 | |
| 500 | maven_jar( |
| 501 | name = 'atomix-messaging', |
| 502 | id = 'io.atomix:atomix-messaging:1.0.0-rc3', |
| 503 | sha1 = '58b570d8e3e76a0d0c649b97f3ee0a6e3885958a', |
| 504 | license = 'Apache2.0', |
| 505 | ) |
| 506 | |
| 507 | maven_jar( |
| 508 | name = 'atomix-resource', |
| 509 | id = 'io.atomix:atomix-resource:1.0.0-rc3', |
| 510 | sha1 = 'e47a40d38e6241544ec75df0e6906c209190aebf', |
| 511 | license = 'Apache2.0', |
| 512 | ) |
| 513 | |
| 514 | maven_jar( |
| 515 | name = 'atomix-resource-manager', |
| 516 | id = 'io.atomix:atomix-resource-manager:1.0.0-rc3', |
| 517 | sha1 = '41a4cf53c27df12efb04832e1314a81c09c857cb', |
| 518 | license = 'Apache2.0', |
| 519 | ) |
| 520 | |
| 521 | maven_jar( |
| 522 | name = 'atomix-variables', |
| 523 | id = 'io.atomix:atomix-variables:1.0.0-rc3', |
| 524 | sha1 = 'dd0ca3c0d211b17b291877e21f0ef10f2aa4a9bd', |
| 525 | license = 'Apache2.0', |
| 526 | ) |
| 527 | |
| 528 | maven_jar( |
| 529 | name = 'catalyst-buffer', |
| 530 | id = 'io.atomix.catalyst:catalyst-buffer:1.0.4', |
| 531 | sha1 = '00fb023ebd860d44385750790328aa26a529c75f', |
| 532 | license = 'Apache2.0', |
| 533 | ) |
| 534 | |
| 535 | maven_jar( |
| 536 | name = 'catalyst-common', |
| 537 | id = 'io.atomix.catalyst:catalyst-common:1.0.4', |
| 538 | sha1 = '69d50a64ecf9f63de430aead9dc4b743d29f0195', |
| 539 | license = 'Apache2.0', |
| 540 | ) |
| 541 | |
| 542 | maven_jar( |
| 543 | name = 'catalyst-local', |
| 544 | id = 'io.atomix.catalyst:catalyst-local:1.0.4', |
| 545 | sha1 = 'cbee759c63ce9127c979f4f399d327551644270f', |
| 546 | license = 'Apache2.0', |
| 547 | ) |
| 548 | |
| 549 | maven_jar( |
| 550 | name = 'catalyst-serializer', |
| 551 | id = 'io.atomix.catalyst:catalyst-serializer:1.0.4', |
| 552 | sha1 = 'e86352776cf4fa17eabf4e1d90fe0587ced4f788', |
| 553 | license = 'Apache2.0', |
| 554 | ) |
| 555 | |
| 556 | maven_jar( |
| 557 | name = 'catalyst-transport', |
| 558 | id = 'io.atomix.catalyst:catalyst-transport:1.0.4', |
| 559 | sha1 = 'f36600add086a8848290cad9d6d117634b5bf069', |
| 560 | license = 'Apache2.0', |
| 561 | ) |
| 562 | |
| 563 | maven_jar( |
| 564 | name = 'copycat-client', |
| 565 | id = 'io.atomix.copycat:copycat-client:1.0.0-rc4', |
| 566 | sha1 = '9373c8920a57356b78896d791296a74a2eb868b4', |
| 567 | license = 'Apache2.0', |
| 568 | ) |
| 569 | |
| 570 | maven_jar( |
| 571 | name = 'copycat-protocol', |
| 572 | id = 'io.atomix.copycat:copycat-protocol:1.0.0-rc4', |
| 573 | sha1 = 'cea774c2e4ce7021a6bfca64fd885e875f01f4dc', |
| 574 | license = 'Apache2.0', |
| 575 | ) |
| 576 | |
| 577 | maven_jar( |
| 578 | name = 'copycat-server', |
| 579 | id = 'io.atomix.copycat:copycat-server:1.0.0-rc4', |
| 580 | sha1 = 'e2b6603dbd299d7b21685211df509dd4fbd2f0e9', |
| 581 | license = 'Apache2.0', |
| 582 | ) |
| 583 | |
| 584 | maven_jar( |
| 585 | name = 'copycat-core', |
| 586 | id = 'org.onosproject:copycat-core:0.5.1.onos', |
| 587 | sha1 = 'b268f3cbdd57f28244b21b2b8fc08116f63d736d', |
| 588 | license = 'Apache2.0', |
| 589 | ) |
| 590 | |
| 591 | maven_jar( |
| 592 | name = 'copycat-event-log', |
| 593 | id = 'org.onosproject:copycat-event-log:0.5.1.onos', |
| 594 | sha1 = 'a9e32b13e6500c66113202e7d123e7184b726054', |
| 595 | license = 'Apache2.0', |
| 596 | ) |
| 597 | |
| 598 | maven_jar( |
| 599 | name = 'copycat-leader-election', |
| 600 | id = 'org.onosproject:copycat-leader-election:0.5.1.onos', |
| 601 | sha1 = 'a33617e98caf4e909d7ac744e1f6cdd1ba4b1698', |
| 602 | license = 'Apache2.0', |
| 603 | ) |
| 604 | |
| 605 | maven_jar( |
| 606 | name = 'copycat-state-log', |
| 607 | id = 'org.onosproject:copycat-state-log:0.5.1.onos', |
| 608 | sha1 = '1dfa2b4c6da1cdc453fd3740cd506b9570f118ea', |
| 609 | license = 'Apache2.0', |
| 610 | ) |
| 611 | |
| 612 | maven_jar( |
| 613 | name = 'copycat-state-machine', |
| 614 | id = 'org.onosproject:copycat-state-machine:0.5.1.onos', |
| 615 | sha1 = '03f924b5c818c0684bdfa6c502e5fff8e07d6b77', |
| 616 | license = 'Apache2.0', |
| 617 | ) |
| 618 | |
| 619 | maven_jar( |
| 620 | name = 'copycat-api', |
| 621 | id = 'org.onosproject:copycat-api:0.5.1.onos', |
| 622 | sha1 = 'b947348875485814e2a175a0435cdae4138452fc', |
| 623 | license = 'Apache2.0', |
| 624 | ) |
| 625 | |
| 626 | maven_jar( |
| 627 | name = 'typesafe-config', |
| 628 | id = 'com.typesafe:config:1.2.1', |
| 629 | sha1 = 'f771f71fdae3df231bcd54d5ca2d57f0bf93f467', |
| 630 | license = 'Apache2.0', |
| 631 | ) |
| 632 | |
| 633 | maven_jar( |
| 634 | name = 'org.apache.karaf.shell.console', |
| 635 | id = 'org.apache.karaf.shell:org.apache.karaf.shell.console:3.0.5', |
| 636 | sha1 = 'bf60152b180919152f532ddbd96c7563c11bb048', |
| 637 | license = 'Apache2.0', |
| 638 | ) |
| 639 | |
| 640 | maven_jar( |
| 641 | name = 'httpclient-osgi', |
| 642 | id = 'org.apache.httpcomponents:httpclient-osgi:4.5.1', |
| 643 | sha1 = '0220a68ff36e5b0fa71b5dc0b1dc1d4ad2dcf524', |
| 644 | license = 'Apache2.0', |
| 645 | ) |
| 646 | |
| 647 | maven_jar( |
| 648 | name = 'httpcore-osgi', |
| 649 | id = 'org.apache.httpcomponents:httpcore-osgi:4.4.4', |
| 650 | sha1 = 'd5c14055e569afca96f4603d6f9d467bc72ccba8', |
| 651 | license = 'Apache2.0', |
| 652 | ) |
| 653 | |
| 654 | maven_jar( |
| 655 | name = 'ganymed-ssh2', |
| 656 | id = 'ch.ethz.ganymed:ganymed-ssh2:262', |
| 657 | sha1 = '7761dc665d0f6993dc846d914214fb93291e2bdf', |
| 658 | license = 'Apache2.0', |
| 659 | ) |
| 660 | |
| 661 | maven_jar( |
| 662 | name = 'openflowj', |
| 663 | id = 'org.onosproject:openflowj:0.9.2.onos', |
| 664 | sha1 = '7cd6a35f6638f8ee3f5415484842bf95a4e619db', |
| 665 | license = 'Apache2.0', |
| 666 | ) |
| 667 | |
| 668 | maven_jar( |
| 669 | name = 'org.apache.servicemix.bundles.snmp4j', |
| 670 | id = 'org.apache.servicemix.bundles:org.apache.servicemix.bundles.snmp4j:2.3.4_1', |
| 671 | sha1 = '5134e0b60a6d88b26fe4dec03488efe4f2463e65', |
| 672 | license = 'Apache2.0', |
| 673 | ) |
| 674 | |
| 675 | maven_jar( |
| 676 | name = 'jetty-websocket', |
| 677 | id = 'org.eclipse.jetty:jetty-websocket:8.1.18.v20150929', |
| 678 | sha1 = '4a1610515aed4f02e7cb6ab0db564489d4d44d9f', |
| 679 | license = 'Apache2.0', |
| 680 | ) |
| 681 | |
| 682 | maven_jar( |
| 683 | name = 'jetty-util', |
| 684 | id = 'org.eclipse.jetty:jetty-util:8.1.18.v20150929', |
| 685 | sha1 = 'fb8fb3debf99a626c827535bf06451a337c6b085', |
| 686 | license = 'Apache2.0', |
| 687 | ) |
| 688 | |
| 689 | maven_jar( |
| 690 | name = 'jsch', |
| 691 | id = 'com.jcraft:jsch:0.1.53', |
| 692 | sha1 = '658b682d5c817b27ae795637dfec047c63d29935', |
| 693 | license = 'Apache2.0', |
| 694 | ) |
| 695 | |
| 696 | maven_jar( |
| 697 | name = 'rrd4j', |
| 698 | id = 'org.rrd4j:rrd4j:2.2', |
| 699 | sha1 = 'e5aee992ece8c82291b77bef96cd1d11c1e0a009', |
| 700 | license = 'Apache2.0', |
| 701 | ) |
| 702 | |
| 703 | maven_jar( |
| 704 | name = 'metrics-influxdb', |
| 705 | id = 'com.izettle:metrics-influxdb:1.1.1', |
| 706 | sha1 = 'a911d778c2f8607dd4e7a4cdb9b0cd97adcd0343', |
| 707 | license = 'Apache2.0', |
| 708 | ) |
| 709 | |
| 710 | maven_jar( |
| 711 | name = 'influxdb-java', |
| 712 | id = 'org.influxdb:influxdb-java:2.1', |
| 713 | sha1 = 'd2fe39fb8db1d823e64fc7ea54b779e1cab917c7', |
| 714 | license = 'Apache2.0', |
| 715 | ) |
| 716 | |
| 717 | |
| 718 | maven_jar( |
| 719 | name = 'gmetric4j', |
| 720 | id = 'info.ganglia.gmetric4j:gmetric4j:1.0.10', |
| 721 | sha1 = '3d62003123b586adb86cb028cc0f8a8c3a701d81', |
| 722 | license = 'Apache2.0', |
| 723 | ) |
| 724 | |
| 725 | maven_jar( |
| 726 | name = 'metrics-ganglia', |
| 727 | id = 'io.dropwizard.metrics:metrics-ganglia:3.1.2', |
| 728 | sha1 = '2a4e2fcd6436f9b1771f0f9b6bab445dddcf704f', |
| 729 | license = 'Apache2.0', |
| 730 | ) |
| 731 | |
| 732 | maven_jar( |
Jian Li | b8ea0b5 | 2016-03-31 09:33:27 -0700 | [diff] [blame] | 733 | name = 'metrics-graphite', |
| 734 | id = 'io.dropwizard.metrics:metrics-graphite:3.1.2', |
| 735 | sha1 = '15a68399652c6123fe6e4c82ac4f0749e2eb6583', |
| 736 | license = 'Apache2.0', |
| 737 | ) |
| 738 | |
| 739 | maven_jar( |
Ray Milkey | f80bbb2 | 2016-03-11 10:16:22 -0800 | [diff] [blame] | 740 | name = 'concurrent-trees', |
| 741 | id = 'com.googlecode.concurrent-trees:concurrent-trees:2.4.0', |
| 742 | sha1 = '2e505b78f9216abebbbdf1c3254bf9f4c565ae43', |
| 743 | license = 'Apache2.0', |
| 744 | ) |
| 745 | |
| 746 | |
| 747 | # These SNMP libraries don't have release versions, so we access them directly by snapshot id. The SNMP provider is due for a refactoring |
| 748 | # overhaul to fix some of these bogus dependencies. |
| 749 | |
| 750 | maven_jar( |
| 751 | name = 'snmp-core', |
| 752 | full_url = 'https://oss.sonatype.org/content/repositories/snapshots/com/btisystems/snmp-core/1.3-SNAPSHOT/snmp-core-1.3-20151110.124757-1', |
| 753 | id = 'com.btisystems:snmp-core:1.3-SNAPSHOT-20151110.124757-1', |
| 754 | repository = 'https://oss.sonatype.org/content/repositories/snapshots', |
| 755 | license = 'Apache2.0', |
| 756 | ) |
| 757 | |
| 758 | maven_jar( |
| 759 | name = 'bti7000', |
| 760 | id = 'com.btisystems.mibbler.mibs:bti7000:1.0-SNAPSHOT', |
| 761 | repository = 'https://oss.sonatype.org/content/repositories/snapshots', |
| 762 | full_url = 'https://oss.sonatype.org/content/repositories/snapshots/com/btisystems/mibbler/mibs/bti7000/1.0-SNAPSHOT/bti7000-1.0-20151221.113001-4', |
| 763 | attach_source = False, |
| 764 | license = 'Apache2.0', |
| 765 | ) |
| 766 | |
| 767 | maven_jar( |
| 768 | name = 'mibs-net-snmp', |
| 769 | id = 'com.btisystems.mibbler.mibs:net-snmp:1.0-SNAPSHOT', |
| 770 | repository = 'https://oss.sonatype.org/content/repositories/snapshots', |
| 771 | full_url = 'https://oss.sonatype.org/content/repositories/snapshots/com/btisystems/mibbler/mibs/net-snmp/1.0-SNAPSHOT/net-snmp-1.0-20151221.112958-4', |
| 772 | attach_source = False, |
| 773 | license = 'Apache2.0', |
| 774 | ) |
| 775 | |
| 776 | maven_jar( |
| 777 | name = 'mibs-rfc', |
| 778 | id = 'com.btisystems.mibbler.mibs:rfc:1.0-SNAPSHOT', |
| 779 | repository = 'https://oss.sonatype.org/content/repositories/snapshots', |
| 780 | full_url = 'https://oss.sonatype.org/content/repositories/snapshots/com/btisystems/mibbler/mibs/rfc/1.0-SNAPSHOT/rfc-1.0-20151221.113000-6', |
| 781 | attach_source = False, |
| 782 | license = 'Apache2.0', |
| 783 | ) |
Brian O'Connor | 42c38cf | 2016-04-05 17:05:57 -0700 | [diff] [blame] | 784 | |
| 785 | # ------ needed for OSGi Wrapper ------------------ |
| 786 | #TODO should these live in osgiwrap or in lib |
| 787 | #FIXME replace with release version |
| 788 | maven_jar( |
| 789 | name = 'org.apache.felix.scr.bnd', |
| 790 | id = 'org.onosproject:org.apache.felix.scr.bnd:1.4.1-SNAPSHOT', |
| 791 | repository = 'https://oss.sonatype.org/content/repositories/snapshots', |
| 792 | full_url = 'https://oss.sonatype.org/content/repositories/snapshots/org/onosproject/org.apache.felix.scr.bnd/1.4.1-SNAPSHOT/org.apache.felix.scr.bnd-1.4.1-20160328.235003-2', |
| 793 | attach_source = False, |
| 794 | license = 'Apache2.0', |
| 795 | ) |
| 796 | #TODO update this to org.apache.felix when changes are merged upstream |
| 797 | # prebuilt_jar( |
| 798 | # name = 'felix-bnd', |
| 799 | # binary_jar = ':org.apache.felix.scr.bnd-jar', |
| 800 | # ) |
| 801 | # remote_file( |
| 802 | # name = 'org.apache.felix.scr.bnd-jar', |
| 803 | # out = 'org.apache.felix.scr.bnd-jar-1.4.1-SNAPSHOT.jar', |
| 804 | # url = 'mvn:https://oss.sonatype.org/content/repositories/snapshots:org.onosproject:org.apache.felix.scr.bnd:jar:1.4.1-SNAPSHOT', |
| 805 | # sha1 = '89b5161d60dfe4138046f13c789f17a6b89e823d', |
| 806 | # ) |
| 807 | |
| 808 | prebuilt_jar( |
| 809 | name = 'bndlib', |
| 810 | binary_jar = ':biz.aQute.bnd-biz.aQute.bndlib-jar', |
| 811 | visibility = [ 'PUBLIC' ] #:onlab-osgiwrap and :osgi-jar |
| 812 | # source_jar |
| 813 | # maven_coords |
| 814 | ) |
| 815 | |
| 816 | remote_file( |
| 817 | name = 'biz.aQute.bnd-biz.aQute.bndlib-jar', |
| 818 | out = 'biz.aQute.bnd-biz.aQute.bndlib-jar-3.1.0.jar', |
| 819 | url = 'mvn:biz.aQute.bnd:biz.aQute.bndlib:jar:3.1.0', |
| 820 | sha1 = '8e45564ca80bf089276a35f916e8702e7b798cbb', |
| 821 | ) |
| 822 | |
| 823 | prebuilt_jar( |
| 824 | name = 'checkstyle', |
| 825 | binary_jar = ':checkstyle-jar', |
| 826 | visibility = [ 'PUBLIC' ] |
| 827 | ) |
| 828 | |
| 829 | # TODO upgrade to newer version of checkstyle |
| 830 | # remote_file( |
| 831 | # name = 'checkstyle-jar', |
| 832 | # out = 'checkstyle-6.17-all.jar', |
| 833 | # url = 'http://onlab.vicci.org/onos/third-party/checkstyle-6.17-all.jar', |
| 834 | # sha1 = '11a02d7b0374f8a82fbd76361a69756faa6aefa0' |
| 835 | # ) |
| 836 | |
| 837 | remote_file( |
| 838 | name = 'checkstyle-jar', |
| 839 | out = 'checkstyle-6.11.2-all.jar', |
| 840 | url = 'http://onlab.vicci.org/onos/third-party/checkstyle-6.11.2-all.jar', |
| 841 | sha1 = 'f504187b1743e73ffe72c2eede0ff57d45536b7d' |
| 842 | ) |