blob: a8ace0eb75f4ffcb5f7e3fb778e3aea3ffa4f3be [file] [log] [blame]
Bruno Sakotof05a5032021-03-03 18:27:54 -05001<!--
2 ============LICENSE_START=======================================================
3 Copyright (c) 2020 Linux Foundation.
4 Modifications Copyright (C) 2021 Bell Canada.
5 ================================================================================
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.
17 ============LICENSE_END=========================================================
18-->
19
Ruslan Kashapov5e1a5a72021-02-04 17:26:01 +020020<project xmlns="http://maven.apache.org/POM/4.0.0"
21 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
24 <parent>
25 <groupId>org.onap.cps</groupId>
26 <artifactId>cps-parent</artifactId>
Rishi.Chaildbffd912021-03-05 12:32:33 +000027 <version>1.1.0-SNAPSHOT</version>
Ruslan Kashapov5e1a5a72021-02-04 17:26:01 +020028 <relativePath>../cps-parent/pom.xml</relativePath>
29 </parent>
30
31 <artifactId>cps-rest</artifactId>
32
33 <dependencies>
34 <dependency>
35 <groupId>${project.groupId}</groupId>
36 <artifactId>cps-service</artifactId>
37 </dependency>
38 <dependency>
Ruslan Kashapov5e1a5a72021-02-04 17:26:01 +020039 <groupId>org.springframework.boot</groupId>
40 <artifactId>spring-boot-starter-web</artifactId>
41 <exclusions>
42 <exclusion>
43 <groupId>org.springframework.boot</groupId>
44 <artifactId>spring-boot-starter-tomcat</artifactId>
45 </exclusion>
46 </exclusions>
47 </dependency>
48 <dependency>
49 <groupId>org.springframework.boot</groupId>
Ruslan Kashapov8fe579d2021-03-04 17:13:00 +020050 <artifactId>spring-boot-starter-validation</artifactId>
51 </dependency>
52 <dependency>
53 <groupId>org.springframework.boot</groupId>
Ruslan Kashapov5e1a5a72021-02-04 17:26:01 +020054 <artifactId>spring-boot-starter-jetty</artifactId>
55 </dependency>
56 <dependency>
Ruslan Kashapov5e1a5a72021-02-04 17:26:01 +020057 <groupId>io.swagger.core.v3</groupId>
58 <artifactId>swagger-annotations</artifactId>
59 </dependency>
60 <dependency>
61 <groupId>io.springfox</groupId>
62 <artifactId>springfox-boot-starter</artifactId>
63 </dependency>
64 <dependency>
65 <groupId>io.swagger</groupId>
66 <artifactId>swagger-annotations</artifactId>
67 </dependency>
68 <dependency>
69 <groupId>org.apache.commons</groupId>
70 <artifactId>commons-lang3</artifactId>
71 </dependency>
72 <dependency>
73 <groupId>org.modelmapper</groupId>
74 <artifactId>modelmapper</artifactId>
75 </dependency>
76 <!-- T E S T D E P E N D E N C I E S -->
77 <dependency>
78 <groupId>org.codehaus.groovy</groupId>
79 <artifactId>groovy</artifactId>
80 <scope>test</scope>
81 </dependency>
82 <dependency>
shivasubedi8a74ced2021-04-29 12:48:05 +010083 <groupId>org.codehaus.groovy</groupId>
84 <artifactId>groovy-json</artifactId>
85 <scope>test</scope>
86 </dependency>
87 <dependency>
Ruslan Kashapov5e1a5a72021-02-04 17:26:01 +020088 <groupId>org.spockframework</groupId>
89 <artifactId>spock-core</artifactId>
90 <scope>test</scope>
91 </dependency>
92 <dependency>
93 <groupId>org.spockframework</groupId>
94 <artifactId>spock-spring</artifactId>
95 <scope>test</scope>
96 </dependency>
97 <dependency>
98 <groupId>cglib</groupId>
99 <artifactId>cglib-nodep</artifactId>
100 <scope>test</scope>
101 </dependency>
102 <dependency>
103 <groupId>org.springframework.boot</groupId>
104 <artifactId>spring-boot-starter-test</artifactId>
105 <scope>test</scope>
106 <exclusions>
107 <exclusion>
108 <groupId>org.junit.vintage</groupId>
109 <artifactId>junit-vintage-engine</artifactId>
110 </exclusion>
111 </exclusions>
112 </dependency>
113 </dependencies>
114
115 <build>
116 <plugins>
117 <!-- Swagger code generation. -->
118 <plugin>
119 <groupId>io.swagger.codegen.v3</groupId>
120 <artifactId>swagger-codegen-maven-plugin</artifactId>
121 <executions>
122 <execution>
123 <goals>
124 <goal>generate</goal>
125 </goals>
126 <configuration>
JosephKeenaneef2e112021-05-24 17:42:23 +0100127 <inputSpec>${project.basedir}/docs/openapi/openapi.yml</inputSpec>
Ruslan Kashapov5e1a5a72021-02-04 17:26:01 +0200128 <invokerPackage>org.onap.cps.rest.controller</invokerPackage>
129 <modelPackage>org.onap.cps.rest.model</modelPackage>
130 <apiPackage>org.onap.cps.rest.api</apiPackage>
131 <language>spring</language>
132 <generateSupportingFiles>false</generateSupportingFiles>
133 <configOptions>
134 <sourceFolder>src/gen/java</sourceFolder>
135 <dateLibrary>java11</dateLibrary>
136 <interfaceOnly>true</interfaceOnly>
137 <useTags>true</useTags>
138 </configOptions>
139 </configuration>
140 </execution>
141 </executions>
142 </plugin>
143 </plugins>
144 </build>
145</project>