blob: ce304f33287f87025ece992c43f811a2b0ed0b85 [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>
83 <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 </dependencies>
109
110 <build>
111 <plugins>
112 <!-- Swagger code generation. -->
113 <plugin>
114 <groupId>io.swagger.codegen.v3</groupId>
115 <artifactId>swagger-codegen-maven-plugin</artifactId>
116 <executions>
117 <execution>
118 <goals>
119 <goal>generate</goal>
120 </goals>
121 <configuration>
122 <inputSpec>${project.basedir}/docs/api/swagger/openapi.yml</inputSpec>
123 <invokerPackage>org.onap.cps.rest.controller</invokerPackage>
124 <modelPackage>org.onap.cps.rest.model</modelPackage>
125 <apiPackage>org.onap.cps.rest.api</apiPackage>
126 <language>spring</language>
127 <generateSupportingFiles>false</generateSupportingFiles>
128 <configOptions>
129 <sourceFolder>src/gen/java</sourceFolder>
130 <dateLibrary>java11</dateLibrary>
131 <interfaceOnly>true</interfaceOnly>
132 <useTags>true</useTags>
133 </configOptions>
134 </configuration>
135 </execution>
136 </executions>
137 </plugin>
138 </plugins>
139 </build>
140</project>