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>1.0.0</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>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>junit</groupId>
\r
86 <artifactId>junit</artifactId>
\r
90 <groupId>junit</groupId>
\r
91 <artifactId>junit-dep</artifactId>
\r
92 <version>4.11</version>
\r
96 <groupId>org.springframework.cloud</groupId>
\r
97 <artifactId>spring-cloud-starter-kubernetes-config</artifactId>
\r
98 <version>1.1.0.RELEASE</version>
\r
101 <groupId>org.springframework.boot</groupId>
\r
102 <artifactId>spring-boot-actuator-autoconfigure</artifactId>
\r
105 <groupId>org.apache.httpcomponents</groupId>
\r
106 <artifactId>httpclient</artifactId>
\r
109 <groupId>org.commscope.tr069adapter.acs.common</groupId>
\r
110 <artifactId>acs-common</artifactId>
\r
111 <version>1.0.0</version>
\r
114 <groupId>org.commscope.tr069adapter.mapper</groupId>
\r
115 <artifactId>mapper</artifactId>
\r
116 <version>1.0.0</version>
\r
117 <classifier>lib</classifier>
\r
123 <groupId>org.springframework.boot</groupId>
\r
124 <artifactId>spring-boot-maven-plugin</artifactId>
\r
127 <groupId>net.revelc.code.formatter</groupId>
\r
128 <artifactId>formatter-maven-plugin</artifactId>
\r
129 <version>${formatter-maven-plugin.version}</version>
\r
131 <configFile>${project.parent.basedir}/eclipse-formatter.xml</configFile>
\r
133 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
\r
134 spotless:apply process-sources -->
\r
137 <groupId>com.diffplug.spotless</groupId>
\r
138 <artifactId>spotless-maven-plugin</artifactId>
\r
139 <version>${spotless-maven-plugin.version}</version>
\r
142 <removeUnusedImports />
\r
144 <order>com,java,javax,org</order>
\r
148 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
\r
149 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
\r
153 <groupId>org.apache.maven.plugins</groupId>
\r
154 <artifactId>maven-surefire-plugin</artifactId>
\r
155 <version>2.17</version>
\r
157 <skipTests>false</skipTests>
\r
161 <artifactId>maven-failsafe-plugin</artifactId>
\r
164 <groupId>io.fabric8</groupId>
\r
165 <artifactId>docker-maven-plugin</artifactId>
\r
166 <version>${docker-maven-plugin}</version>
\r
167 <inherited>false</inherited>
\r
170 <id>generate-policy-agent-image</id>
\r
171 <phase>package</phase>
\r
177 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
\r
180 <name>${docker.image.name}</name>
\r
182 <cleanup>try</cleanup>
\r
183 <contextDir>${basedir}</contextDir>
\r
184 <dockerFile>Dockerfile</dockerFile>
\r
186 <JAR>${project.build.finalName}.jar</JAR>
\r
189 <tag>${project.version}</tag>
\r
197 <id>push-policy-agent-image</id>
\r
203 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
\r
204 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
\r
207 <name>${docker.image.name}:${project.version}</name>
\r
209 <contextDir>${basedir}</contextDir>
\r
210 <dockerFile>Dockerfile</dockerFile>
\r
212 <JAR>${project.build.finalName}.jar</JAR>
\r
224 <!-- support sonar in multi-module project -->
\r
226 <groupId>org.sonarsource.scanner.maven</groupId>
\r
227 <artifactId>sonar-maven-plugin</artifactId>
\r
228 <version>${sonar-maven-plugin.version}</version>
\r
233 <system>JIRA</system>
\r
234 <url>https://jira.o-ran-sc.org/</url>
\r