291d6e43ce3b22090729ed67582877b5e8f2fc6a
[oam/tr069-adapter.git] / acs / application-booter / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!--\r
3 /*\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
13  *\r
14  * http://www.apache.org/licenses/LICENSE-2.0\r
15  *\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
21 */\r
22 -->\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 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
24    <parent>\r
25       <groupId>org.commscope.tr069adapter.acs</groupId>\r
26       <artifactId>acs</artifactId>\r
27       <version>1.0.0</version>\r
28    </parent>\r
29    <modelVersion>4.0.0</modelVersion>\r
30    <groupId>org.commscope.tr069adapter.acs.booter</groupId>\r
31    <artifactId>application-booter</artifactId>\r
32    <name>Application Booter</name>\r
33    <licenses>\r
34       <license>\r
35          <name>The Apache Software License, Version 2.0</name>\r
36          <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>\r
37       </license>\r
38    </licenses>\r
39    <repositories>\r
40       <repository>\r
41          <id>onap-releases</id>\r
42          <name>onap-releases</name>\r
43          <url>https://nexus.onap.org/content/repositories/releases/</url>\r
44       </repository>\r
45    </repositories>\r
46    <properties>\r
47       <docker.image.name>tr069adapter-acs</docker.image.name>\r
48    </properties>\r
49    <dependencies>\r
50       <dependency>\r
51          <groupId>org.springframework</groupId>\r
52          <artifactId>spring-jms</artifactId>\r
53       </dependency>\r
54       <dependency>\r
55          <groupId>javax.xml.soap</groupId>\r
56          <artifactId>javax.xml.soap-api</artifactId>\r
57          <version>1.4.0</version>\r
58       </dependency>\r
59       <dependency>\r
60          <groupId>org.springframework.boot</groupId>\r
61          <artifactId>spring-boot-starter-web</artifactId>\r
62          <exclusions>\r
63             <exclusion>\r
64                <groupId>org.springframework.boot</groupId>\r
65                <artifactId>spring-boot-starter-logging</artifactId>\r
66             </exclusion>\r
67          </exclusions>\r
68       </dependency>\r
69       <dependency>\r
70          <groupId>org.springframework.boot</groupId>\r
71          <artifactId>spring-boot-starter-log4j2</artifactId>\r
72       </dependency>\r
73       <dependency>\r
74          <groupId>com.lmax</groupId>\r
75          <artifactId>disruptor</artifactId>\r
76          <version>3.4.2</version>\r
77       </dependency>\r
78       <dependency>\r
79          <groupId>org.springframework.boot</groupId>\r
80          <artifactId>spring-boot-starter-activemq</artifactId>\r
81       </dependency>\r
82       <dependency>\r
83          <groupId>org.apache.activemq</groupId>\r
84          <artifactId>activemq-broker</artifactId>\r
85       </dependency>\r
86       <dependency>\r
87          <groupId>com.fasterxml.jackson.core</groupId>\r
88          <artifactId>jackson-databind</artifactId>\r
89       </dependency>\r
90           <dependency>\r
91          <groupId>org.commscope.tr069adapter.acs.common</groupId>\r
92          <artifactId>acs-common</artifactId>\r
93          <version>1.0.0</version>\r
94       </dependency>\r
95       <dependency>\r
96          <groupId>org.commscope.tr069adapter.common</groupId>\r
97          <artifactId>common</artifactId>\r
98          <version>1.0.0</version>\r
99       </dependency>\r
100       <dependency>\r
101          <groupId>org.commscope.tr069adapter.acs.cpe</groupId>\r
102          <artifactId>cpe</artifactId>\r
103          <version>1.0.0</version>\r
104       </dependency>\r
105       <dependency>\r
106          <groupId>org.commscope.tr069adapter.acs.requestprocessor</groupId>\r
107          <artifactId>requestprocessor</artifactId>\r
108          <version>1.0.0</version>\r
109       </dependency>\r
110       <dependency>\r
111          <groupId>org.commscope.tr069adapter.acs.nbi</groupId>\r
112          <artifactId>acsnbi</artifactId>\r
113          <version>1.0.0</version>\r
114       </dependency>\r
115       <dependency>\r
116          <groupId>com.google.guava</groupId>\r
117          <artifactId>guava</artifactId>\r
118          <version>23.6-jre</version>\r
119       </dependency>\r
120       <dependency>\r
121          <groupId>org.apache.httpcomponents</groupId>\r
122          <artifactId>httpcore</artifactId>\r
123       </dependency>\r
124       <dependency>\r
125          <groupId>sax</groupId>\r
126          <artifactId>sax</artifactId>\r
127          <version>2.0.1</version>\r
128       </dependency>\r
129       <dependency>\r
130          <groupId>org.mockito</groupId>\r
131          <artifactId>mockito-core</artifactId>\r
132       </dependency>\r
133       <dependency>\r
134          <groupId>org.springframework.boot</groupId>\r
135          <artifactId>spring-boot-starter-test</artifactId>\r
136          <scope>test</scope>\r
137       </dependency>\r
138       <dependency>\r
139          <groupId>junit</groupId>\r
140          <artifactId>junit</artifactId>\r
141       </dependency>\r
142       <dependency>\r
143          <groupId>junit</groupId>\r
144          <artifactId>junit-dep</artifactId>\r
145          <version>4.11</version>\r
146       </dependency>\r
147       <dependency>\r
148          <groupId>com.h2database</groupId>\r
149          <artifactId>h2</artifactId>\r
150          <scope>test</scope>\r
151       </dependency>\r
152    </dependencies>\r
153    <build>\r
154       <plugins>\r
155          <plugin>\r
156             <groupId>org.springframework.boot</groupId>\r
157             <artifactId>spring-boot-maven-plugin</artifactId>\r
158          </plugin>\r
159          <plugin>\r
160             <groupId>net.revelc.code.formatter</groupId>\r
161             <artifactId>formatter-maven-plugin</artifactId>\r
162             <version>${formatter-maven-plugin.version}</version>\r
163             <configuration>\r
164                <configFile>${project.parent.parent.basedir}/eclipse-formatter.xml</configFile>\r
165             </configuration>\r
166             <!-- https://code.revelc.net/formatter-maven-plugin/ use mvn formatter:format\r
167                                         spotless:apply process-sources -->\r
168          </plugin>\r
169          <plugin>\r
170             <groupId>com.diffplug.spotless</groupId>\r
171             <artifactId>spotless-maven-plugin</artifactId>\r
172             <version>${spotless-maven-plugin.version}</version>\r
173             <configuration>\r
174                <java>\r
175                   <removeUnusedImports />\r
176                   <importOrder>\r
177                      <order>com,java,javax,org</order>\r
178                   </importOrder>\r
179                </java>\r
180             </configuration>\r
181             <!-- https://github.com/diffplug/spotless/tree/master/plugin-maven use\r
182                                         mvn spotless:apply to rewrite source files use mvn spotless:check to validate\r
183                                         source files -->\r
184          </plugin>\r
185          <plugin>\r
186             <groupId>org.apache.maven.plugins</groupId>\r
187             <artifactId>maven-surefire-plugin</artifactId>\r
188             <configuration>\r
189                <skipTests>false</skipTests>\r
190             </configuration>\r
191          </plugin>\r
192          <plugin>\r
193             <artifactId>maven-failsafe-plugin</artifactId>\r
194          </plugin>\r
195          <plugin>\r
196             <groupId>io.fabric8</groupId>\r
197             <artifactId>docker-maven-plugin</artifactId>\r
198             <version>${docker-maven-plugin}</version>\r
199             <inherited>false</inherited>\r
200             <executions>\r
201                <execution>\r
202                   <id>generate-policy-agent-image</id>\r
203                   <phase>package</phase>\r
204                   <goals>\r
205                      <goal>build</goal>\r
206                      <goal>save</goal>\r
207                   </goals>\r
208                   <configuration>\r
209                      <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>\r
210                      <images>\r
211                         <image>\r
212                            <name>${docker.image.name}:${build.version}</name>\r
213                            <build>\r
214                               <cleanup>try</cleanup>\r
215                               <contextDir>${basedir}</contextDir>\r
216                               <dockerFile>Dockerfile</dockerFile>\r
217                               <args>\r
218                                  <JAR>${project.build.finalName}.jar</JAR>\r
219                               </args>\r
220                               <tags>\r
221                                  <tag>${project.version}</tag>\r
222                               </tags>\r
223                            </build>\r
224                         </image>\r
225                      </images>\r
226                   </configuration>\r
227                </execution>\r
228                <execution>\r
229                   <id>push-policy-agent-image</id>\r
230                   <goals>\r
231                      <goal>build</goal>\r
232                      <goal>push</goal>\r
233                   </goals>\r
234                   <configuration>\r
235                      <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>\r
236                      <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>\r
237                      <images>\r
238                         <image>\r
239                            <name>${docker.image.name}:${project.version}</name>\r
240                            <build>\r
241                               <contextDir>${basedir}</contextDir>\r
242                               <dockerFile>Dockerfile</dockerFile>\r
243                               <args>\r
244                                  <JAR>${project.build.finalName}.jar</JAR>\r
245                               </args>\r
246                               <tags>\r
247                                  <tag>latest</tag>\r
248                               </tags>\r
249                            </build>\r
250                         </image>\r
251                      </images>\r
252                   </configuration>\r
253                </execution>\r
254             </executions>\r
255          </plugin>\r
256          <!-- support sonar in multi-module project -->\r
257          <plugin>\r
258             <groupId>org.sonarsource.scanner.maven</groupId>\r
259             <artifactId>sonar-maven-plugin</artifactId>\r
260             <version>${sonar-maven-plugin.version}</version>\r
261          </plugin>\r
262       </plugins>\r
263    </build>\r
264    <issueManagement>\r
265       <system>JIRA</system>\r
266       <url>https://jira.o-ran-sc.org/</url>\r
267    </issueManagement>\r
268 </project>