3 * ============LICENSE_START========================================================================
\r
4 * O-RAN-SC : tr-069-adapter
\r
5 * =================================================================================================
\r
6 * Copyright (C) 2020 CommScope Inc Intellectual Property.
\r
7 * =================================================================================================
\r
8 * This tr-069-adapter software file is distributed by CommScope Inc
\r
9 * under the Apache License, Version 2.0 (the "License");
\r
10 * you may not use this file except in compliance with the License.
\r
11 * You may obtain a copy of the License at
\r
13 * http://www.apache.org/licenses/LICENSE-2.0
\r
15 * This file is distributed on an "AS IS" BASIS,
\r
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
17 * See the License for the specific language governing permissions and
\r
18 * limitations under the License.
\r
19 * ===============LICENSE_END=======================================================================
\r
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">
\r
24 <groupId>org.commscope.tr069adapter</groupId>
\r
25 <artifactId>tr069adapter</artifactId>
\r
26 <version>1.0.0</version>
\r
28 <modelVersion>4.0.0</modelVersion>
\r
29 <groupId>org.commscope.tr069adapter.mapper</groupId>
\r
30 <artifactId>mapper</artifactId>
\r
31 <name>TR069_Mapper</name>
\r
34 <name>The Apache Software License, Version 2.0</name>
\r
35 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
\r
40 <id>onap-releases</id>
\r
41 <name>onap-releases</name>
\r
42 <url>https://nexus.onap.org/content/repositories/releases/</url>
\r
46 <docker.image.name>o-ran-sc/tr069adapter-netconfig-mapper</docker.image.name>
\r
50 <groupId>org.springframework.boot</groupId>
\r
51 <artifactId>spring-boot-starter-web</artifactId>
\r
54 <groupId>org.springframework.boot</groupId>
\r
55 <artifactId>spring-boot-starter-logging</artifactId>
\r
60 <groupId>org.springframework.boot</groupId>
\r
61 <artifactId>spring-boot-starter-log4j2</artifactId>
\r
64 <groupId>com.lmax</groupId>
\r
65 <artifactId>disruptor</artifactId>
\r
66 <version>3.4.2</version>
\r
69 <groupId>org.springframework.boot</groupId>
\r
70 <artifactId>spring-boot-starter-activemq</artifactId>
\r
73 <groupId>com.fasterxml.jackson.core</groupId>
\r
74 <artifactId>jackson-databind</artifactId>
\r
77 <groupId>org.commscope.tr069adapter.acs.common</groupId>
\r
78 <artifactId>acs-common</artifactId>
\r
79 <version>1.0.0</version>
\r
82 <groupId>org.mariadb.jdbc</groupId>
\r
83 <artifactId>mariadb-java-client</artifactId>
\r
86 <groupId>org.springframework.boot</groupId>
\r
87 <artifactId>spring-boot-starter-data-jpa</artifactId>
\r
90 <groupId>org.commscope.tr069adapter.common</groupId>
\r
91 <artifactId>common</artifactId>
\r
92 <version>1.0.0</version>
\r
95 <groupId>commons-io</groupId>
\r
96 <artifactId>commons-io</artifactId>
\r
97 <version>2.6</version>
\r
100 <groupId>junit</groupId>
\r
101 <artifactId>junit</artifactId>
\r
102 <scope>test</scope>
\r
105 <groupId>junit</groupId>
\r
106 <artifactId>junit-dep</artifactId>
\r
107 <version>4.11</version>
\r
108 <scope>test</scope>
\r
111 <groupId>org.springframework.boot</groupId>
\r
112 <artifactId>spring-boot-starter-test</artifactId>
\r
113 <scope>test</scope>
\r
116 <groupId>com.h2database</groupId>
\r
117 <artifactId>h2</artifactId>
\r
118 <scope>test</scope>
\r
124 <groupId>org.apache.maven.plugins</groupId>
\r
125 <artifactId>maven-jar-plugin</artifactId>
\r
128 <id>mapper-client</id>
\r
133 <finalName>mapper-client</finalName>
\r
134 <classifier>lib</classifier>
\r
136 <include>org/commscope/tr069adapter/mapper/model/*</include>
\r
143 <groupId>org.apache.maven.plugins</groupId>
\r
144 <artifactId>maven-jar-plugin</artifactId>
\r
147 <id>mapper-jar</id>
\r
152 <finalName>mapper-jar</finalName>
\r
153 <classifier>lib</classifier>
\r
159 <groupId>org.springframework.boot</groupId>
\r
160 <artifactId>spring-boot-maven-plugin</artifactId>
\r
163 <groupId>net.revelc.code.formatter</groupId>
\r
164 <artifactId>formatter-maven-plugin</artifactId>
\r
165 <version>${formatter-maven-plugin.version}</version>
\r
167 <configFile>${project.parent.basedir}/eclipse-formatter.xml</configFile>
\r
169 <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format
\r
170 spotless:apply process-sources -->
\r
173 <groupId>com.diffplug.spotless</groupId>
\r
174 <artifactId>spotless-maven-plugin</artifactId>
\r
175 <version>${spotless-maven-plugin.version}</version>
\r
178 <removeUnusedImports />
\r
180 <order>com,java,javax,org</order>
\r
184 <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use
\r
185 mvn spotless:apply to rewrite source files use mvn spotless:check to validate
\r
189 <groupId>org.apache.maven.plugins</groupId>
\r
190 <artifactId>maven-surefire-plugin</artifactId>
\r
191 <version>2.17</version>
\r
193 <skipTests>false</skipTests>
\r
197 <groupId>org.jacoco</groupId>
\r
198 <artifactId>jacoco-maven-plugin</artifactId>
\r
202 <goal>prepare-agent</goal>
\r
205 <!-- attached to Maven test phase -->
\r
208 <phase>test</phase>
\r
210 <goal>report</goal>
\r
216 <artifactId>maven-failsafe-plugin</artifactId>
\r
219 <groupId>io.fabric8</groupId>
\r
220 <artifactId>docker-maven-plugin</artifactId>
\r
221 <version>${docker-maven-plugin}</version>
\r
222 <inherited>false</inherited>
\r
225 <id>generate-policy-agent-image</id>
\r
226 <phase>package</phase>
\r
232 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
\r
235 <name>${docker.image.name}:${build.version}</name>
\r
237 <cleanup>try</cleanup>
\r
238 <contextDir>${basedir}</contextDir>
\r
239 <dockerFile>Dockerfile</dockerFile>
\r
241 <JAR>${project.build.finalName}.jar</JAR>
\r
244 <tag>${project.version}</tag>
\r
252 <id>push-policy-agent-image</id>
\r
258 <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
\r
259 <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
\r
262 <name>${docker.image.name}:${project.version}</name>
\r
264 <contextDir>${basedir}</contextDir>
\r
265 <dockerFile>Dockerfile</dockerFile>
\r
267 <JAR>${project.build.finalName}.jar</JAR>
\r
279 <!-- support sonar in multi-module project -->
\r
281 <groupId>org.sonarsource.scanner.maven</groupId>
\r
282 <artifactId>sonar-maven-plugin</artifactId>
\r
283 <version>${sonar-maven-plugin.version}</version>
\r
288 <system>JIRA</system>
\r
289 <url>https://jira.o-ran-sc.org/</url>
\r