summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-rest/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'cps-ncmp-rest/pom.xml')
-rw-r--r--cps-ncmp-rest/pom.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/cps-ncmp-rest/pom.xml b/cps-ncmp-rest/pom.xml
index d46767e72c..e6c01cbe8a 100644
--- a/cps-ncmp-rest/pom.xml
+++ b/cps-ncmp-rest/pom.xml
@@ -231,6 +231,25 @@
</resources>
</configuration>
</execution>
+ <execution>
+ <id>copy-to-docs-folder</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.basedir}/../docs/api/swagger/ncmp</outputDirectory>
+ <overwrite>true</overwrite>
+ <resources>
+ <resource>
+ <directory>${project.basedir}/target/generated-sources/openapi/</directory>
+ <includes>
+ <include>openapi*.yaml</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>