blob: d9e16f47fa736b7880f3ca91113d6cfd4298815f [file] [log] [blame]
Jian Li51b844c2018-05-31 10:59:03 +09001INCLUDE_PACKAGES = 'com.google.common.net,com.google.common.io,com.fasterxml.jackson.annotation'
Jian Li753280e2018-07-03 02:24:34 +09002EXCLUDE_PACKAGES = '!org.openstack4j,!org.openstack4j.*,!org.openstack4j.model.network'
Jian Li51b844c2018-05-31 10:59:03 +09003ALL_PACKAGES = '*'
4
5def get_openstack4j_deps_path():
6
7 WEB_INF_PATH = 'WEB-INF/classes/deps/'
8 OPENSTACK4J_DEPS = [
9 'openstack4j-core',
10 'openstack4j-http-connector',
11 'openstack4j-httpclient',
12 ]
13 OPENSTACK4J_VER = '3.1.0'
14
15 openstack_deps_path = ''
16
17 for dep in OPENSTACK4J_DEPS:
18 name = dep + '-' + OPENSTACK4J_VER + '.jar'
19 path = WEB_INF_PATH + name
20 openstack_deps_path = openstack_deps_path + path + ','
21
22 return openstack_deps_path
23
24def get_jackson_deps_path():
25
26 WEB_INF_PATH = 'WEB-INF/classes/deps/'
27 JACKSON_DEPS_WITH_VER = [
28 'json-patch-1.9.jar',
29 'jackson-coreutils-1.6.jar',
30 'msg-simple-1.1.jar',
31 'btf-1.2.jar',
32 'snakeyaml-1.15.jar'
33 ]
34
35 jackson_deps_path = ''
36
37 for dep in JACKSON_DEPS_WITH_VER:
38 path = WEB_INF_PATH + dep
39 jackson_deps_path = jackson_deps_path + path + ','
40
41 return jackson_deps_path