summaryrefslogtreecommitdiffstats
path: root/deployment/zip/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/zip/pom.xml')
-rw-r--r--deployment/zip/pom.xml21
1 files changed, 16 insertions, 5 deletions
diff --git a/deployment/zip/pom.xml b/deployment/zip/pom.xml
index 454e259e..6af31ca3 100644
--- a/deployment/zip/pom.xml
+++ b/deployment/zip/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.onap.cli</groupId>
<artifactId>cli-deployment</artifactId>
- <version>3.0.0</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<artifactId>cli-zip</artifactId>
@@ -71,6 +71,12 @@
ant.delete(dir: "${deployUnzip}/data")
ant.mkdir(dir: "${deployUnzip}/data")
+ ant.delete(dir: "${deployUnzip}/data/tmp")
+ ant.mkdir(dir: "${deployUnzip}/data/tmp")
+
+ ant.delete(dir: "${deployUnzip}/script")
+ ant.mkdir(dir: "${deployUnzip}/script")
+
ant.copy(todir: "${deployUnzip}") {
fileset(dir: "${basedir}/src/main/release"){
exclude(name: "**/.gitignore")
@@ -96,16 +102,21 @@
fileset(dir:
"${project.build.directory}/../../../grpc/target/lib/")
}
+
ant.copy(todir:
"${deployUnzip}/conf") {
+ fileset(dir:
+ "${project.build.directory}/../../../products/target/conf/")
+ fileset(dir:
+ "${project.build.directory}/../../../profiles/target/conf/")
fileset(file:
- "${basedir}/src/main/release/conf/open-cli.properties")
+ "${basedir}/src/main/release/conf/*.properties")
}
ant.copy(todir:
- "${deployUnzip}/conf") {
- fileset(file:
- "${basedir}/src/main/release/conf/log4j.properties")
+ "${deployUnzip}/script") {
+ fileset(dir:
+ "${project.build.directory}/../../../products/target/script/")
}
ant.copy(todir: