summaryrefslogtreecommitdiffstats
path: root/openecomp-be/tools
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/tools
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/tools')
-rw-r--r--openecomp-be/tools/swagger-ui/pom.xml19
-rw-r--r--openecomp-be/tools/zusammen-tools/pom.xml11
2 files changed, 18 insertions, 12 deletions
diff --git a/openecomp-be/tools/swagger-ui/pom.xml b/openecomp-be/tools/swagger-ui/pom.xml
index 903dab706b..07391a615e 100644
--- a/openecomp-be/tools/swagger-ui/pom.xml
+++ b/openecomp-be/tools/swagger-ui/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/maven-v4_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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>api-docs</artifactId>
<groupId>org.openecomp.sdc.onboarding</groupId>
@@ -14,7 +14,8 @@
<properties>
<plugin.name>api-docs</plugin.name>
- <rest.api.dir>${basedir}/../../api/openecomp-sdc-rest-webapp/onboarding-rest-war</rest.api.dir>
+ <rest.api.dir>${basedir}/../../api/openecomp-sdc-rest-webapp/onboarding-rest-war
+ </rest.api.dir>
<api.json.file>api.json</api.json.file>
</properties>
<build>
@@ -39,16 +40,20 @@
</executions>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
+ <version>${maven-antrun-plugin.version}</version>
<executions>
<execution>
<id>copy</id>
<phase>package</phase>
<configuration>
- <tasks>
+ <target>
<echo message="Copy api json files"/>
- <copy file="${rest.api.dir}/target/generated/swagger-ui/swagger-sdce-1.json" tofile="${basedir}/target/${plugin.name}/${api.json.file}"/>
- </tasks>
+ <copy
+ file="${rest.api.dir}/target/generated/swagger-ui/swagger-sdce-1.json"
+ tofile="${basedir}/target/${plugin.name}/${api.json.file}"/>
+ </target>
</configuration>
<goals>
<goal>run</goal>
@@ -64,7 +69,7 @@
<descriptor>assembly/swagger.xml</descriptor>
<finalName>${plugin.name}</finalName>
<outputDirectory>${basedir}/target/${plugin.name}</outputDirectory>
- <appendAssemblyId>false</appendAssemblyId>
+ <appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
diff --git a/openecomp-be/tools/zusammen-tools/pom.xml b/openecomp-be/tools/zusammen-tools/pom.xml
index 15f8b716b7..a9a5f5f25c 100644
--- a/openecomp-be/tools/zusammen-tools/pom.xml
+++ b/openecomp-be/tools/zusammen-tools/pom.xml
@@ -15,8 +15,8 @@
-->
<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>
<artifactId>openecomp-zusammen-tools</artifactId>
@@ -175,15 +175,16 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
+ <version>${maven-antrun-plugin.version}</version>
<executions>
<execution>
<id>ant-test</id>
<phase>package</phase>
<configuration>
- <tasks>
+ <target>
<fixcrlf srcdir="./" eol="unix"
- includes="zusammenMainTool.sh"/>
- </tasks>
+ includes="zusammenMainTool.sh"/>
+ </target>
</configuration>
<goals>
<goal>run</goal>