aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-08-07 11:42:06 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-08-07 11:43:20 +0530
commit66a85f02dd27b2c9952030ef5aeb6fbef40bbe81 (patch)
tree74a0c57b2319f86c985367fd462bb1744f28a111
parentfe0d58756ea86d152fbc5b8139c54aa1b52030db (diff)
Make conf and script optional in zip
Issue-ID: CLI-169 Change-Id: Ic7325935bc9a01bacee006d8caf91dae23f3f269 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r--deployment/zip/pom.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/deployment/zip/pom.xml b/deployment/zip/pom.xml
index 6af31ca3..e9df195a 100644
--- a/deployment/zip/pom.xml
+++ b/deployment/zip/pom.xml
@@ -106,9 +106,11 @@
ant.copy(todir:
"${deployUnzip}/conf") {
fileset(dir:
- "${project.build.directory}/../../../products/target/conf/")
+ "${project.build.directory}/../../../products/target/conf/",
+ erroronmissingdir: false)
fileset(dir:
- "${project.build.directory}/../../../profiles/target/conf/")
+ "${project.build.directory}/../../../profiles/target/conf/",
+ erroronmissingdir: false)
fileset(file:
"${basedir}/src/main/release/conf/*.properties")
}
@@ -116,7 +118,8 @@
ant.copy(todir:
"${deployUnzip}/script") {
fileset(dir:
- "${project.build.directory}/../../../products/target/script/")
+ "${project.build.directory}/../../../products/target/script/",
+ erroronmissingdir: false)
}
ant.copy(todir: