aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef
diff options
context:
space:
mode:
authorTal Gitelman <tg851x@intl.att.com>2017-09-10 20:06:45 +0300
committerTal Gitelman <tg851x@intl.att.com>2017-09-10 20:06:45 +0300
commit004829c34aaf326bc3a7307a94cd058018d45a25 (patch)
tree08496dc0983d7ee1775030c8e99ec66743b1a714 /sdc-os-chef
parenta4887b5b7e287218476e2da09d371552bf970ccc (diff)
pom.xml fixes for entire SDC
Change-Id: Ia4db900502b27e162fd9c6e69a797082a8c240f7 Issue-ID:SDC-273 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'sdc-os-chef')
-rw-r--r--sdc-os-chef/pom.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/sdc-os-chef/pom.xml b/sdc-os-chef/pom.xml
index d0131e4e55..79eab3502a 100644
--- a/sdc-os-chef/pom.xml
+++ b/sdc-os-chef/pom.xml
@@ -38,6 +38,16 @@
<include>**/default.rb</include>
</includes>
</fileset>
+ <!-- static configuration files -->
+ <fileset>
+ <directory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</directory>
+ <includes>
+ <include>Artifact-Generator.properties</include>
+ <include>error-configuration.yaml</include>
+ <include>ecomp-error-configuration.yaml</include>
+ <include>logback.xml</include>
+ </includes>
+ </fileset>
</filesets>
</configuration>
</execution>
@@ -109,6 +119,29 @@
</resources>
</configuration>
</execution>
+
+ <execution>
+ <id>copy-static-configuration-files</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.parent.basedir}/catalog-be/src/main/resources/config</directory>
+ <includes>
+ <include>Artifact-Generator.properties</include>
+ <include>error-configuration.yaml</include>
+ <include>ecomp-error-configuration.yaml</include>
+ <include>logback.xml</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+
<execution>
<id>copy-resources-be</id>
<phase>validate</phase>