blob: 5bd223d30172974c7063e6feb85587a06e972175 [file] [log] [blame]
Rishi Chailb220d742020-09-16 15:23:53 +01001<project xmlns="http://maven.apache.org/POM/4.0.0"
Claudio David Gasparinif94db302021-01-20 11:42:19 +01002 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">
Rishi Chailb220d742020-09-16 15:23:53 +01004 <modelVersion>4.0.0</modelVersion>
Rishi Chailb220d742020-09-16 15:23:53 +01005 <parent>
6 <groupId>org.onap.cps</groupId>
Claudio David Gasparini70c17022020-10-26 10:12:10 +01007 <artifactId>cps-parent</artifactId>
Rishi Chailb220d742020-09-16 15:23:53 +01008 <version>0.0.1-SNAPSHOT</version>
Claudio David Gasparini70c17022020-10-26 10:12:10 +01009 <relativePath>../cps-parent/pom.xml</relativePath>
Rishi Chailb220d742020-09-16 15:23:53 +010010 </parent>
11
Claudio David Gasparini70c17022020-10-26 10:12:10 +010012 <artifactId>cps-rest</artifactId>
13
Claudio David Gasparini3e38d762021-01-15 14:08:34 +010014 <properties>
Claudio D. Gasparinib1ccfce2021-02-04 09:33:28 +010015 <minimum-coverage>0.51</minimum-coverage>
Claudio David Gasparini3e38d762021-01-15 14:08:34 +010016 </properties>
17
Rishi Chailb220d742020-09-16 15:23:53 +010018 <dependencies>
Rishi Chailb220d742020-09-16 15:23:53 +010019 <dependency>
Claudio David Gasparini70c17022020-10-26 10:12:10 +010020 <groupId>${project.groupId}</groupId>
Rishi Chailb220d742020-09-16 15:23:53 +010021 <artifactId>cps-service</artifactId>
Rishi Chailb220d742020-09-16 15:23:53 +010022 </dependency>
Rishi Chailb220d742020-09-16 15:23:53 +010023 <dependency>
Claudio David Gasparini70c17022020-10-26 10:12:10 +010024 <groupId>${project.groupId}</groupId>
Rishi Chailb220d742020-09-16 15:23:53 +010025 <artifactId>cps-ri</artifactId>
Rishi Chailb220d742020-09-16 15:23:53 +010026 </dependency>
Rishi Chailb220d742020-09-16 15:23:53 +010027 <dependency>
28 <groupId>org.springframework.boot</groupId>
Rishi Chail2371fe72020-10-30 12:58:54 +000029 <artifactId>spring-boot-starter-web</artifactId>
Rishi Chailb220d742020-09-16 15:23:53 +010030 <exclusions>
31 <exclusion>
32 <groupId>org.springframework.boot</groupId>
33 <artifactId>spring-boot-starter-tomcat</artifactId>
34 </exclusion>
35 </exclusions>
36 </dependency>
Rishi Chailb220d742020-09-16 15:23:53 +010037 <dependency>
38 <groupId>org.springframework.boot</groupId>
39 <artifactId>spring-boot-starter-jetty</artifactId>
40 </dependency>
Rishi Chail14f3af12020-10-02 09:33:35 +010041 <dependency>
Ruslan Kashapovf4d1c982020-10-29 11:39:31 +020042 <groupId>org.springframework.boot</groupId>
43 <artifactId>spring-boot-starter-actuator</artifactId>
44 </dependency>
45 <dependency>
Rishi Chail14f3af12020-10-02 09:33:35 +010046 <groupId>io.swagger.core.v3</groupId>
47 <artifactId>swagger-annotations</artifactId>
Rishi Chail14f3af12020-10-02 09:33:35 +010048 </dependency>
Rishi Chail14f3af12020-10-02 09:33:35 +010049 <dependency>
puthuparambil.aditya47598112020-11-02 11:31:39 +000050 <groupId>io.springfox</groupId>
puthuparambil.aditya52cff682020-11-05 11:34:41 +000051 <artifactId>springfox-boot-starter</artifactId>
puthuparambil.aditya47598112020-11-02 11:31:39 +000052 </dependency>
Claudio David Gasparini1bd1c6c2020-11-08 22:31:43 +010053 <dependency>
Claudio D. Gasparinib77bf252021-01-28 15:36:37 +010054 <groupId>io.swagger</groupId>
55 <artifactId>swagger-annotations</artifactId>
56 </dependency>
57 <dependency>
Claudio David Gasparini1bd1c6c2020-11-08 22:31:43 +010058 <groupId>org.apache.commons</groupId>
59 <artifactId>commons-lang3</artifactId>
60 </dependency>
puthuparambil.aditya47598112020-11-02 11:31:39 +000061 <dependency>
Rishi.Chail48830f12020-11-09 03:28:44 +000062 <groupId>org.modelmapper</groupId>
63 <artifactId>modelmapper</artifactId>
64 </dependency>
Ruslan Kashapovf338b922020-10-28 16:53:58 +020065 <!-- T E S T D E P E N D E N C I E S -->
66 <dependency>
67 <groupId>org.codehaus.groovy</groupId>
68 <artifactId>groovy</artifactId>
69 <scope>test</scope>
70 </dependency>
71 <dependency>
72 <groupId>org.spockframework</groupId>
73 <artifactId>spock-core</artifactId>
74 <scope>test</scope>
75 </dependency>
76 <dependency>
puthuparambil.aditya008c0ad2020-12-14 15:46:30 +000077 <groupId>org.spockframework</groupId>
78 <artifactId>spock-spring</artifactId>
79 <scope>test</scope>
80 </dependency>
81 <dependency>
Ruslan Kashapovf338b922020-10-28 16:53:58 +020082 <groupId>cglib</groupId>
83 <artifactId>cglib-nodep</artifactId>
84 <scope>test</scope>
85 </dependency>
puthuparambil.aditya008c0ad2020-12-14 15:46:30 +000086 <dependency>
87 <groupId>org.springframework.boot</groupId>
88 <artifactId>spring-boot-starter-test</artifactId>
89 <scope>test</scope>
90 <exclusions>
91 <exclusion>
92 <groupId>org.junit.vintage</groupId>
93 <artifactId>junit-vintage-engine</artifactId>
94 </exclusion>
95 </exclusions>
96 </dependency>
Rishi Chailb220d742020-09-16 15:23:53 +010097 </dependencies>
98
99 <build>
100 <plugins>
puthuparambil.aditya47598112020-11-02 11:31:39 +0000101 <!-- Swagger code generation. -->
102 <plugin>
103 <groupId>io.swagger.codegen.v3</groupId>
104 <artifactId>swagger-codegen-maven-plugin</artifactId>
Claudio D. Gasparinib77bf252021-01-28 15:36:37 +0100105 <executions>
106 <execution>
107 <goals>
108 <goal>generate</goal>
109 </goals>
110 <configuration>
111 <inputSpec>${project.basedir}/docs/api/swagger/openapi.yml</inputSpec>
112 <invokerPackage>org.onap.cps.rest.controller</invokerPackage>
113 <modelPackage>org.onap.cps.rest.model</modelPackage>
114 <apiPackage>org.onap.cps.rest.api</apiPackage>
115 <language>spring</language>
116 <generateSupportingFiles>false</generateSupportingFiles>
117 <configOptions>
118 <sourceFolder>src/gen/java</sourceFolder>
119 <dateLibrary>java11</dateLibrary>
120 <interfaceOnly>true</interfaceOnly>
121 <useTags>true</useTags>
122 </configOptions>
123 </configuration>
124 </execution>
125 </executions>
puthuparambil.aditya47598112020-11-02 11:31:39 +0000126 </plugin>
Rishi Chailb220d742020-09-16 15:23:53 +0100127 </plugins>
128 </build>
Rishi Chailb220d742020-09-16 15:23:53 +0100129</project>