summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorNiamh Core <niamh.core@est.tech>2021-09-14 14:49:07 +0000
committerGerrit Code Review <gerrit@onap.org>2021-09-14 14:49:07 +0000
commitbd8ab2fc4737aebada59962baed8b35d4f86dd1c (patch)
tree7977d36ac395ae430b723f8fb2952e0d98ae2abc /pom.xml
parentade7f1576b3ad5ad63b4f33efc59334a627657a5 (diff)
parent44beaa34486d0624175c42cc3899a0b53befd9a8 (diff)
Merge "Create Preliminary Documentation for CPS-Core & NCMP"
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 9a5fa72d5f..007032dd46 100644
--- a/pom.xml
+++ b/pom.xml
@@ -74,6 +74,47 @@
<processAllModules>true</processAllModules>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-resources-ncmp</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.basedir}/docs/api/swagger/ncmp/</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.basedir}/cps-ncmp-rest/target/generated-sources/swagger</directory>
+ <includes>
+ <include>openapi.yaml</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ <execution>
+ <id>copy-resources-cps</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.basedir}/docs/api/swagger/cps/</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.basedir}/cps-rest/target/generated-sources/swagger/</directory>
+ <includes>
+ <include>openapi.yaml</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>