Fix sdc-backend image context.xml creation 85/104985/2
authorandre.schmid <andre.schmid@est.tech>
Tue, 31 Mar 2020 10:39:52 +0000 (11:39 +0100)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Sun, 5 Apr 2020 15:13:12 +0000 (15:13 +0000)
The file was not being overwritten during the build process.
It was not changing after the first build, causing war artifact
version problems while running the container.

Change-Id: I8b1ab741c82f9274a2049bb4c2d1c3a8c1c8ee38
Issue-ID: SDC-2862
Signed-off-by: andre.schmid <andre.schmid@est.tech>
catalog-be/pom.xml

index 3f09db8..66e9dc0 100644 (file)
                                 <phase>validate</phase>
                                 <configuration>
                                     <target>
-                                        <copy file="sdc-backend/context.xml.template" tofile="sdc-backend/context.xml"/>
+                                        <copy file="sdc-backend/context.xml.template" tofile="sdc-backend/context.xml" overwrite="true"/>
                                     </target>
                                 </configuration>
                                 <goals>