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