Create local build profile for designer-client

update loader logo

Issue-ID: CCSDK-3072, CCSDK-2433

Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com>
Change-Id: I47bdc099727342ca449a14085f648ae9aa07cf69
diff --git a/cds-ui/pom.xml b/cds-ui/pom.xml
index 3e7d534..5b12779 100644
--- a/cds-ui/pom.xml
+++ b/cds-ui/pom.xml
@@ -44,5 +44,24 @@
 
     <properties>
         <npm.executable>npm</npm.executable>
+        <!-- Properties for CDS-GUI to npm run build:local -->
+        <npm.skipBuild>false</npm.skipBuild>
+        <npm.skipBuildLocal>true</npm.skipBuildLocal>
     </properties>
+
+    <profiles>
+        <!-- Profile to either run npm build or npm build:local -->
+        <profile>
+            <id>npmLocal</id>
+            <activation>
+                <property>
+                    <name>npmLocal</name>
+                </property>
+            </activation>
+            <properties>
+                <npm.skipBuild>true</npm.skipBuild>
+                <npm.skipBuildLocal>false</npm.skipBuildLocal>
+            </properties>
+        </profile>
+    </profiles>
 </project>