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 ~ ================================================================================
8 ~ Modifications Copyright (C) 2019 IBM
9 ~ ================================================================================
10 ~ Licensed under the Apache License, Version 2.0 (the "License");
11 ~ you may not use this file except in compliance with the License.
12 ~ You may obtain a copy of the License at
14 ~ http://www.apache.org/licenses/LICENSE-2.0
16 ~ Unless required by applicable law or agreed to in writing, software
17 ~ distributed under the License is distributed on an "AS IS" BASIS,
18 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 ~ See the License for the specific language governing permissions and
20 ~ limitations under the License.
21 ~ ============LICENSE_END=========================================================
25 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26 xmlns="http://maven.apache.org/POM/4.0.0"
27 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
29 <modelVersion>4.0.0</modelVersion>
32 <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
33 <artifactId>dcae-analytics</artifactId>
34 <version>1.3.1-SNAPSHOT</version>
37 <artifactId>dcae-analytics-tca-web</artifactId>
38 <packaging>jar</packaging>
40 <!-- THE MODULE CONTAINS WEB RELATED CODE FOR TCA -->
41 <name>DCAE Analytics TCA Web</name>
42 <description>Contains Web related code for TCA</description>
45 <main.basedir>${project.parent.basedir}</main.basedir>
46 <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
47 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
52 <!-- PROJECT DEPENDENCIES -->
54 <groupId>${project.groupId}</groupId>
55 <artifactId>dcae-analytics-web</artifactId>
58 <groupId>${project.groupId}</groupId>
59 <artifactId>dcae-analytics-tca-core</artifactId>
63 <!-- SPRING DEPENDENCIES -->
65 <groupId>org.springframework.boot</groupId>
66 <artifactId>spring-boot-starter-actuator</artifactId>
69 <groupId>io.undertow</groupId>
70 <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>org.springframework.plugin</groupId>
111 <artifactId>spring-plugin-core</artifactId>
114 <groupId>io.springfox</groupId>
115 <artifactId>springfox-swagger-ui</artifactId>
118 <!-- TEST DEPENDENCIES -->
120 <groupId>${project.groupId}</groupId>
121 <artifactId>dcae-analytics-test</artifactId>
123 <!-- https://mvnrepository.com/artifact/io.undertow/undertow-core -->
125 <groupId>io.undertow</groupId>
126 <artifactId>undertow-core</artifactId>
134 <directory>${project.basedir}/src/main/resources</directory>
137 <directory>${project.build.directory}/git</directory>
143 <groupId>pl.project13.maven</groupId>
144 <artifactId>git-commit-id-plugin</artifactId>
147 <groupId>org.springframework.boot</groupId>
148 <artifactId>spring-boot-maven-plugin</artifactId>
150 <!-- DOCKER PLUGIN -->
152 <groupId>com.spotify</groupId>
153 <artifactId>dockerfile-maven-plugin</artifactId>
154 <version>1.4.10</version>
156 <contextDirectory>${project.basedir}</contextDirectory>
157 <repository>${docker.repository}/${docker.image.name}</repository>
158 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
160 <PROJECT_BUILD_DIR_NAME>target</PROJECT_BUILD_DIR_NAME>
161 <DEPENDENCIES_DIR>${dependency.dir.name}</DEPENDENCIES_DIR>
162 <DOCKER_ARTIFACT_DIR>/opt</DOCKER_ARTIFACT_DIR>
163 <FINAL_JAR>${project.build.finalName}.jar</FINAL_JAR>
169 <phase>install</phase>
176 <phase>install</phase>
182 <tag>${project.version}</tag>
186 <id>tag-version-ts</id>
187 <phase>install</phase>
193 <tag>${project.version}-${maven.build.timestamp}Z</tag>