Add fast build profile ignoring frontend 79/129979/3
authorandre.schmid <andre.schmid@est.tech>
Tue, 19 Jul 2022 14:31:29 +0000 (15:31 +0100)
committerMichael Morris <michael.morris@est.tech>
Wed, 20 Jul 2022 08:27:39 +0000 (08:27 +0000)
Adds fast-build-no-ui profile, a copy of the fast-build but also
ignoring the frontend build.
The frontend build is the process that takes more time during the
SDC build. When the frontend build is not needed, the new profile
could be used, reducing the build time by about half time.

Change-Id: I99c198461f128f265cb051fca415d605b0d9c339
Issue-ID: SDC-4100
Signed-off-by: andre.schmid <andre.schmid@est.tech>
pom.xml

diff --git a/pom.xml b/pom.xml
index c3683ca..210bbc3 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -735,7 +735,6 @@ Modifications copyright (c) 2018-2019 Nokia
                 <module>common-app-logging</module>
                 <module>common-app-api</module>
                 <module>common-be</module>
-                <module>common-be-tests-utils</module>
                 <module>catalog-dao</module>
                 <module>catalog-model</module>
                 <module>catalog-be</module>
@@ -747,6 +746,34 @@ Modifications copyright (c) 2018-2019 Nokia
                 <module>utils/webseal-simulator</module>
             </modules>
         </profile>
+        <profile>
+            <id>fast-build-no-ui</id>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+            </activation>
+            <properties>
+                <maven.test.skip>true</maven.test.skip>
+                <skipYamlJsonValidator>true</skipYamlJsonValidator>
+                <checkstyle.skip>true</checkstyle.skip>
+                <jacoco.skip>true</jacoco.skip>
+                <maven.antrun.skip>true</maven.antrun.skip>
+                <swagger.skip>true</swagger.skip>
+            </properties>
+            <modules>
+                <module>openecomp-be</module>
+                <module>common</module>
+                <module>common-app-logging</module>
+                <module>common-app-api</module>
+                <module>common-be</module>
+                <module>catalog-dao</module>
+                <module>catalog-model</module>
+                <module>catalog-be</module>
+                <module>catalog-be-plugins</module>
+                <module>asdctool</module>
+                <module>sdc-os-chef</module>
+                <module>utils/webseal-simulator</module>
+            </modules>
+        </profile>
         <profile>
             <id>start-sdc</id>
             <activation>