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>1.0.0</version>
30 <groupId>org.commscope.tr069adapter.factory</groupId>
31 <artifactId>factory</artifactId>
33 <description>Factory 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-factorydb</docker.image.name>
52 <groupId>org.springframework.boot</groupId>
53 <artifactId>spring-boot-starter-web</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-log4j2</artifactId>
66 <groupId>org.springframework.boot</groupId>
67 <artifactId>spring-boot-starter-test</artifactId>
71 <groupId>com.fasterxml.jackson.core</groupId>
72 <artifactId>jackson-databind</artifactId>
75 <groupId>org.commscope.tr069adapter.acs.common</groupId>
76 <artifactId>acs-common</artifactId>
77 <version>1.0.0</version>
83 <groupId>org.springframework.boot</groupId>
84 <artifactId>spring-boot-maven-plugin</artifactId>
87 <groupId>net.revelc.code.formatter</groupId>
88 <artifactId>formatter-maven-plugin</artifactId>
89 <version>${formatter-maven-plugin.version}</version>
91 <configFile>${project.parent.basedir}/eclipse-formatter.xml</configFile>
93 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
94 spotless:apply process-sources -->
97 <groupId>com.diffplug.spotless</groupId>
98 <artifactId>spotless-maven-plugin</artifactId>
99 <version>${spotless-maven-plugin.version}</version>
102 <removeUnusedImports />
104 <order>com,java,javax,org</order>
108 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
109 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-surefire-plugin</artifactId>
116 <skipTests>false</skipTests>
120 <artifactId>maven-failsafe-plugin</artifactId>
123 <groupId>io.fabric8</groupId>
124 <artifactId>docker-maven-plugin</artifactId>
125 <version>${docker-maven-plugin}</version>
126 <inherited>false</inherited>
129 <id>generate-policy-agent-image</id>
130 <phase>package</phase>
136 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
139 <name>${docker.image.name}:${build.version}</name>
141 <cleanup>try</cleanup>
142 <contextDir>${basedir}</contextDir>
143 <dockerFile>Dockerfile</dockerFile>
145 <JAR>${project.build.finalName}.jar</JAR>
148 <tag>${project.version}</tag>
156 <id>push-policy-agent-image</id>
162 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
163 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
166 <name>${docker.image.name}:${project.version}</name>
168 <contextDir>${basedir}</contextDir>
169 <dockerFile>Dockerfile</dockerFile>
171 <JAR>${project.build.finalName}.jar</JAR>
183 <!-- support sonar in multi-module project -->
185 <groupId>org.sonarsource.scanner.maven</groupId>
186 <artifactId>sonar-maven-plugin</artifactId>
187 <version>${sonar-maven-plugin.version}</version>
192 <system>JIRA</system>
193 <url>https://jira.o-ran-sc.org/</url>