aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/api/openecomp-sdc-rest-webapp
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2021-03-23 17:47:51 +0000
committerChristophe Closset <christophe.closset@intl.att.com>2021-03-24 15:38:24 +0000
commit787cfd5756e784be88874ef31783584e0ffd5d0c (patch)
tree97bd1eebac51500e5555f2bba137cc1fe4b1abd5 /openecomp-be/api/openecomp-sdc-rest-webapp
parent8a42713718e46751938a63ccdca4d16244416dd8 (diff)
Skip swagger in fast build profile
Add configuration to skip swagger in 'fast-build' profile Change-Id: I737e3df89d0b15391616ccbce9da4b3ecdd7ed67 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3525
Diffstat (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp')
-rw-r--r--openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml24
1 files changed, 16 insertions, 8 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml
index e57029be2a..bf5696e83b 100644
--- a/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml
+++ b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml
@@ -1,6 +1,6 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.openecomp.sdc.onboarding</groupId>
@@ -30,12 +30,12 @@
<artifactId>openecomp-sdc-notification-api</artifactId>
<version>${project.version}</version>
</dependency>
- <dependency>
+ <dependency>
<groupId>org.openecomp.sdc</groupId>
<artifactId>openecomp-sdc-notification-core</artifactId>
<version>${project.version}</version>
</dependency>
- <dependency>
+ <dependency>
<groupId>org.openecomp.sdc.onboarding</groupId>
<artifactId>vnf-repository-rest-services</artifactId>
<version>${project.version}</version>
@@ -231,17 +231,21 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
+ <version>${maven-antrun-plugin.version}</version>
<executions>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<configuration>
- <tasks>
+ <target>
<property name="version" value="${project.version}"/>
<mkdir dir="target/docs"/>
- <echo file="target/docs/build-info.json">{"Version": "${project.version}"}</echo>
- </tasks>
+ <echo file="target/docs/build-info.json">{"Version":
+ "${project.version}"}
+ </echo>
+ </target>
</configuration>
<goals>
<goal>run</goal>
@@ -252,11 +256,15 @@
<plugin>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-maven-plugin</artifactId>
+ <version>${swagger-core-mvn-plugin.version}</version>
<configuration>
<outputPath>${project.build.directory}/generated/swagger-ui</outputPath>
<outputFileName>swagger-sdce-1</outputFileName>
<outputFormat>JSON</outputFormat>
- <configurationFilePath>${project.basedir}/src/main/resources/swagger-config.yaml</configurationFilePath>
+ <configurationFilePath>
+ ${project.basedir}/src/main/resources/swagger-config.yaml
+ </configurationFilePath>
+ <skip>${swagger.skip}</skip>
</configuration>
<executions>
<execution>