Jian Li | 51b844c | 2018-05-31 10:59:03 +0900 | [diff] [blame] | 1 | INCLUDE_PACKAGES = 'com.google.common.net,com.google.common.io,com.fasterxml.jackson.annotation' |
Jian Li | 753280e | 2018-07-03 02:24:34 +0900 | [diff] [blame^] | 2 | EXCLUDE_PACKAGES = '!org.openstack4j,!org.openstack4j.*,!org.openstack4j.model.network' |
Jian Li | 51b844c | 2018-05-31 10:59:03 +0900 | [diff] [blame] | 3 | ALL_PACKAGES = '*' |
| 4 | |
| 5 | def 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 | |
| 24 | def 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 |