Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 1 | INCLUDE_PACKAGES = "com.google.common.net,com.google.common.io,com.fasterxml.jackson.annotation" |
| 2 | EXCLUDE_PACKAGES = "!org.openstack4j,!org.openstack4j.*,!org.openstack4j.api,!org.openstack4j.api.*,!org.openstack4j.core.*,!org.openstack4j.model.network,!org.openstack4j.model.common,!org.openstack4j.openstack" |
| 3 | ALL_PACKAGES = "*" |
| 4 | |
| 5 | def get_openstack4j_deps_path(): |
Ray Milkey | 5063f5b | 2018-08-15 16:22:30 -0700 | [diff] [blame] | 6 | WEB_INF_PATH = "WEB-INF/classes/deps/" |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 7 | OPENSTACK4J_DEPS = [ |
Ray Milkey | 5063f5b | 2018-08-15 16:22:30 -0700 | [diff] [blame] | 8 | "openstack4j-core", |
| 9 | "openstack4j-http-connector", |
| 10 | "openstack4j-httpclient", |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 11 | ] |
Jian Li | afe17e1 | 2019-03-18 18:45:41 +0900 | [diff] [blame] | 12 | OPENSTACK4J_VER = "3.2.0" |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 13 | |
Ray Milkey | 5063f5b | 2018-08-15 16:22:30 -0700 | [diff] [blame] | 14 | openstack_deps_path = "" |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 15 | |
| 16 | for dep in OPENSTACK4J_DEPS: |
Ray Milkey | 5063f5b | 2018-08-15 16:22:30 -0700 | [diff] [blame] | 17 | name = dep + "-" + OPENSTACK4J_VER + ".jar" |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 18 | path = WEB_INF_PATH + name |
Ray Milkey | 5063f5b | 2018-08-15 16:22:30 -0700 | [diff] [blame] | 19 | openstack_deps_path = openstack_deps_path + path + "," |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 20 | |
| 21 | return openstack_deps_path |
| 22 | |
| 23 | def get_jackson_deps_path(): |
Ray Milkey | 5063f5b | 2018-08-15 16:22:30 -0700 | [diff] [blame] | 24 | WEB_INF_PATH = "WEB-INF/classes/deps/" |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 25 | JACKSON_DEPS_WITH_VER = [ |
Ray Milkey | 5063f5b | 2018-08-15 16:22:30 -0700 | [diff] [blame] | 26 | "json-patch-1.9.jar", |
| 27 | "jackson-coreutils-1.6.jar", |
| 28 | "msg-simple-1.1.jar", |
| 29 | "btf-1.2.jar", |
Jian Li | afe17e1 | 2019-03-18 18:45:41 +0900 | [diff] [blame] | 30 | "snakeyaml-1.18.jar", |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 31 | ] |
| 32 | |
Ray Milkey | 5063f5b | 2018-08-15 16:22:30 -0700 | [diff] [blame] | 33 | jackson_deps_path = "" |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 34 | |
| 35 | for dep in JACKSON_DEPS_WITH_VER: |
| 36 | path = WEB_INF_PATH + dep |
Ray Milkey | 5063f5b | 2018-08-15 16:22:30 -0700 | [diff] [blame] | 37 | jackson_deps_path = jackson_deps_path + path + "," |
Jian Li | d486a73 | 2018-08-03 00:32:11 +0900 | [diff] [blame] | 38 | |
Ray Milkey | 5063f5b | 2018-08-15 16:22:30 -0700 | [diff] [blame] | 39 | return jackson_deps_path |