diff options
author | elinuxhenrik <henrik.b.andersson@est.tech> | 2020-12-07 14:54:19 +0100 |
---|---|---|
committer | elinuxhenrik <henrik.b.andersson@est.tech> | 2020-12-08 09:34:41 +0100 |
commit | f28594d423c9da9988d6a23ab49c4e787a5ae089 (patch) | |
tree | 2666813cab4ec122160f2e8bc28adfef706747a4 /pom.xml | |
parent | acfcde2e7729939a9a9f9f8a085951585033c081 (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.xml | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -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> |