3 * ============LICENSE_START========================================================================
4 * O-RAN-SC : tr-069-adapter
5 * =================================================================================================
6 * Copyright (C) 2020 CommScope Inc Intellectual Property.
7 * =================================================================================================
8 * This tr-069-adapter software file is distributed by CommScope Inc
9 * under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * This file is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ===============LICENSE_END=======================================================================
22 <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">
24 <groupId>org.commscope.tr069adapter</groupId>
25 <artifactId>tr069adapter</artifactId>
26 <version>1.0.0</version>
28 <modelVersion>4.0.0</modelVersion>
29 <groupId>org.commscope.tr069adapter.mapper</groupId>
30 <artifactId>mapper</artifactId>
31 <name>TR069_Mapper</name>
34 <name>The Apache Software License, Version 2.0</name>
35 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
40 <id>onap-releases</id>
41 <name>onap-releases</name>
42 <url>https://nexus.onap.org/content/repositories/releases/</url>
46 <docker.image.name>o-ran-sc/tr069adapter-netconfig-mapper</docker.image.name>
50 <groupId>org.springframework.boot</groupId>
51 <artifactId>spring-boot-starter-web</artifactId>
54 <groupId>org.springframework.boot</groupId>
55 <artifactId>spring-boot-starter-logging</artifactId>
60 <groupId>org.springframework.boot</groupId>
61 <artifactId>spring-boot-starter-log4j2</artifactId>
64 <groupId>com.lmax</groupId>
65 <artifactId>disruptor</artifactId>
66 <version>3.4.2</version>
69 <groupId>org.springframework.boot</groupId>
70 <artifactId>spring-boot-starter-activemq</artifactId>
73 <groupId>com.fasterxml.jackson.core</groupId>
74 <artifactId>jackson-databind</artifactId>
77 <groupId>org.commscope.tr069adapter.acs.common</groupId>
78 <artifactId>acs-common</artifactId>
79 <version>1.0.0</version>
82 <groupId>org.mariadb.jdbc</groupId>
83 <artifactId>mariadb-java-client</artifactId>
86 <groupId>org.springframework.boot</groupId>
87 <artifactId>spring-boot-starter-data-jpa</artifactId>
90 <groupId>commons-io</groupId>
91 <artifactId>commons-io</artifactId>
92 <version>2.6</version>
95 <groupId>junit</groupId>
96 <artifactId>junit</artifactId>
100 <groupId>junit</groupId>
101 <artifactId>junit-dep</artifactId>
102 <version>4.11</version>
106 <groupId>org.springframework.boot</groupId>
107 <artifactId>spring-boot-starter-test</artifactId>
111 <groupId>com.h2database</groupId>
112 <artifactId>h2</artifactId>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-jar-plugin</artifactId>
123 <id>mapper-client</id>
128 <finalName>mapper-client</finalName>
129 <classifier>lib</classifier>
131 <include>org/commscope/tr069adapter/mapper/model/*</include>
138 <groupId>org.apache.maven.plugins</groupId>
139 <artifactId>maven-jar-plugin</artifactId>
147 <finalName>mapper-jar</finalName>
148 <classifier>lib</classifier>
154 <groupId>org.springframework.boot</groupId>
155 <artifactId>spring-boot-maven-plugin</artifactId>
158 <groupId>net.revelc.code.formatter</groupId>
159 <artifactId>formatter-maven-plugin</artifactId>
160 <version>${formatter-maven-plugin.version}</version>
162 <configFile>${project.parent.basedir}/eclipse-formatter.xml</configFile>
164 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
165 spotless:apply process-sources -->
168 <groupId>com.diffplug.spotless</groupId>
169 <artifactId>spotless-maven-plugin</artifactId>
170 <version>${spotless-maven-plugin.version}</version>
173 <removeUnusedImports />
175 <order>com,java,javax,org</order>
179 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
180 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-surefire-plugin</artifactId>
186 <version>2.17</version>
188 <skipTests>false</skipTests>
192 <artifactId>maven-failsafe-plugin</artifactId>
195 <groupId>io.fabric8</groupId>
196 <artifactId>docker-maven-plugin</artifactId>
197 <version>${docker-maven-plugin}</version>
198 <inherited>false</inherited>
201 <id>generate-policy-agent-image</id>
202 <phase>package</phase>
208 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
211 <name>${docker.image.name}:${build.version}</name>
213 <cleanup>try</cleanup>
214 <contextDir>${basedir}</contextDir>
215 <dockerFile>Dockerfile</dockerFile>
217 <JAR>${project.build.finalName}.jar</JAR>
220 <tag>${project.version}</tag>
228 <id>push-policy-agent-image</id>
234 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
235 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
238 <name>${docker.image.name}:${project.version}</name>
240 <contextDir>${basedir}</contextDir>
241 <dockerFile>Dockerfile</dockerFile>
243 <JAR>${project.build.finalName}.jar</JAR>
255 <!-- support sonar in multi-module project -->
257 <groupId>org.sonarsource.scanner.maven</groupId>
258 <artifactId>sonar-maven-plugin</artifactId>
259 <version>${sonar-maven-plugin.version}</version>
264 <system>JIRA</system>
265 <url>https://jira.o-ran-sc.org/</url>