Update versions for next release
[cps.git] / cps-rest / pom.xml
1 <!--
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
20 <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>
27         <version>1.1.0-SNAPSHOT</version>
28         <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>
39             <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>
50             <artifactId>spring-boot-starter-validation</artifactId>
51         </dependency>
52         <dependency>
53             <groupId>org.springframework.boot</groupId>
54             <artifactId>spring-boot-starter-jetty</artifactId>
55         </dependency>
56         <dependency>
57             <groupId>org.springframework.boot</groupId>
58             <artifactId>spring-boot-starter-security</artifactId>
59         </dependency>
60         <dependency>
61             <groupId>io.swagger.core.v3</groupId>
62             <artifactId>swagger-annotations</artifactId>
63         </dependency>
64         <dependency>
65             <groupId>io.springfox</groupId>
66             <artifactId>springfox-boot-starter</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>io.swagger</groupId>
70             <artifactId>swagger-annotations</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>org.apache.commons</groupId>
74             <artifactId>commons-lang3</artifactId>
75         </dependency>
76         <dependency>
77             <groupId>org.modelmapper</groupId>
78             <artifactId>modelmapper</artifactId>
79         </dependency>
80         <!-- T E S T   D E P E N D E N C I E S -->
81         <dependency>
82             <groupId>org.codehaus.groovy</groupId>
83             <artifactId>groovy</artifactId>
84             <scope>test</scope>
85         </dependency>
86         <dependency>
87             <groupId>org.spockframework</groupId>
88             <artifactId>spock-core</artifactId>
89             <scope>test</scope>
90         </dependency>
91         <dependency>
92             <groupId>org.spockframework</groupId>
93             <artifactId>spock-spring</artifactId>
94             <scope>test</scope>
95         </dependency>
96         <dependency>
97             <groupId>cglib</groupId>
98             <artifactId>cglib-nodep</artifactId>
99             <scope>test</scope>
100         </dependency>
101         <dependency>
102             <groupId>org.springframework.boot</groupId>
103             <artifactId>spring-boot-starter-test</artifactId>
104             <scope>test</scope>
105             <exclusions>
106                 <exclusion>
107                     <groupId>org.junit.vintage</groupId>
108                     <artifactId>junit-vintage-engine</artifactId>
109                 </exclusion>
110             </exclusions>
111         </dependency>
112         <dependency>
113             <groupId>org.springframework.security</groupId>
114             <artifactId>spring-security-test</artifactId>
115             <scope>test</scope>
116         </dependency>
117     </dependencies>
118
119     <build>
120         <plugins>
121             <!-- Swagger code generation. -->
122             <plugin>
123                 <groupId>io.swagger.codegen.v3</groupId>
124                 <artifactId>swagger-codegen-maven-plugin</artifactId>
125                 <executions>
126                     <execution>
127                         <goals>
128                             <goal>generate</goal>
129                         </goals>
130                         <configuration>
131                             <inputSpec>${project.basedir}/docs/api/swagger/openapi.yml</inputSpec>
132                             <invokerPackage>org.onap.cps.rest.controller</invokerPackage>
133                             <modelPackage>org.onap.cps.rest.model</modelPackage>
134                             <apiPackage>org.onap.cps.rest.api</apiPackage>
135                             <language>spring</language>
136                             <generateSupportingFiles>false</generateSupportingFiles>
137                             <configOptions>
138                                 <sourceFolder>src/gen/java</sourceFolder>
139                                 <dateLibrary>java11</dateLibrary>
140                                 <interfaceOnly>true</interfaceOnly>
141                                 <useTags>true</useTags>
142                             </configOptions>
143                         </configuration>
144                     </execution>
145                 </executions>
146             </plugin>
147         </plugins>
148     </build>
149 </project>