blob: dbe1af09738d14bc9456ae7e01c55dfdc402ecf4 [file] [log] [blame]
tragait34a94b92021-03-30 12:02:27 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
lukegleeson15b93e72021-07-07 15:25:30 +01004 Copyright (C) 2021 Nordix Foundation
tragait34a94b92021-03-30 12:02:27 +01005 ================================================================================
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
lukegleeson15b93e72021-07-07 15:25:30 +010017
18 SPDX-License-Identifier: Apache-2.0
tragait34a94b92021-03-30 12:02:27 +010019 ============LICENSE_END=========================================================
20-->
lukegleeson15b93e72021-07-07 15:25:30 +010021
tragait34a94b92021-03-30 12:02:27 +010022<project xmlns="http://maven.apache.org/POM/4.0.0"
23 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
25<modelVersion>4.0.0</modelVersion>
26<parent>
27 <groupId>org.onap.cps</groupId>
28 <artifactId>cps-parent</artifactId>
29 <version>1.1.0-SNAPSHOT</version>
30 <relativePath>../cps-parent/pom.xml</relativePath>
31</parent>
32
33<artifactId>cps-ncmp-rest</artifactId>
34
35<properties>
Claudio D. Gaspariniac6df762021-04-19 18:18:19 +020036 <minimum-coverage>0.5</minimum-coverage>
tragait34a94b92021-03-30 12:02:27 +010037</properties>
38
39<dependencies>
40 <dependency>
41 <groupId>${project.groupId}</groupId>
42 <artifactId>cps-ncmp-service</artifactId>
43 <version>${project.version}</version>
44 </dependency>
45 <dependency>
46 <groupId>org.springframework.boot</groupId>
47 <artifactId>spring-boot-starter-web</artifactId>
48 <exclusions>
49 <exclusion>
50 <groupId>org.springframework.boot</groupId>
51 <artifactId>spring-boot-starter-tomcat</artifactId>
52 </exclusion>
53 </exclusions>
54 </dependency>
55 <dependency>
56 <groupId>org.springframework.boot</groupId>
Claudio D. Gaspariniac6df762021-04-19 18:18:19 +020057 <artifactId>spring-boot-starter-validation</artifactId>
58 </dependency>
59 <dependency>
60 <groupId>org.springframework.boot</groupId>
tragait34a94b92021-03-30 12:02:27 +010061 <artifactId>spring-boot-starter-jetty</artifactId>
62 </dependency>
63 <dependency>
64 <groupId>io.swagger.core.v3</groupId>
65 <artifactId>swagger-annotations</artifactId>
66 </dependency>
67 <dependency>
68 <groupId>io.springfox</groupId>
69 <artifactId>springfox-boot-starter</artifactId>
70 </dependency>
tragait34a94b92021-03-30 12:02:27 +010071 <!-- T E S T D E P E N D E N C I E S -->
72 <dependency>
73 <groupId>org.codehaus.groovy</groupId>
74 <artifactId>groovy</artifactId>
75 <scope>test</scope>
76 </dependency>
77 <dependency>
shivasubedi8a74ced2021-04-29 12:48:05 +010078 <groupId>org.codehaus.groovy</groupId>
79 <artifactId>groovy-json</artifactId>
80 <scope>test</scope>
81 </dependency>
82 <dependency>
tragait34a94b92021-03-30 12:02:27 +010083 <groupId>org.spockframework</groupId>
84 <artifactId>spock-core</artifactId>
85 <scope>test</scope>
86 </dependency>
87 <dependency>
88 <groupId>org.spockframework</groupId>
89 <artifactId>spock-spring</artifactId>
90 <scope>test</scope>
91 </dependency>
92 <dependency>
93 <groupId>cglib</groupId>
94 <artifactId>cglib-nodep</artifactId>
95 <scope>test</scope>
96 </dependency>
97 <dependency>
98 <groupId>org.springframework.boot</groupId>
99 <artifactId>spring-boot-starter-test</artifactId>
100 <scope>test</scope>
101 <exclusions>
102 <exclusion>
103 <groupId>org.junit.vintage</groupId>
104 <artifactId>junit-vintage-engine</artifactId>
105 </exclusion>
106 </exclusions>
107 </dependency>
108 <dependency>
109 <groupId>com.google.code.gson</groupId>
110 <artifactId>gson</artifactId>
111 </dependency>
112</dependencies>
113
114<build>
115 <plugins>
116 <!-- Swagger code generation. -->
117 <plugin>
118 <groupId>io.swagger.codegen.v3</groupId>
119 <artifactId>swagger-codegen-maven-plugin</artifactId>
120 <executions>
121 <execution>
122 <goals>
123 <goal>generate</goal>
124 </goals>
125 <configuration>
126 <inputSpec>${project.basedir}/docs/openapi/openapi.yml</inputSpec>
127 <invokerPackage>org.onap.cps.ncmp.rest.controller</invokerPackage>
128 <modelPackage>org.onap.cps.ncmp.rest.model</modelPackage>
129 <apiPackage>org.onap.cps.ncmp.rest.api</apiPackage>
130 <language>spring</language>
131 <generateSupportingFiles>false</generateSupportingFiles>
132 <configOptions>
133 <sourceFolder>src/gen/java</sourceFolder>
134 <dateLibrary>java11</dateLibrary>
135 <interfaceOnly>true</interfaceOnly>
136 <useTags>true</useTags>
137 </configOptions>
138 </configuration>
139 </execution>
140 </executions>
141 </plugin>
142 </plugins>
143</build>
144</project>