blob: 0b067f86a2b0ce8eda02355ec6e79d9a91b713bf [file] [log] [blame]
y.busko442e1602021-04-14 16:19:08 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright (C) 2021 Samsung Electronics
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ You may obtain a copy of the License at
7 ~ http://www.apache.org/licenses/LICENSE-2.0
8 ~ Unless required by applicable law or agreed to in writing, software
9 ~ distributed under the License is distributed on an "AS IS" BASIS,
10 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 ~ See the License for the specific language governing permissions and
12 ~ limitations under the License
13 -->
14
15<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
16 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
17 <modelVersion>4.0.0</modelVersion>
18 <artifactId>sleepingcelldetector</artifactId>
19 <groupId>org.onap.rapp.sleepingcelldetector</groupId>
20 <version>0.0.1-SNAPSHOT</version>
21 <packaging>jar</packaging>
22
23 <parent>
24 <groupId>org.onap.rapp</groupId>
25 <artifactId>rapp</artifactId>
26 <version>0.0.1-SNAPSHOT</version>
27 </parent>
28
y.busko442e1602021-04-14 16:19:08 +020029 <dependencies>
30 <dependency>
31 <groupId>org.springframework.boot</groupId>
32 <artifactId>spring-boot-starter-web</artifactId>
33 </dependency>
34 <dependency>
35 <groupId>org.springframework.boot</groupId>
36 <artifactId>spring-boot-starter-test</artifactId>
37 <scope>test</scope>
38 </dependency>
39 <dependency>
40 <groupId>org.json</groupId>
41 <artifactId>json</artifactId>
42 <version>20190722</version>
43 <scope>compile</scope>
44 </dependency>
45 <dependency>
46 <groupId>com.google.guava</groupId>
47 <artifactId>guava</artifactId>
48 <version>28.2-android</version>
49 </dependency>
50 </dependencies>
k.kedron2f7a1b82021-04-16 14:38:52 +020051 <build>
52 <plugins>
53 <plugin>
54 <groupId>org.apache.maven.plugins</groupId>
55 <artifactId>maven-antrun-plugin</artifactId>
56 <version>1.8</version>
57 <executions>
58 <execution>
59 <phase>package</phase>
60 <configuration>
61 <target>
62 <copy file="target/${project.artifactId}-${project.version}.jar" tofile="./docker/${project.artifactId}-${project.version}.jar"/>
63 </target>
64 </configuration>
65 <goals>
66 <goal>run</goal>
67 </goals>
68 </execution>
69 </executions>
70 </plugin>
71 <plugin>
72 <groupId>io.fabric8</groupId>
73 <artifactId>docker-maven-plugin</artifactId>
74 <version>${docker-maven-plugin.version}</version>
75 <executions>
76 <execution>
77 <id>docker-build-image</id>
78 <phase>install</phase>
79 <goals>
80 <goal>build</goal>
81 <goal>push</goal>
82 </goals>
83 </execution>
84 </executions>
85 <configuration>
86 <skipPush>${skipDockerPush}</skipPush>
87 <verbose>true</verbose>
88 <imagePullPolicy>IfNotPresent</imagePullPolicy>
89 <images>
90 <image>
91 <name>${docker-image.namespace}/${docker-image.name.prefix}/${project.artifactId}</name>
92 <registry>${docker.registry}</registry>
93 <build>
94 <dockerFileDir>${project.basedir}/docker</dockerFileDir>
95 <tags>
96 <tag>${project.version}-${maven.build.timestamp}Z</tag>
97 </tags>
98 </build>
99 </image>
100 </images>
101 </configuration>
102 </plugin>
103 </plugins>
104 </build>
y.busko442e1602021-04-14 16:19:08 +0200105</project>