1 <?xml version="1.0" encoding="UTF-8"?>
\r
4 * ============LICENSE_START========================================================================
\r
5 * O-RAN-SC : 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
24 <modelVersion>4.0.0</modelVersion>
\r
26 <groupId>org.commscope.tr069adapter</groupId>
\r
27 <artifactId>tr069adapter</artifactId>
\r
28 <version>1.0.0</version>
\r
30 <groupId>org.commscope.tr069adapter.netconf.server</groupId>
\r
31 <artifactId>netconf-server</artifactId>
\r
32 <name>netconf-server</name>
\r
33 <packaging>jar</packaging>
\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-netconf-server</docker.image.name>
\r
52 <groupId>org.springframework.boot</groupId>
\r
53 <artifactId>spring-boot-starter</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-web</artifactId>
\r
66 <groupId>org.springframework.boot</groupId>
\r
67 <artifactId>spring-boot-starter-logging</artifactId>
\r
72 <groupId>org.springframework.boot</groupId>
\r
73 <artifactId>spring-boot-starter-activemq</artifactId>
\r
76 <groupId>org.springframework</groupId>
\r
77 <artifactId>spring-jms</artifactId>
\r
80 <groupId>com.fasterxml.jackson.core</groupId>
\r
81 <artifactId>jackson-databind</artifactId>
\r
84 <groupId>org.opendaylight.netconf</groupId>
\r
85 <artifactId>netconf-testtool</artifactId>
\r
86 <version>1.7.0</version>
\r
89 <groupId>ch.qos.logback</groupId>
\r
90 <artifactId>logback-classic</artifactId>
\r
95 <groupId>org.springframework</groupId>
\r
96 <artifactId>spring-context</artifactId>
\r
99 <groupId>org.commscope.tr069adapter.mapper</groupId>
\r
100 <artifactId>mapper</artifactId>
\r
101 <version>1.0.0</version>
\r
102 <classifier>lib</classifier>
\r
105 <groupId>org.commscope.tr069adapter.common</groupId>
\r
106 <artifactId>common</artifactId>
\r
107 <version>1.0.0</version>
\r
110 <groupId>org.springframework.boot</groupId>
\r
111 <artifactId>spring-boot-actuator-autoconfigure</artifactId>
\r
114 <groupId>org.springframework.retry</groupId>
\r
115 <artifactId>spring-retry</artifactId>
\r
118 <groupId>org.springframework</groupId>
\r
119 <artifactId>spring-aspects</artifactId>
\r
122 <groupId>org.mariadb.jdbc</groupId>
\r
123 <artifactId>mariadb-java-client</artifactId>
\r
126 <groupId>org.springframework.boot</groupId>
\r
127 <artifactId>spring-boot-starter-data-jpa</artifactId>
\r
130 <groupId>org.mockito</groupId>
\r
131 <artifactId>mockito-core</artifactId>
\r
134 <groupId>org.springframework.boot</groupId>
\r
135 <artifactId>spring-boot-starter-test</artifactId>
\r
136 <scope>test</scope>
\r
139 <groupId>junit</groupId>
\r
140 <artifactId>junit</artifactId>
\r
141 <scope>test</scope>
\r
144 <groupId>ch.qos.logback</groupId>
\r
145 <artifactId>logback-classic</artifactId>
\r
150 <groupId>junit</groupId>
\r
151 <artifactId>junit-dep</artifactId>
\r
152 <version>4.11</version>
\r
153 <scope>test</scope>
\r
156 <groupId>ch.qos.logback</groupId>
\r
157 <artifactId>logback-classic</artifactId>
\r
162 <groupId>com.h2database</groupId>
\r
163 <artifactId>h2</artifactId>
\r
164 <scope>test</scope>
\r
170 <groupId>org.springframework.boot</groupId>
\r
171 <artifactId>spring-boot-maven-plugin</artifactId>
\r
174 <groupId>net.revelc.code.formatter</groupId>
\r
175 <artifactId>formatter-maven-plugin</artifactId>
\r
176 <version>${formatter-maven-plugin.version}</version>
\r
178 <configFile>${project.parent.basedir}/eclipse-formatter.xml</configFile>
\r
180 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
\r
181 spotless:apply process-sources -->
\r
184 <groupId>com.diffplug.spotless</groupId>
\r
185 <artifactId>spotless-maven-plugin</artifactId>
\r
186 <version>${spotless-maven-plugin.version}</version>
\r
189 <removeUnusedImports />
\r
191 <order>com,java,javax,org</order>
\r
195 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
\r
196 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
\r
200 <groupId>org.apache.maven.plugins</groupId>
\r
201 <artifactId>maven-surefire-plugin</artifactId>
\r
203 <skipTests>false</skipTests>
\r
207 <groupId>org.jacoco</groupId>
\r
208 <artifactId>jacoco-maven-plugin</artifactId>
\r
212 <goal>prepare-agent</goal>
\r
215 <!-- attached to Maven test phase -->
\r
218 <phase>test</phase>
\r
220 <goal>report</goal>
\r
226 <artifactId>maven-failsafe-plugin</artifactId>
\r
229 <groupId>io.fabric8</groupId>
\r
230 <artifactId>docker-maven-plugin</artifactId>
\r
231 <version>${docker-maven-plugin}</version>
\r
232 <inherited>false</inherited>
\r
235 <id>generate-policy-agent-image</id>
\r
236 <phase>package</phase>
\r
242 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
\r
245 <name>${docker.image.name}:${build.version}</name>
\r
247 <cleanup>try</cleanup>
\r
248 <contextDir>${basedir}</contextDir>
\r
249 <dockerFile>Dockerfile</dockerFile>
\r
251 <JAR>${project.build.finalName}.jar</JAR>
\r
254 <tag>${project.version}</tag>
\r
262 <id>push-policy-agent-image</id>
\r
268 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
\r
269 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
\r
272 <name>${docker.image.name}:${project.version}</name>
\r
274 <contextDir>${basedir}</contextDir>
\r
275 <dockerFile>Dockerfile</dockerFile>
\r
277 <JAR>${project.build.finalName}.jar</JAR>
\r
289 <!-- support sonar in multi-module project -->
\r
291 <groupId>org.sonarsource.scanner.maven</groupId>
\r
292 <artifactId>sonar-maven-plugin</artifactId>
\r
293 <version>${sonar-maven-plugin.version}</version>
\r
298 <system>JIRA</system>
\r
299 <url>https://jira.o-ran-sc.org/</url>
\r