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