1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
5 ~ ================================================================================
6 ~ Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved.
7 ~ Copyright (c) 2019 IBM.
8 ~ Copyright (c) 2021 Samsung Electronics. All rights reserved.
9 ~ Copyright (c) 2021 Nokia Intellectual Property. All rights reserved.
10 ~ Copyright (c) 2021-2022 Wipro Limited.
11 ~ ================================================================================
12 ~ Licensed under the Apache License, Version 2.0 (the "License");
13 ~ you may not use this file except in compliance with the License.
14 ~ You may obtain a copy of the License at
16 ~ http://www.apache.org/licenses/LICENSE-2.0
18 ~ Unless required by applicable law or agreed to in writing, software
19 ~ distributed under the License is distributed on an "AS IS" BASIS,
20 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 ~ See the License for the specific language governing permissions and
22 ~ limitations under the License.
23 ~ ============LICENSE_END=========================================================
27 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28 xmlns="http://maven.apache.org/POM/4.0.0"
29 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
31 <modelVersion>4.0.0</modelVersion>
34 <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
35 <artifactId>dcae-analytics</artifactId>
36 <version>${revision}</version>
39 <artifactId>dcae-analytics-tca-web</artifactId>
40 <packaging>jar</packaging>
42 <!-- THE MODULE CONTAINS WEB RELATED CODE FOR TCA -->
43 <name>DCAE Analytics TCA Web</name>
44 <description>Contains Web related code for TCA</description>
47 <main.basedir>${project.parent.basedir}</main.basedir>
48 <undertow-core.version>2.2.17.Final</undertow-core.version>
49 <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
50 <onap-gerrit-review>-changelog-missing</onap-gerrit-review>
51 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
56 <!-- PROJECT DEPENDENCIES -->
58 <groupId>${project.groupId}</groupId>
59 <artifactId>dcae-analytics-web</artifactId>
62 <groupId>${project.groupId}</groupId>
63 <artifactId>dcae-analytics-tca-core</artifactId>
67 <!-- SPRING DEPENDENCIES -->
69 <groupId>org.springframework.boot</groupId>
70 <artifactId>spring-boot-starter-actuator</artifactId>
73 <groupId>io.undertow</groupId>
74 <artifactId>undertow-core</artifactId>
79 <groupId>io.micrometer</groupId>
80 <artifactId>micrometer-registry-prometheus</artifactId>
84 <!-- SPRING CONFIGURATION META DATA ANNOTATION PROCESSOR -->
86 <groupId>org.springframework.boot</groupId>
87 <artifactId>spring-boot-configuration-processor</artifactId>
88 <optional>true</optional>
91 <!-- CODE GENERATION -->
93 <groupId>org.projectlombok</groupId>
94 <artifactId>lombok</artifactId>
95 <scope>provided</scope>
100 <groupId>com.google.code.findbugs</groupId>
101 <artifactId>jsr305</artifactId>
104 <groupId>com.google.code.findbugs</groupId>
105 <artifactId>annotations</artifactId>
108 <!-- REST API SWAGGER -->
110 <groupId>io.springfox</groupId>
111 <artifactId>springfox-swagger2</artifactId>
114 <groupId>org.springframework.plugin</groupId>
115 <artifactId>spring-plugin-core</artifactId>
118 <groupId>io.springfox</groupId>
119 <artifactId>springfox-swagger-ui</artifactId>
122 <!-- TEST DEPENDENCIES -->
124 <groupId>${project.groupId}</groupId>
125 <artifactId>dcae-analytics-test</artifactId>
127 <!-- https://mvnrepository.com/artifact/io.undertow/undertow-core -->
129 <groupId>io.undertow</groupId>
130 <artifactId>undertow-core</artifactId>
131 <version>${undertow-core.version}</version>
139 <directory>${project.basedir}/src/main/resources</directory>
142 <directory>${project.build.directory}/git</directory>
148 <groupId>pl.project13.maven</groupId>
149 <artifactId>git-commit-id-plugin</artifactId>
152 <groupId>org.springframework.boot</groupId>
153 <artifactId>spring-boot-maven-plugin</artifactId>
155 <!-- DOCKER PLUGIN -->
157 <groupId>com.spotify</groupId>
158 <artifactId>dockerfile-maven-plugin</artifactId>
159 <version>1.4.10</version>
161 <contextDirectory>${project.basedir}</contextDirectory>
162 <repository>${docker.repository}/${docker.image.name}</repository>
163 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
165 <PROJECT_BUILD_DIR_NAME>target</PROJECT_BUILD_DIR_NAME>
166 <DEPENDENCIES_DIR>${dependency.dir.name}</DEPENDENCIES_DIR>
167 <DOCKER_ARTIFACT_DIR>/opt</DOCKER_ARTIFACT_DIR>
168 <FINAL_JAR>${project.build.finalName}.jar</FINAL_JAR>
174 <phase>install</phase>
181 <phase>install</phase>
187 <tag>${project.version}</tag>
191 <id>tag-version-ts</id>
192 <phase>install</phase>
198 <tag>${project.version}-${maven.build.timestamp}Z</tag>