1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ================================================================================
4 ~ Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved.
5 ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
6 ~ ================================================================================
7 ~ Modifications Copyright (C) 2019 IBM
8 ~ ================================================================================
9 ~ Licensed under the Apache License, Version 2.0 (the "License");
10 ~ you may not use this file except in compliance with the License.
11 ~ You may obtain a copy of the License at
13 ~ http://www.apache.org/licenses/LICENSE-2.0
15 ~ Unless required by applicable law or agreed to in writing, software
16 ~ distributed under the License is distributed on an "AS IS" BASIS,
17 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 ~ See the License for the specific language governing permissions and
19 ~ limitations under the License.
20 ~ ============LICENSE_END=========================================================
24 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xmlns="http://maven.apache.org/POM/4.0.0"
26 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
28 <modelVersion>4.0.0</modelVersion>
31 <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
32 <artifactId>dcae-analytics</artifactId>
33 <version>1.3.0-SNAPSHOT</version>
36 <artifactId>dcae-analytics-tca-web</artifactId>
37 <packaging>jar</packaging>
39 <!-- THE MODULE CONTAINS WEB RELATED CODE FOR TCA -->
40 <name>DCAE Analytics TCA Web</name>
41 <description>Contains Web related code for TCA</description>
44 <main.basedir>${project.parent.basedir}</main.basedir>
45 <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
46 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
51 <!-- PROJECT DEPENDENCIES -->
53 <groupId>${project.groupId}</groupId>
54 <artifactId>dcae-analytics-web</artifactId>
57 <groupId>${project.groupId}</groupId>
58 <artifactId>dcae-analytics-tca-core</artifactId>
62 <!-- SPRING DEPENDENCIES -->
64 <groupId>org.springframework.boot</groupId>
65 <artifactId>spring-boot-starter-actuator</artifactId>
68 <groupId>io.undertow</groupId>
69 <artifactId>undertow-core</artifactId>
75 <groupId>io.micrometer</groupId>
76 <artifactId>micrometer-registry-prometheus</artifactId>
80 <!-- SPRING CONFIGURATION META DATA ANNOTATION PROCESSOR -->
82 <groupId>org.springframework.boot</groupId>
83 <artifactId>spring-boot-configuration-processor</artifactId>
84 <optional>true</optional>
87 <!-- CODE GENERATION -->
89 <groupId>org.projectlombok</groupId>
90 <artifactId>lombok</artifactId>
91 <scope>provided</scope>
96 <groupId>com.google.code.findbugs</groupId>
97 <artifactId>jsr305</artifactId>
100 <groupId>com.google.code.findbugs</groupId>
101 <artifactId>annotations</artifactId>
104 <!-- REST API SWAGGER -->
106 <groupId>io.springfox</groupId>
107 <artifactId>springfox-swagger2</artifactId>
110 <groupId>io.springfox</groupId>
111 <artifactId>springfox-swagger-ui</artifactId>
114 <!-- TEST DEPENDENCIES -->
116 <groupId>${project.groupId}</groupId>
117 <artifactId>dcae-analytics-test</artifactId>
119 <!-- https://mvnrepository.com/artifact/io.undertow/undertow-core -->
121 <groupId>io.undertow</groupId>
122 <artifactId>undertow-core</artifactId>
125 <groupId>io.netty</groupId>
126 <artifactId>netty-handler</artifactId>
127 <version>4.1.54.Final</version>
130 <groupId>io.netty</groupId>
131 <artifactId>netty-handler-proxy</artifactId>
132 <version>4.1.54.Final</version>
137 <dependencyManagement>
140 <groupId>org.springframework</groupId>
141 <artifactId>spring-core</artifactId>
142 <version>5.1.12.RELEASE</version>
145 </dependencyManagement>
150 <directory>${project.basedir}/src/main/resources</directory>
153 <directory>${project.build.directory}/git</directory>
159 <groupId>pl.project13.maven</groupId>
160 <artifactId>git-commit-id-plugin</artifactId>
163 <groupId>org.springframework.boot</groupId>
164 <artifactId>spring-boot-maven-plugin</artifactId>
166 <!-- DOCKER PLUGIN -->
168 <groupId>com.spotify</groupId>
169 <artifactId>dockerfile-maven-plugin</artifactId>
170 <version>1.4.10</version>
172 <contextDirectory>${project.basedir}</contextDirectory>
173 <repository>${docker.repository}/${docker.image.name}</repository>
174 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
176 <PROJECT_BUILD_DIR_NAME>target</PROJECT_BUILD_DIR_NAME>
177 <DEPENDENCIES_DIR>${dependency.dir.name}</DEPENDENCIES_DIR>
178 <DOCKER_ARTIFACT_DIR>/opt</DOCKER_ARTIFACT_DIR>
179 <FINAL_JAR>${project.build.finalName}.jar</FINAL_JAR>
185 <phase>install</phase>
192 <phase>install</phase>
198 <tag>${project.version}</tag>
202 <id>tag-version-ts</id>
203 <phase>install</phase>
209 <tag>${project.version}-${maven.build.timestamp}Z</tag>