aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorelinuxhenrik <henrik.b.andersson@est.tech>2020-12-07 14:54:19 +0100
committerelinuxhenrik <henrik.b.andersson@est.tech>2020-12-08 09:34:41 +0100
commitf28594d423c9da9988d6a23ab49c4e787a5ae089 (patch)
tree2666813cab4ec122160f2e8bc28adfef706747a4 /pom.xml
parentacfcde2e7729939a9a9f9f8a085951585033c081 (diff)
Add generation of API yaml file
Change-Id: I3f3091c76b926425f9a2187e43dd03a1cdb4bda6 Issue-ID: CCSDK-2736 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index fe0f143a..7e732e0b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,6 +42,7 @@
<properties>
<sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
+ <maven-resources-plugin.version>3.2.0</maven-resources-plugin.version>
</properties>
<build>
@@ -52,6 +53,30 @@
<artifactId>sonar-maven-plugin</artifactId>
<version>${sonar-maven-plugin.version}</version>
</plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>${maven-resources-plugin.version}</version>
+ <executions>
+ <execution>
+ <id>copy-resource-one</id>
+ <phase>install</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/docs/offeredapis/swagger</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${basedir}/a1-policy-management/api</directory>
+ <includes>
+ <include>pms-api.*</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>