1 <?xml version="1.0" encoding="UTF-8"?>
\r
4 * ============LICENSE_START========================================================================
\r
5 * ONAP : tr-069-adapter
\r
6 * =================================================================================================
\r
7 * Copyright (C) 2020 CommScope Inc Intellectual Property.
\r
8 * =================================================================================================
\r
9 * This tr-069-adapter software file is distributed by CommScope Inc
\r
10 * under the Apache License, Version 2.0 (the "License");
\r
11 * you may not use this file except in compliance with the License.
\r
12 * You may obtain a copy of the License at
\r
14 * http://www.apache.org/licenses/LICENSE-2.0
\r
16 * This file is distributed on an "AS IS" BASIS,
\r
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
18 * See the License for the specific language governing permissions and
\r
19 * limitations under the License.
\r
20 * ===============LICENSE_END=======================================================================
\r
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
\r
25 <groupId>org.commscope.tr069adapter</groupId>
\r
26 <artifactId>tr069adapter</artifactId>
\r
27 <version>${project.version}</version>
\r
29 <modelVersion>4.0.0</modelVersion>
\r
30 <groupId>org.commscope.tr069adapter.ves.agent</groupId>
\r
31 <artifactId>ves-agent</artifactId>
\r
32 <packaging>jar</packaging>
\r
33 <name>ves-agent</name>
\r
36 <name>The Apache Software License, Version 2.0</name>
\r
37 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
\r
42 <id>onap-releases</id>
\r
43 <name>onap-releases</name>
\r
44 <url>https://nexus.onap.org/content/repositories/releases/</url>
\r
48 <docker.image.name>o-ran-sc/tr069adapter-ves-notifier</docker.image.name>
\r
52 <groupId>org.springframework.boot</groupId>
\r
53 <artifactId>spring-boot-starter-web</artifactId>
\r
56 <groupId>org.springframework.boot</groupId>
\r
57 <artifactId>spring-boot-starter-logging</artifactId>
\r
62 <groupId>org.springframework.boot</groupId>
\r
63 <artifactId>spring-boot-starter-test</artifactId>
\r
67 <groupId>org.springframework.boot</groupId>
\r
68 <artifactId>spring-boot-starter-log4j2</artifactId>
\r
71 <groupId>com.google.code.gson</groupId>
\r
72 <artifactId>gson</artifactId>
\r
73 <scope>compile</scope>
\r
76 <groupId>org.mockito</groupId>
\r
77 <artifactId>mockito-core</artifactId>
\r
80 <groupId>org.springframework.boot</groupId>
\r
81 <artifactId>spring-boot-starter-test</artifactId>
\r
85 <groupId>org.springframework.boot</groupId>
\r
86 <artifactId>spring-boot-starter-data-jpa</artifactId>
\r
89 <groupId>junit</groupId>
\r
90 <artifactId>junit</artifactId>
\r
94 <groupId>junit</groupId>
\r
95 <artifactId>junit-dep</artifactId>
\r
96 <version>4.11</version>
\r
100 <groupId>com.h2database</groupId>
\r
101 <artifactId>h2</artifactId>
\r
102 <scope>test</scope>
\r
105 <groupId>org.springframework.cloud</groupId>
\r
106 <artifactId>spring-cloud-starter-kubernetes-config</artifactId>
\r
107 <version>1.1.0.RELEASE</version>
\r
110 <groupId>org.springframework.boot</groupId>
\r
111 <artifactId>spring-boot-actuator-autoconfigure</artifactId>
\r
114 <groupId>org.apache.httpcomponents</groupId>
\r
115 <artifactId>httpclient</artifactId>
\r
118 <groupId>org.commscope.tr069adapter.acs.common</groupId>
\r
119 <artifactId>acs-common</artifactId>
\r
120 <version>${project.version}</version>
\r
123 <groupId>org.commscope.tr069adapter.mapper</groupId>
\r
124 <artifactId>mapper</artifactId>
\r
125 <version>${project.version}</version>
\r
126 <classifier>lib</classifier>
\r
129 <groupId>org.mariadb.jdbc</groupId>
\r
130 <artifactId>mariadb-java-client</artifactId>
\r
133 <groupId>com.googlecode.json-simple</groupId>
\r
134 <artifactId>json-simple</artifactId>
\r
135 <version>1.1</version>
\r
141 <groupId>org.springframework.boot</groupId>
\r
142 <artifactId>spring-boot-maven-plugin</artifactId>
\r
145 <groupId>net.revelc.code.formatter</groupId>
\r
146 <artifactId>formatter-maven-plugin</artifactId>
\r
147 <version>${formatter-maven-plugin.version}</version>
\r
149 <configFile>${project.parent.basedir}/eclipse-formatter.xml</configFile>
\r
151 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
\r
152 spotless:apply process-sources -->
\r
155 <groupId>com.diffplug.spotless</groupId>
\r
156 <artifactId>spotless-maven-plugin</artifactId>
\r
157 <version>${spotless-maven-plugin.version}</version>
\r
160 <removeUnusedImports />
\r
162 <order>com,java,javax,org</order>
\r
166 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
\r
167 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
\r
171 <groupId>org.apache.maven.plugins</groupId>
\r
172 <artifactId>maven-surefire-plugin</artifactId>
\r
173 <version>2.17</version>
\r
175 <skipTests>false</skipTests>
\r
179 <groupId>org.jacoco</groupId>
\r
180 <artifactId>jacoco-maven-plugin</artifactId>
\r
184 <goal>prepare-agent</goal>
\r
187 <!-- attached to Maven test phase -->
\r
190 <phase>test</phase>
\r
192 <goal>report</goal>
\r
198 <artifactId>maven-failsafe-plugin</artifactId>
\r
201 <groupId>io.fabric8</groupId>
\r
202 <artifactId>docker-maven-plugin</artifactId>
\r
203 <version>${docker-maven-plugin}</version>
\r
204 <inherited>false</inherited>
\r
207 <id>generate-policy-agent-image</id>
\r
208 <phase>package</phase>
\r
214 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
\r
217 <name>${docker.image.name}:${build.version}</name>
\r
219 <cleanup>try</cleanup>
\r
220 <contextDir>${basedir}</contextDir>
\r
221 <dockerFile>Dockerfile</dockerFile>
\r
223 <JAR>${project.build.finalName}.jar</JAR>
\r
226 <tag>${project.version}</tag>
\r
234 <id>push-policy-agent-image</id>
\r
240 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
\r
241 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
\r
244 <name>${docker.image.name}:${project.version}</name>
\r
246 <contextDir>${basedir}</contextDir>
\r
247 <dockerFile>Dockerfile</dockerFile>
\r
249 <JAR>${project.build.finalName}.jar</JAR>
\r
261 <!-- support sonar in multi-module project -->
\r
263 <groupId>org.sonarsource.scanner.maven</groupId>
\r
264 <artifactId>sonar-maven-plugin</artifactId>
\r
265 <version>${sonar-maven-plugin.version}</version>
\r
270 <system>JIRA</system>
\r
271 <url>https://jira.o-ran-sc.org/</url>
\r