diff options
author | Niamh Core <niamh.core@est.tech> | 2021-09-14 14:49:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-09-14 14:49:07 +0000 |
commit | bd8ab2fc4737aebada59962baed8b35d4f86dd1c (patch) | |
tree | 7977d36ac395ae430b723f8fb2952e0d98ae2abc /pom.xml | |
parent | ade7f1576b3ad5ad63b4f33efc59334a627657a5 (diff) | |
parent | 44beaa34486d0624175c42cc3899a0b53befd9a8 (diff) |
Merge "Create Preliminary Documentation for CPS-Core & NCMP"
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 41 |
1 files changed, 41 insertions, 0 deletions
@@ -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>
|