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 ~ Copyright (c) 2021 Nokia Intellectual Property. All rights reserved.
7 ~ Copyright (c) 2021 Wipro Limited.
8 ~ ================================================================================
9 ~ Modifications Copyright (C) 2019 IBM
10 ~ ================================================================================
11 ~ Licensed under the Apache License, Version 2.0 (the "License");
12 ~ you may not use this file except in compliance with the License.
13 ~ You may obtain a copy of the License at
15 ~ http://www.apache.org/licenses/LICENSE-2.0
17 ~ Unless required by applicable law or agreed to in writing, software
18 ~ distributed under the License is distributed on an "AS IS" BASIS,
19 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 ~ See the License for the specific language governing permissions and
21 ~ limitations under the License.
22 ~ ============LICENSE_END=========================================================
26 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
27 xmlns="http://maven.apache.org/POM/4.0.0"
28 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
30 <modelVersion>4.0.0</modelVersion>
33 <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
34 <artifactId>dcae-analytics</artifactId>
35 <version>1.3.1-SNAPSHOT</version>
38 <artifactId>dcae-analytics-tca-web</artifactId>
39 <packaging>jar</packaging>
41 <!-- THE MODULE CONTAINS WEB RELATED CODE FOR TCA -->
42 <name>DCAE Analytics TCA Web</name>
43 <description>Contains Web related code for TCA</description>
46 <main.basedir>${project.parent.basedir}</main.basedir>
47 <undertow-core.version>2.2.7.Final</undertow-core.version>
48 <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
49 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
54 <!-- PROJECT DEPENDENCIES -->
56 <groupId>${project.groupId}</groupId>
57 <artifactId>dcae-analytics-web</artifactId>
60 <groupId>${project.groupId}</groupId>
61 <artifactId>dcae-analytics-tca-core</artifactId>
65 <!-- SPRING DEPENDENCIES -->
67 <groupId>org.springframework.boot</groupId>
68 <artifactId>spring-boot-starter-actuator</artifactId>
71 <groupId>io.undertow</groupId>
72 <artifactId>undertow-core</artifactId>
77 <groupId>io.micrometer</groupId>
78 <artifactId>micrometer-registry-prometheus</artifactId>
82 <!-- SPRING CONFIGURATION META DATA ANNOTATION PROCESSOR -->
84 <groupId>org.springframework.boot</groupId>
85 <artifactId>spring-boot-configuration-processor</artifactId>
86 <optional>true</optional>
89 <!-- CODE GENERATION -->
91 <groupId>org.projectlombok</groupId>
92 <artifactId>lombok</artifactId>
93 <scope>provided</scope>
98 <groupId>com.google.code.findbugs</groupId>
99 <artifactId>jsr305</artifactId>
102 <groupId>com.google.code.findbugs</groupId>
103 <artifactId>annotations</artifactId>
106 <!-- REST API SWAGGER -->
108 <groupId>io.springfox</groupId>
109 <artifactId>springfox-swagger2</artifactId>
112 <groupId>org.springframework.plugin</groupId>
113 <artifactId>spring-plugin-core</artifactId>
116 <groupId>io.springfox</groupId>
117 <artifactId>springfox-swagger-ui</artifactId>
120 <!-- TEST DEPENDENCIES -->
122 <groupId>${project.groupId}</groupId>
123 <artifactId>dcae-analytics-test</artifactId>
125 <!-- https://mvnrepository.com/artifact/io.undertow/undertow-core -->
127 <groupId>io.undertow</groupId>
128 <artifactId>undertow-core</artifactId>
129 <version>${undertow-core.version}</version>
137 <directory>${project.basedir}/src/main/resources</directory>
140 <directory>${project.build.directory}/git</directory>
146 <groupId>pl.project13.maven</groupId>
147 <artifactId>git-commit-id-plugin</artifactId>
150 <groupId>org.springframework.boot</groupId>
151 <artifactId>spring-boot-maven-plugin</artifactId>
153 <!-- DOCKER PLUGIN -->
155 <groupId>com.spotify</groupId>
156 <artifactId>dockerfile-maven-plugin</artifactId>
157 <version>1.4.10</version>
159 <contextDirectory>${project.basedir}</contextDirectory>
160 <repository>${docker.repository}/${docker.image.name}</repository>
161 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
163 <PROJECT_BUILD_DIR_NAME>target</PROJECT_BUILD_DIR_NAME>
164 <DEPENDENCIES_DIR>${dependency.dir.name}</DEPENDENCIES_DIR>
165 <DOCKER_ARTIFACT_DIR>/opt</DOCKER_ARTIFACT_DIR>
166 <FINAL_JAR>${project.build.finalName}.jar</FINAL_JAR>
172 <phase>install</phase>
179 <phase>install</phase>
185 <tag>${project.version}</tag>
189 <id>tag-version-ts</id>
190 <phase>install</phase>
196 <tag>${project.version}-${maven.build.timestamp}Z</tag>