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.config</groupId>
\r
31 <artifactId>config-data</artifactId>
\r
32 <name>config-data</name>
\r
33 <description>Configuration data 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-initialpnpdb</docker.image.name>
\r
52 <groupId>org.springframework.boot</groupId>
\r
53 <artifactId>spring-boot-starter-data-jpa</artifactId>
\r
56 <groupId>org.springframework.boot</groupId>
\r
57 <artifactId>spring-boot-starter-web</artifactId>
\r
60 <groupId>org.springframework.boot</groupId>
\r
61 <artifactId>spring-boot-starter-logging</artifactId>
\r
66 <groupId>org.springframework.boot</groupId>
\r
67 <artifactId>spring-boot-starter-log4j2</artifactId>
\r
70 <groupId>org.mariadb.jdbc</groupId>
\r
71 <artifactId>mariadb-java-client</artifactId>
\r
74 <groupId>org.springframework.boot</groupId>
\r
75 <artifactId>spring-boot-starter-test</artifactId>
\r
79 <groupId>com.h2database</groupId>
\r
80 <artifactId>h2</artifactId>
\r
84 <groupId>junit</groupId>
\r
85 <artifactId>junit</artifactId>
\r
88 <groupId>junit</groupId>
\r
89 <artifactId>junit-dep</artifactId>
\r
90 <version>4.11</version>
\r
93 <groupId>org.springframework.boot</groupId>
\r
94 <artifactId>spring-boot-starter-test</artifactId>
\r
101 <groupId>org.springframework.boot</groupId>
\r
102 <artifactId>spring-boot-maven-plugin</artifactId>
\r
105 <groupId>net.revelc.code.formatter</groupId>
\r
106 <artifactId>formatter-maven-plugin</artifactId>
\r
107 <version>${formatter-maven-plugin.version}</version>
\r
109 <configFile>${project.parent.basedir}/eclipse-formatter.xml</configFile>
\r
111 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
\r
112 spotless:apply process-sources -->
\r
115 <groupId>com.diffplug.spotless</groupId>
\r
116 <artifactId>spotless-maven-plugin</artifactId>
\r
117 <version>${spotless-maven-plugin.version}</version>
\r
120 <removeUnusedImports />
\r
122 <order>com,java,javax,org</order>
\r
126 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
\r
127 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
\r
131 <groupId>org.apache.maven.plugins</groupId>
\r
132 <artifactId>maven-surefire-plugin</artifactId>
\r
134 <skipTests>false</skipTests>
\r
138 <artifactId>maven-failsafe-plugin</artifactId>
\r
141 <groupId>io.fabric8</groupId>
\r
142 <artifactId>docker-maven-plugin</artifactId>
\r
143 <version>${docker-maven-plugin}</version>
\r
144 <inherited>false</inherited>
\r
147 <id>generate-policy-agent-image</id>
\r
148 <phase>package</phase>
\r
154 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
\r
157 <name>${docker.image.name}</name>
\r
159 <cleanup>try</cleanup>
\r
160 <contextDir>${basedir}</contextDir>
\r
161 <dockerFile>Dockerfile</dockerFile>
\r
163 <JAR>${project.build.finalName}.jar</JAR>
\r
166 <tag>${project.version}</tag>
\r
174 <id>push-policy-agent-image</id>
\r
180 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
\r
181 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
\r
184 <name>${docker.image.name}:${project.version}</name>
\r
186 <contextDir>${basedir}</contextDir>
\r
187 <dockerFile>Dockerfile</dockerFile>
\r
189 <JAR>${project.build.finalName}.jar</JAR>
\r
201 <!-- support sonar in multi-module project -->
\r
203 <groupId>org.sonarsource.scanner.maven</groupId>
\r
204 <artifactId>sonar-maven-plugin</artifactId>
\r
205 <version>${sonar-maven-plugin.version}</version>
\r
210 <system>JIRA</system>
\r
211 <url>https://jira.o-ran-sc.org/</url>
\r