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 https://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>${project.version}</version>
30 <groupId>org.commscope.tr069adapter.config</groupId>
31 <artifactId>config-data</artifactId>
32 <name>config-data</name>
33 <description>Configuration data import project for Spring Boot</description>
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-acs-initialpnpdb</docker.image.name>
52 <groupId>org.springframework.boot</groupId>
53 <artifactId>spring-boot-starter-data-jpa</artifactId>
56 <groupId>org.springframework.boot</groupId>
57 <artifactId>spring-boot-starter-web</artifactId>
60 <groupId>org.springframework.boot</groupId>
61 <artifactId>spring-boot-starter-logging</artifactId>
66 <groupId>org.springframework.boot</groupId>
67 <artifactId>spring-boot-starter-log4j2</artifactId>
70 <groupId>org.mariadb.jdbc</groupId>
71 <artifactId>mariadb-java-client</artifactId>
74 <groupId>org.springframework.boot</groupId>
75 <artifactId>spring-boot-starter-test</artifactId>
79 <groupId>com.h2database</groupId>
80 <artifactId>h2</artifactId>
84 <groupId>junit</groupId>
85 <artifactId>junit</artifactId>
88 <groupId>junit</groupId>
89 <artifactId>junit-dep</artifactId>
90 <version>4.11</version>
93 <groupId>org.springframework.boot</groupId>
94 <artifactId>spring-boot-starter-test</artifactId>
98 <groupId>org.commscope.tr069adapter.acs.common</groupId>
99 <artifactId>acs-common</artifactId>
100 <version>${project.version}</version>
106 <groupId>org.springframework.boot</groupId>
107 <artifactId>spring-boot-maven-plugin</artifactId>
110 <groupId>net.revelc.code.formatter</groupId>
111 <artifactId>formatter-maven-plugin</artifactId>
112 <version>${formatter-maven-plugin.version}</version>
114 <configFile>${project.parent.basedir}/eclipse-formatter.xml</configFile>
116 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
117 spotless:apply process-sources -->
120 <groupId>com.diffplug.spotless</groupId>
121 <artifactId>spotless-maven-plugin</artifactId>
122 <version>${spotless-maven-plugin.version}</version>
125 <removeUnusedImports />
127 <order>com,java,javax,org</order>
131 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
132 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-surefire-plugin</artifactId>
139 <skipTests>false</skipTests>
143 <groupId>org.jacoco</groupId>
144 <artifactId>jacoco-maven-plugin</artifactId>
148 <goal>prepare-agent</goal>
151 <!-- attached to Maven test phase -->
162 <artifactId>maven-failsafe-plugin</artifactId>
165 <groupId>io.fabric8</groupId>
166 <artifactId>docker-maven-plugin</artifactId>
167 <version>${docker-maven-plugin}</version>
168 <inherited>false</inherited>
171 <id>generate-policy-agent-image</id>
172 <phase>package</phase>
178 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
181 <name>${docker.image.name}:${build.version}</name>
183 <cleanup>try</cleanup>
184 <contextDir>${basedir}</contextDir>
185 <dockerFile>Dockerfile</dockerFile>
187 <JAR>${project.build.finalName}.jar</JAR>
190 <tag>${project.version}</tag>
198 <id>push-policy-agent-image</id>
204 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
205 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
208 <name>${docker.image.name}:${project.version}</name>
210 <contextDir>${basedir}</contextDir>
211 <dockerFile>Dockerfile</dockerFile>
213 <JAR>${project.build.finalName}.jar</JAR>
225 <!-- support sonar in multi-module project -->
227 <groupId>org.sonarsource.scanner.maven</groupId>
228 <artifactId>sonar-maven-plugin</artifactId>
229 <version>${sonar-maven-plugin.version}</version>
234 <system>JIRA</system>
235 <url>https://jira.o-ran-sc.org/</url>