blob: 096b700174dcb9ac6f8bec9cb60300ba9e6a5705 [file] [log] [blame]
Jian Lid486a732018-08-03 00:32:11 +09001INCLUDE_PACKAGES = "com.google.common.net,com.google.common.io,com.fasterxml.jackson.annotation"
2EXCLUDE_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"
3ALL_PACKAGES = "*"
4
5def get_openstack4j_deps_path():
Ray Milkey5063f5b2018-08-15 16:22:30 -07006 WEB_INF_PATH = "WEB-INF/classes/deps/"
Jian Lid486a732018-08-03 00:32:11 +09007 OPENSTACK4J_DEPS = [
Ray Milkey5063f5b2018-08-15 16:22:30 -07008 "openstack4j-core",
9 "openstack4j-http-connector",
10 "openstack4j-httpclient",
Jian Lid486a732018-08-03 00:32:11 +090011 ]
Ray Milkey5063f5b2018-08-15 16:22:30 -070012 OPENSTACK4J_VER = "3.1.0"
Jian Lid486a732018-08-03 00:32:11 +090013
Ray Milkey5063f5b2018-08-15 16:22:30 -070014 openstack_deps_path = ""
Jian Lid486a732018-08-03 00:32:11 +090015
16 for dep in OPENSTACK4J_DEPS:
Ray Milkey5063f5b2018-08-15 16:22:30 -070017 name = dep + "-" + OPENSTACK4J_VER + ".jar"
Jian Lid486a732018-08-03 00:32:11 +090018 path = WEB_INF_PATH + name
Ray Milkey5063f5b2018-08-15 16:22:30 -070019 openstack_deps_path = openstack_deps_path + path + ","
Jian Lid486a732018-08-03 00:32:11 +090020
21 return openstack_deps_path
22
23def get_jackson_deps_path():
Ray Milkey5063f5b2018-08-15 16:22:30 -070024 WEB_INF_PATH = "WEB-INF/classes/deps/"
Jian Lid486a732018-08-03 00:32:11 +090025 JACKSON_DEPS_WITH_VER = [
Ray Milkey5063f5b2018-08-15 16:22:30 -070026 "json-patch-1.9.jar",
27 "jackson-coreutils-1.6.jar",
28 "msg-simple-1.1.jar",
29 "btf-1.2.jar",
30 "snakeyaml-1.15.jar",
Jian Lid486a732018-08-03 00:32:11 +090031 ]
32
Ray Milkey5063f5b2018-08-15 16:22:30 -070033 jackson_deps_path = ""
Jian Lid486a732018-08-03 00:32:11 +090034
35 for dep in JACKSON_DEPS_WITH_VER:
36 path = WEB_INF_PATH + dep
Ray Milkey5063f5b2018-08-15 16:22:30 -070037 jackson_deps_path = jackson_deps_path + path + ","
Jian Lid486a732018-08-03 00:32:11 +090038
Ray Milkey5063f5b2018-08-15 16:22:30 -070039 return jackson_deps_path