1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ================================================================================
4 ~ Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved.
5 ~ ================================================================================
6 ~ Modifications Copyright (C) 2019 IBM
7 ~ ================================================================================
8 ~ Licensed under the Apache License, Version 2.0 (the "License");
9 ~ you may not use this file except in compliance with the License.
10 ~ You may obtain a copy of the License at
12 ~ http://www.apache.org/licenses/LICENSE-2.0
14 ~ Unless required by applicable law or agreed to in writing, software
15 ~ distributed under the License is distributed on an "AS IS" BASIS,
16 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 ~ See the License for the specific language governing permissions and
18 ~ limitations under the License.
19 ~ ============LICENSE_END=========================================================
23 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xmlns="http://maven.apache.org/POM/4.0.0"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27 <modelVersion>4.0.0</modelVersion>
30 <groupId>org.onap.dcaegen2.analytics.tca-gen2</groupId>
31 <artifactId>dcae-analytics</artifactId>
32 <version>3.0.0-SNAPSHOT</version>
35 <artifactId>dcae-analytics-tca-web</artifactId>
36 <packaging>jar</packaging>
38 <!-- THE MODULE CONTAINS WEB RELATED CODE FOR TCA -->
39 <name>DCAE Analytics TCA Web</name>
40 <description>Contains Web related code for TCA</description>
43 <main.basedir>${project.parent.basedir}</main.basedir>
44 <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
49 <!-- PROJECT DEPENDENCIES -->
51 <groupId>${project.groupId}</groupId>
52 <artifactId>dcae-analytics-web</artifactId>
55 <groupId>${project.groupId}</groupId>
56 <artifactId>dcae-analytics-tca-core</artifactId>
60 <!-- SPRING DEPENDENCIES -->
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-actuator</artifactId>
66 <groupId>io.undertow</groupId>
67 <artifactId>undertow-core</artifactId>
73 <groupId>io.micrometer</groupId>
74 <artifactId>micrometer-registry-prometheus</artifactId>
78 <!-- SPRING CONFIGURATION META DATA ANNOTATION PROCESSOR -->
80 <groupId>org.springframework.boot</groupId>
81 <artifactId>spring-boot-configuration-processor</artifactId>
82 <optional>true</optional>
85 <!-- CODE GENERATION -->
87 <groupId>org.projectlombok</groupId>
88 <artifactId>lombok</artifactId>
89 <scope>provided</scope>
94 <groupId>com.google.code.findbugs</groupId>
95 <artifactId>jsr305</artifactId>
98 <groupId>com.google.code.findbugs</groupId>
99 <artifactId>annotations</artifactId>
102 <!-- REST API SWAGGER -->
104 <groupId>io.springfox</groupId>
105 <artifactId>springfox-swagger2</artifactId>
108 <groupId>io.springfox</groupId>
109 <artifactId>springfox-swagger-ui</artifactId>
112 <!-- TEST DEPENDENCIES -->
114 <groupId>${project.groupId}</groupId>
115 <artifactId>dcae-analytics-test</artifactId>
117 <!-- https://mvnrepository.com/artifact/io.undertow/undertow-core -->
119 <groupId>io.undertow</groupId>
120 <artifactId>undertow-core</artifactId>
121 <version>2.0.17.Final</version>
126 <dependencyManagement>
129 <groupId>org.springframework</groupId>
130 <artifactId>spring-core</artifactId>
131 <version>5.0.11.RELEASE</version>
134 </dependencyManagement>
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.3</version>
161 <contextDirectory>${project.basedir}</contextDirectory>
162 <repository>${docker.repository}/${docker.image.name}</repository>
164 <tag>${project.version}</tag>
166 <tag>${project.version}-${maven.build.timestamp}Z</tag>
168 <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
170 <PROJECT_BUILD_DIR_NAME>target</PROJECT_BUILD_DIR_NAME>
171 <DEPENDENCIES_DIR>${dependency.dir.name}</DEPENDENCIES_DIR>
172 <DOCKER_ARTIFACT_DIR>/opt</DOCKER_ARTIFACT_DIR>
173 <FINAL_JAR>${project.build.finalName}.jar</FINAL_JAR>
179 <phase>install</phase>