mod-runtimeapi fix docker build and code coverage
[dcaegen2/platform.git] / mod / runtimeapi / runtime-web / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4         <modelVersion>4.0.0</modelVersion>
5         <parent>
6                 <groupId>org.onap.dcaegen2.platform.mod</groupId>
7                 <artifactId>runtimeapi</artifactId>
8                 <version>1.0.0</version>
9         </parent>
10         <artifactId>runtime-web</artifactId>
11         <version>1.0.0</version>
12         <packaging>jar</packaging>
13         <name>runtime-web</name>
14         <description>MOD Runtime Web Module</description>
15         <dependencies>
16                 <dependency>
17                         <groupId>org.onap.dcaegen2.platform.mod</groupId>
18                         <artifactId>runtime-core</artifactId>
19                         <version>1.0.0</version>
20                 </dependency>
21                 <dependency>
22                         <groupId>org.springframework.boot</groupId>
23                         <artifactId>spring-boot-starter-actuator</artifactId>
24                 </dependency>
25                 <dependency>
26                         <groupId>org.springframework.boot</groupId>
27                         <artifactId>spring-boot-starter-web</artifactId>
28                 </dependency>
29
30                 <dependency>
31                         <groupId>org.springframework.boot</groupId>
32                         <artifactId>spring-boot-devtools</artifactId>
33                         <scope>runtime</scope>
34                         <optional>true</optional>
35                 </dependency>
36                 <dependency>
37                         <groupId>org.springframework.boot</groupId>
38                         <artifactId>spring-boot-starter-test</artifactId>
39                         <scope>test</scope>
40                 </dependency>
41                 <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
42                 <dependency>
43                         <groupId>com.google.guava</groupId>
44                         <artifactId>guava</artifactId>
45                         <version>28.0-jre</version>
46                 </dependency>
47                 <dependency>
48                         <groupId>io.springfox</groupId>
49                         <artifactId>springfox-swagger2</artifactId>
50                         <version>2.9.2</version>
51                 </dependency>
52                 <dependency>
53                         <groupId>io.springfox</groupId>
54                         <artifactId>springfox-swagger-ui</artifactId>
55                         <version>2.9.2</version>
56                 </dependency>
57                 <dependency>
58                         <groupId>org.json</groupId>
59                         <artifactId>json</artifactId>
60                         <version>20190722</version>
61                 </dependency>
62         </dependencies>
63
64         <build>
65                 <plugins>
66                         <plugin>
67                                 <groupId>org.springframework.boot</groupId>
68                                 <artifactId>spring-boot-maven-plugin</artifactId>
69                         </plugin>
70                         <plugin>
71                                 <groupId>io.fabric8</groupId>
72                                 <artifactId>docker-maven-plugin</artifactId>
73                                 <configuration>
74                                         <verbose>true</verbose>
75                                         <imagePullPolicy>IfNotPresent</imagePullPolicy>
76                                         <images>
77                                                 <image>
78                                                         <name>onap/${project.groupId}.${project.artifactId}</name>
79                                                         <registry>${onap.nexus.dockerregistry.daily}</registry>
80                                                         <build>
81                                                                 <contextDir>${project.basedir}</contextDir>
82                                                                 <cleanup>none</cleanup>
83                                                                 <tags>
84                                                                         <tag>latest</tag>
85                                                                         <tag>${project.version}</tag>
86                                                                         <tag>${project.version}-${maven.build.timestamp}Z</tag>
87                                                                 </tags>
88                                                         </build>
89                                                 </image>
90                                         </images>
91                                 </configuration>
92                                 <executions>
93                                         <execution>
94                                                 <goals>
95                                                         <goal>build</goal>
96                                                         <goal>push</goal>
97                                                 </goals>
98                                         </execution>
99                                 </executions>
100                         </plugin>
101                 </plugins>
102         </build>
103
104 </project>