blob: 8e220221a0a5e4fd522ae7f75ae8feee8878794e [file] [log] [blame]
Ruslan Kashapov5e1a5a72021-02-04 17:26:01 +02001<project xmlns="http://maven.apache.org/POM/4.0.0"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <parent>
6 <groupId>org.onap.cps</groupId>
7 <artifactId>cps-parent</artifactId>
8 <version>0.0.1-SNAPSHOT</version>
9 <relativePath>../cps-parent/pom.xml</relativePath>
10 </parent>
11
12 <artifactId>cps-rest</artifactId>
13
14 <dependencies>
15 <dependency>
16 <groupId>${project.groupId}</groupId>
17 <artifactId>cps-service</artifactId>
18 </dependency>
19 <dependency>
20 <groupId>${project.groupId}</groupId>
21 <artifactId>cps-ri</artifactId>
22 </dependency>
23 <dependency>
24 <groupId>org.springframework.boot</groupId>
25 <artifactId>spring-boot-starter-web</artifactId>
26 <exclusions>
27 <exclusion>
28 <groupId>org.springframework.boot</groupId>
29 <artifactId>spring-boot-starter-tomcat</artifactId>
30 </exclusion>
31 </exclusions>
32 </dependency>
33 <dependency>
34 <groupId>org.springframework.boot</groupId>
35 <artifactId>spring-boot-starter-jetty</artifactId>
36 </dependency>
37 <dependency>
38 <groupId>org.springframework.boot</groupId>
39 <artifactId>spring-boot-starter-actuator</artifactId>
40 </dependency>
41 <dependency>
42 <groupId>io.swagger.core.v3</groupId>
43 <artifactId>swagger-annotations</artifactId>
44 </dependency>
45 <dependency>
46 <groupId>io.springfox</groupId>
47 <artifactId>springfox-boot-starter</artifactId>
48 </dependency>
49 <dependency>
50 <groupId>io.swagger</groupId>
51 <artifactId>swagger-annotations</artifactId>
52 </dependency>
53 <dependency>
54 <groupId>org.apache.commons</groupId>
55 <artifactId>commons-lang3</artifactId>
56 </dependency>
57 <dependency>
58 <groupId>org.modelmapper</groupId>
59 <artifactId>modelmapper</artifactId>
60 </dependency>
61 <!-- T E S T D E P E N D E N C I E S -->
62 <dependency>
63 <groupId>org.codehaus.groovy</groupId>
64 <artifactId>groovy</artifactId>
65 <scope>test</scope>
66 </dependency>
67 <dependency>
68 <groupId>org.spockframework</groupId>
69 <artifactId>spock-core</artifactId>
70 <scope>test</scope>
71 </dependency>
72 <dependency>
73 <groupId>org.spockframework</groupId>
74 <artifactId>spock-spring</artifactId>
75 <scope>test</scope>
76 </dependency>
77 <dependency>
78 <groupId>cglib</groupId>
79 <artifactId>cglib-nodep</artifactId>
80 <scope>test</scope>
81 </dependency>
82 <dependency>
83 <groupId>org.springframework.boot</groupId>
84 <artifactId>spring-boot-starter-test</artifactId>
85 <scope>test</scope>
86 <exclusions>
87 <exclusion>
88 <groupId>org.junit.vintage</groupId>
89 <artifactId>junit-vintage-engine</artifactId>
90 </exclusion>
91 </exclusions>
92 </dependency>
93 </dependencies>
94
95 <build>
96 <plugins>
97 <!-- Swagger code generation. -->
98 <plugin>
99 <groupId>io.swagger.codegen.v3</groupId>
100 <artifactId>swagger-codegen-maven-plugin</artifactId>
101 <executions>
102 <execution>
103 <goals>
104 <goal>generate</goal>
105 </goals>
106 <configuration>
107 <inputSpec>${project.basedir}/docs/api/swagger/openapi.yml</inputSpec>
108 <invokerPackage>org.onap.cps.rest.controller</invokerPackage>
109 <modelPackage>org.onap.cps.rest.model</modelPackage>
110 <apiPackage>org.onap.cps.rest.api</apiPackage>
111 <language>spring</language>
112 <generateSupportingFiles>false</generateSupportingFiles>
113 <configOptions>
114 <sourceFolder>src/gen/java</sourceFolder>
115 <dateLibrary>java11</dateLibrary>
116 <interfaceOnly>true</interfaceOnly>
117 <useTags>true</useTags>
118 </configOptions>
119 </configuration>
120 </execution>
121 </executions>
122 </plugin>
123 </plugins>
124 </build>
125</project>