1 <?xml version="1.0" encoding="UTF-8"?>
4 * ============LICENSE_START========================================================================
5 * O-RAN-SC : tr-069-adapter
6 * =================================================================================================
7 * Copyright (C) 2020 CommScope Inc Intellectual Property.
8 * =================================================================================================
9 * This tr-069-adapter software file is distributed by CommScope Inc
10 * 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 * This file is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ===============LICENSE_END=======================================================================
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">
24 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.commscope.tr069adapter</groupId>
27 <artifactId>tr069adapter</artifactId>
28 <version>1.0.0</version>
30 <groupId>org.commscope.tr069adapter.netconf.server</groupId>
31 <artifactId>netconf-server</artifactId>
32 <name>netconf-server</name>
33 <packaging>jar</packaging>
36 <name>The Apache Software License, Version 2.0</name>
37 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
42 <id>onap-releases</id>
43 <name>onap-releases</name>
44 <url>https://nexus.onap.org/content/repositories/releases/</url>
48 <docker.image.name>o-ran-sc/tr069adapter-netconf-server</docker.image.name>
52 <groupId>org.springframework.boot</groupId>
53 <artifactId>spring-boot-starter</artifactId>
56 <groupId>org.springframework.boot</groupId>
57 <artifactId>spring-boot-starter-logging</artifactId>
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-web</artifactId>
66 <groupId>org.springframework.boot</groupId>
67 <artifactId>spring-boot-starter-logging</artifactId>
72 <groupId>org.springframework.boot</groupId>
73 <artifactId>spring-boot-starter-activemq</artifactId>
76 <groupId>com.fasterxml.jackson.core</groupId>
77 <artifactId>jackson-databind</artifactId>
80 <groupId>org.opendaylight.netconf</groupId>
81 <artifactId>netconf-testtool</artifactId>
82 <version>1.7.0</version>
85 <groupId>ch.qos.logback</groupId>
86 <artifactId>logback-classic</artifactId>
91 <groupId>org.springframework</groupId>
92 <artifactId>spring-context</artifactId>
95 <groupId>org.commscope.tr069adapter.mapper</groupId>
96 <artifactId>mapper</artifactId>
97 <version>1.0.0</version>
98 <classifier>lib</classifier>
101 <groupId>org.springframework.boot</groupId>
102 <artifactId>spring-boot-actuator-autoconfigure</artifactId>
105 <groupId>org.springframework.retry</groupId>
106 <artifactId>spring-retry</artifactId>
109 <groupId>org.springframework</groupId>
110 <artifactId>spring-aspects</artifactId>
113 <groupId>org.mariadb.jdbc</groupId>
114 <artifactId>mariadb-java-client</artifactId>
117 <groupId>org.springframework.boot</groupId>
118 <artifactId>spring-boot-starter-data-jpa</artifactId>
121 <groupId>org.mockito</groupId>
122 <artifactId>mockito-core</artifactId>
125 <groupId>org.springframework.boot</groupId>
126 <artifactId>spring-boot-starter-test</artifactId>
130 <groupId>junit</groupId>
131 <artifactId>junit</artifactId>
135 <groupId>ch.qos.logback</groupId>
136 <artifactId>logback-classic</artifactId>
141 <groupId>junit</groupId>
142 <artifactId>junit-dep</artifactId>
143 <version>4.11</version>
147 <groupId>ch.qos.logback</groupId>
148 <artifactId>logback-classic</artifactId>
153 <groupId>com.h2database</groupId>
154 <artifactId>h2</artifactId>
161 <groupId>org.springframework.boot</groupId>
162 <artifactId>spring-boot-maven-plugin</artifactId>
165 <groupId>net.revelc.code.formatter</groupId>
166 <artifactId>formatter-maven-plugin</artifactId>
167 <version>${formatter-maven-plugin.version}</version>
169 <configFile>${project.parent.basedir}/eclipse-formatter.xml</configFile>
171 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
172 spotless:apply process-sources -->
175 <groupId>com.diffplug.spotless</groupId>
176 <artifactId>spotless-maven-plugin</artifactId>
177 <version>${spotless-maven-plugin.version}</version>
180 <removeUnusedImports />
182 <order>com,java,javax,org</order>
186 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
187 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-surefire-plugin</artifactId>
194 <skipTests>false</skipTests>
198 <artifactId>maven-failsafe-plugin</artifactId>
201 <groupId>io.fabric8</groupId>
202 <artifactId>docker-maven-plugin</artifactId>
203 <version>${docker-maven-plugin}</version>
204 <inherited>false</inherited>
207 <id>generate-policy-agent-image</id>
208 <phase>package</phase>
214 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
217 <name>${docker.image.name}:${build.version}</name>
219 <cleanup>try</cleanup>
220 <contextDir>${basedir}</contextDir>
221 <dockerFile>Dockerfile</dockerFile>
223 <JAR>${project.build.finalName}.jar</JAR>
226 <tag>${project.version}</tag>
234 <id>push-policy-agent-image</id>
240 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
241 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
244 <name>${docker.image.name}:${project.version}</name>
246 <contextDir>${basedir}</contextDir>
247 <dockerFile>Dockerfile</dockerFile>
249 <JAR>${project.build.finalName}.jar</JAR>
261 <!-- support sonar in multi-module project -->
263 <groupId>org.sonarsource.scanner.maven</groupId>
264 <artifactId>sonar-maven-plugin</artifactId>
265 <version>${sonar-maven-plugin.version}</version>
270 <system>JIRA</system>
271 <url>https://jira.o-ran-sc.org/</url>