aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulienBe <julien.bertozzi@intl.att.com>2020-06-24 15:35:23 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-06-25 05:11:13 +0000
commit6bd3d3a85c4e14174070b8c0de81714a0155255a (patch)
tree462bbeedcb6b305f1fd9bee5ef4ed69a77651563
parent234fa274c4e364da43793aec2898069ee543c3e6 (diff)
add a new profil for fast build
Issue-ID: SDC-3148 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com> Change-Id: Ie98194fe6d136f57491a0590ab2afc9db59fbfbd
-rw-r--r--asdctool/pom.xml1
-rw-r--r--catalog-be/pom.xml1
-rw-r--r--catalog-dao/pom.xml1
-rw-r--r--catalog-fe/pom.xml1
-rw-r--r--catalog-model/pom.xml1
-rw-r--r--catalog-ui/pom.xml1
-rw-r--r--common-app-api/pom.xml1
-rw-r--r--common-be/pom.xml1
-rw-r--r--pom.xml32
-rw-r--r--sdc-os-chef/pom.xml1
-rw-r--r--test-apis-ci/pom.xml1
-rw-r--r--ui-ci/pom.xml1
-rw-r--r--utils/webseal-simulator/pom.xml1
13 files changed, 43 insertions, 1 deletions
diff --git a/asdctool/pom.xml b/asdctool/pom.xml
index 37b866db97..c879453fba 100644
--- a/asdctool/pom.xml
+++ b/asdctool/pom.xml
@@ -693,6 +693,7 @@
</excludes>
</validationSet>
</validationSets>
+ <skip>${skipYamlJsonValidator}</skip>
</configuration>
</execution>
</executions>
diff --git a/catalog-be/pom.xml b/catalog-be/pom.xml
index cbaf2094a3..cd2dd305e8 100644
--- a/catalog-be/pom.xml
+++ b/catalog-be/pom.xml
@@ -880,6 +880,7 @@
</includes>
</validationSet>
</validationSets>
+ <skip>${skipYamlJsonValidator}</skip>
</configuration>
</execution>
</executions>
diff --git a/catalog-dao/pom.xml b/catalog-dao/pom.xml
index d1d9b349ae..b939448f2d 100644
--- a/catalog-dao/pom.xml
+++ b/catalog-dao/pom.xml
@@ -419,6 +419,7 @@ Modifications copyright (c) 2018 Nokia
</includes>
</validationSet>
</validationSets>
+ <skip>${skipYamlJsonValidator}</skip>
</configuration>
</execution>
</executions>
diff --git a/catalog-fe/pom.xml b/catalog-fe/pom.xml
index 60353a8ec3..e861debeca 100644
--- a/catalog-fe/pom.xml
+++ b/catalog-fe/pom.xml
@@ -415,6 +415,7 @@
</includes>
</validationSet>
</validationSets>
+ <skip>${skipYamlJsonValidator}</skip>
</configuration>
</execution>
</executions>
diff --git a/catalog-model/pom.xml b/catalog-model/pom.xml
index 98e8c24d26..5d17b745ea 100644
--- a/catalog-model/pom.xml
+++ b/catalog-model/pom.xml
@@ -375,6 +375,7 @@
</includes>
</validationSet>
</validationSets>
+ <skip>${skipYamlJsonValidator}</skip>
</configuration>
</execution>
</executions>
diff --git a/catalog-ui/pom.xml b/catalog-ui/pom.xml
index f8d4e3f70c..516072674a 100644
--- a/catalog-ui/pom.xml
+++ b/catalog-ui/pom.xml
@@ -161,6 +161,7 @@
</includes>
</validationSet>
</validationSets>
+ <skip>${skipYamlJsonValidator}</skip>
</configuration>
</execution>
</executions>
diff --git a/common-app-api/pom.xml b/common-app-api/pom.xml
index 323bcf822b..33248f6cff 100644
--- a/common-app-api/pom.xml
+++ b/common-app-api/pom.xml
@@ -310,6 +310,7 @@
</includes>
</validationSet>
</validationSets>
+ <skip>${skipYamlJsonValidator}</skip>
</configuration>
</execution>
</executions>
diff --git a/common-be/pom.xml b/common-be/pom.xml
index 175b3877ef..aad2d0bdb4 100644
--- a/common-be/pom.xml
+++ b/common-be/pom.xml
@@ -222,6 +222,7 @@
</includes>
</validationSet>
</validationSets>
+ <skip>${skipYamlJsonValidator}</skip>
</configuration>
</execution>
</executions>
diff --git a/pom.xml b/pom.xml
index d29852dae3..c571cdec98 100644
--- a/pom.xml
+++ b/pom.xml
@@ -71,6 +71,8 @@ Modifications copyright (c) 2018-2019 Nokia
<jackson-annotations.version>${jackson.version}</jackson-annotations.version>
<jackson.mapper.version>1.9.13</jackson.mapper.version>
<clearspring.version>2.1.1</clearspring.version>
+ <skipYamlJsonValidator>false</skipYamlJsonValidator>
+ <skipCheckstyle>false</skipCheckstyle>
<!-- Yaml for properties -->
<snakeyaml.version>1.14</snakeyaml.version>
@@ -372,7 +374,7 @@ Modifications copyright (c) 2018-2019 Nokia
<plugin>
<groupId>com.github.sylvainlaurent.maven</groupId>
<artifactId>yaml-json-validator-maven-plugin</artifactId>
- <version>1.0.1</version>
+ <version>1.0.2</version>
</plugin>
<plugin>
<groupId>pl.project13.maven</groupId>
@@ -389,6 +391,7 @@ Modifications copyright (c) 2018-2019 Nokia
<configuration>
<suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
<suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
+ <skip>${skipCheckstyle}</skip>
</configuration>
</plugin>
<!-- plugin for parsing the project version -->
@@ -603,6 +606,33 @@ Modifications copyright (c) 2018-2019 Nokia
<module>onboarding</module>
</modules>
</profile>
+ <profile>
+ <id>fast-build</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ <skipYamlJsonValidator>true</skipYamlJsonValidator>
+ <skipCheckstyle>true</skipCheckstyle>
+ <jacoco.skip>true</jacoco.skip>
+ </properties>
+ <modules>
+ <module>ui-ci</module>
+ <module>asdctool</module>
+ <module>common-be</module>
+ <module>onboarding</module>
+ <module>catalog-be</module>
+ <module>catalog-ui</module>
+ <module>catalog-fe</module>
+ <module>catalog-dao</module>
+ <module>sdc-os-chef</module>
+ <module>test-apis-ci</module>
+ <module>catalog-model</module>
+ <module>common-app-api</module>
+ <module>common-app-logging</module>
+ </modules>
+ </profile>
</profiles>
diff --git a/sdc-os-chef/pom.xml b/sdc-os-chef/pom.xml
index 279392cf84..0778e4e410 100644
--- a/sdc-os-chef/pom.xml
+++ b/sdc-os-chef/pom.xml
@@ -39,6 +39,7 @@
</includes>
</validationSet>
</validationSets>
+ <skip>${skipYamlJsonValidator}</skip>
</configuration>
</execution>
</executions>
diff --git a/test-apis-ci/pom.xml b/test-apis-ci/pom.xml
index cfe1ac99ed..105d3cd04e 100644
--- a/test-apis-ci/pom.xml
+++ b/test-apis-ci/pom.xml
@@ -547,6 +547,7 @@
</excludes>
</validationSet>
</validationSets>
+ <skip>${skipYamlJsonValidator}</skip>
</configuration>
</execution>
</executions>
diff --git a/ui-ci/pom.xml b/ui-ci/pom.xml
index 4c24d2d5d5..299465ac23 100644
--- a/ui-ci/pom.xml
+++ b/ui-ci/pom.xml
@@ -415,6 +415,7 @@
</includes>
</validationSet>
</validationSets>
+ <skip>${skipYamlJsonValidator}</skip>
</configuration>
</execution>
</executions>
diff --git a/utils/webseal-simulator/pom.xml b/utils/webseal-simulator/pom.xml
index 0c7bd25594..1c21179e77 100644
--- a/utils/webseal-simulator/pom.xml
+++ b/utils/webseal-simulator/pom.xml
@@ -131,6 +131,7 @@
</includes>
</validationSet>
</validationSets>
+ <skip>${skipYamlJsonValidator}</skip>
</configuration>
</execution>
</executions>