summaryrefslogtreecommitdiffstats
path: root/openecomp-be/tools/swagger-ui/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/tools/swagger-ui/pom.xml')
-rw-r--r--openecomp-be/tools/swagger-ui/pom.xml38
1 files changed, 34 insertions, 4 deletions
diff --git a/openecomp-be/tools/swagger-ui/pom.xml b/openecomp-be/tools/swagger-ui/pom.xml
index 26b315a445..b2b608cd3a 100644
--- a/openecomp-be/tools/swagger-ui/pom.xml
+++ b/openecomp-be/tools/swagger-ui/pom.xml
@@ -4,7 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>api-docs</artifactId>
<groupId>org.openecomp.sdc.onboarding</groupId>
- <version>1.0-SNAPSHOT</version>
+
+ <parent>
+ <groupId>org.openecomp.sdc</groupId>
+ <artifactId>openecomp-sdc</artifactId>
+ <version>1.1.0-SNAPSHOT</version>
+ <relativePath>../../</relativePath>
+ </parent>
<properties>
<plugin.name>api-docs</plugin.name>
@@ -15,10 +21,33 @@
</properties>
<build>
<plugins>
+ <!-- ============================================= -->
+ <!-- Clean api-docs folder -->
+ <!-- ============================================= -->
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.6.1</version>
+ <executions>
+ <execution>
+ <id>clean.dist.folder</id>
+ <phase>clean</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>${basedir}/api-docs</directory>
+ </fileset>
+ </filesets>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
- <version>2.4</version>
+ <version>${mvn.deploy.version}</version>
<configuration>
<skip>true</skip>
</configuration>
@@ -26,7 +55,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>2.4</version>
+ <version>${mvn.jar.version}</version>
<executions>
<execution>
<id>default-jar</id>
@@ -57,6 +86,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
+ <version>${mvn.assembly.version}</version>
<configuration>
<descriptor>assembly/swagger.xml</descriptor>
<finalName>${plugin.name}</finalName>
@@ -74,4 +104,4 @@
</plugins>
</build>
-</project> \ No newline at end of file
+</project>