blob: 49c3267dd9897234c1b6ba5ad0412731ffbf8c6a [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>
15 <minimum-coverage>0.88</minimum-coverage>
16 </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>
54 <groupId>org.apache.commons</groupId>
55 <artifactId>commons-lang3</artifactId>
56 </dependency>
puthuparambil.aditya47598112020-11-02 11:31:39 +000057 <dependency>
Rishi.Chail48830f12020-11-09 03:28:44 +000058 <groupId>org.modelmapper</groupId>
59 <artifactId>modelmapper</artifactId>
60 </dependency>
Ruslan Kashapovf338b922020-10-28 16:53:58 +020061 <!-- 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>
puthuparambil.aditya008c0ad2020-12-14 15:46:30 +000073 <groupId>org.spockframework</groupId>
74 <artifactId>spock-spring</artifactId>
75 <scope>test</scope>
76 </dependency>
77 <dependency>
Ruslan Kashapovf338b922020-10-28 16:53:58 +020078 <groupId>cglib</groupId>
79 <artifactId>cglib-nodep</artifactId>
80 <scope>test</scope>
81 </dependency>
puthuparambil.aditya008c0ad2020-12-14 15:46:30 +000082 <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>
Rishi Chailb220d742020-09-16 15:23:53 +010093 </dependencies>
94
95 <build>
96 <plugins>
97 <plugin>
98 <groupId>org.springframework.boot</groupId>
99 <artifactId>spring-boot-maven-plugin</artifactId>
Rishi Chailb220d742020-09-16 15:23:53 +0100100 </plugin>
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>
105 </plugin>
Rishi Chailb220d742020-09-16 15:23:53 +0100106 </plugins>
107 </build>
Claudio David Gasparinif94db302021-01-20 11:42:19 +0100108
109 <profiles>
110 <profile>
111 <id>docker</id>
112 <activation>
113 <activeByDefault>false</activeByDefault>
114 </activation>
115 <build>
116 <plugins>
117 <plugin>
118 <groupId>com.google.cloud.tools</groupId>
119 <artifactId>jib-maven-plugin</artifactId>
120 <executions>
121 <execution>
122 <phase>package</phase>
123 <id>build</id>
124 <goals>
125 <goal>dockerBuild</goal>
126 </goals>
127 </execution>
128 <execution>
129 <phase>deploy</phase>
130 <id>buildAndPush</id>
131 <goals>
132 <goal>build</goal>
133 </goals>
134 </execution>
135 </executions>
136 </plugin>
137 </plugins>
138 </build>
139 </profile>
140 </profiles>
Rishi Chailb220d742020-09-16 15:23:53 +0100141</project>