08edb711bc3dfb47b71f07ce7ec6965694d06055
[so.git] / mso-api-handlers / mso-api-handler-infra / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.onap.so</groupId>
6     <artifactId>mso-api-handlers</artifactId>
7     <version>1.12.1-SNAPSHOT</version>
8   </parent>
9   <artifactId>mso-api-handler-infra</artifactId>
10   <name>mso-api-handler-infra</name>
11   <description>ONAP SO API Handler Infra</description>
12   <properties>
13     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
15   </properties>
16   <dependencyManagement>
17     <dependencies>
18       <dependency>
19         <!-- Import dependency management from Spring Boot -->
20         <groupId>org.springframework.boot</groupId>
21         <artifactId>spring-boot-dependencies</artifactId>
22         <version>${springboot.version}</version>
23         <type>pom</type>
24         <scope>import</scope>
25       </dependency>
26     </dependencies>
27   </dependencyManagement>
28   <dependencies>
29     <dependency>
30       <groupId>org.camunda.bpm</groupId>
31       <artifactId>camunda-engine</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.javassist</groupId>
35       <artifactId>javassist</artifactId>
36       <version>3.25.0-GA</version>
37     </dependency>
38     <dependency>
39       <groupId>io.swagger.core.v3</groupId>
40       <artifactId>swagger-jaxrs2</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>com.h2database</groupId>
44       <artifactId>h2</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.springframework.boot</groupId>
48       <artifactId>spring-boot-starter-jersey</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.springframework.boot</groupId>
52       <artifactId>spring-boot-starter-data-jpa</artifactId>
53       <exclusions>
54         <exclusion>
55           <groupId>org.apache.tomcat</groupId>
56           <artifactId>tomcat-jdbc</artifactId>
57         </exclusion>
58       </exclusions>
59     </dependency>
60     <dependency>
61       <groupId>org.springframework.boot</groupId>
62       <artifactId>spring-boot-starter-webflux</artifactId>
63     </dependency>
64     <dependency>
65       <groupId>javax.xml.ws</groupId>
66       <artifactId>jaxws-api</artifactId>
67     </dependency>
68     <dependency>
69       <groupId>javax.interceptor</groupId>
70       <artifactId>javax.interceptor-api</artifactId>
71     </dependency>
72     <dependency>
73       <groupId>org.onap.so</groupId>
74       <artifactId>mso-requests-db-repositories</artifactId>
75       <version>${project.version}</version>
76     </dependency>
77     <dependency>
78       <groupId>org.onap.so</groupId>
79       <artifactId>mso-catalog-db</artifactId>
80       <version>${project.version}</version>
81     </dependency>
82     <dependency>
83       <groupId>pl.pragmatists</groupId>
84       <artifactId>JUnitParams</artifactId>
85       <scope>test</scope>
86     </dependency>
87     <dependency>
88       <groupId>junit</groupId>
89       <artifactId>junit</artifactId>
90       <scope>test</scope>
91     </dependency>
92     <dependency>
93       <groupId>org.onap.sdc.sdc-distribution-client</groupId>
94       <artifactId>sdc-distribution-client</artifactId>
95       <version>1.4.1</version>
96       <exclusions>
97         <exclusion>
98           <groupId>org.slf4j</groupId>
99           <artifactId>slf4j-log4j12</artifactId>
100         </exclusion>
101       </exclusions>
102     </dependency>
103     <dependency>
104       <groupId>com.github.java-json-tools</groupId>
105       <artifactId>json-schema-validator</artifactId>
106       <version>2.2.8</version>
107     </dependency>
108     <dependency>
109       <groupId>org.springframework.boot</groupId>
110       <artifactId>spring-boot-starter-test</artifactId>
111       <scope>test</scope>
112     </dependency>
113     <dependency>
114       <groupId>org.springframework.boot</groupId>
115       <artifactId>spring-boot-configuration-processor</artifactId>
116       <optional>true</optional>
117     </dependency>
118     <dependency>
119       <groupId>ch.vorburger.mariaDB4j</groupId>
120       <artifactId>mariaDB4j</artifactId>
121       <scope>test</scope>
122     </dependency>
123     <dependency>
124       <groupId>org.onap.so</groupId>
125       <artifactId>mso-api-handler-common</artifactId>
126       <version>${project.version}</version>
127     </dependency>
128     <dependency>
129       <groupId>org.springframework.cloud</groupId>
130       <artifactId>spring-cloud-contract-wiremock</artifactId>
131       <scope>test</scope>
132     </dependency>
133     <dependency>
134       <groupId>io.micrometer</groupId>
135       <artifactId>micrometer-registry-prometheus</artifactId>
136     </dependency>
137     <dependency>
138       <groupId>org.onap.aaf.authz</groupId>
139       <artifactId>aaf-cadi-aaf</artifactId>
140       <exclusions>
141         <exclusion>
142           <groupId>javax.servlet</groupId>
143           <artifactId>servlet-api</artifactId>
144         </exclusion>
145         <exclusion>
146           <groupId>log4j</groupId>
147           <artifactId>log4j</artifactId>
148         </exclusion>
149       </exclusions>
150     </dependency>
151     <dependency>
152       <groupId>org.onap.aaf.authz</groupId>
153       <artifactId>aaf-auth-client</artifactId>
154       <scope>runtime</scope>
155     </dependency>
156     <dependency>
157       <groupId>org.onap.aaf.authz</groupId>
158       <artifactId>aaf-misc-env</artifactId>
159       <scope>runtime</scope>
160     </dependency>
161     <dependency>
162       <groupId>org.onap.aaf.authz</groupId>
163       <artifactId>aaf-misc-rosetta</artifactId>
164       <scope>runtime</scope>
165     </dependency>
166   </dependencies>
167   <build>
168     <finalName>${project.artifactId}-${project.version}</finalName>
169     <pluginManagement>
170       <plugins>
171         <plugin>
172           <groupId>org.eclipse.m2e</groupId>
173           <artifactId>lifecycle-mapping</artifactId>
174           <version>1.0.0</version>
175           <configuration>
176             <lifecycleMappingMetadata>
177               <pluginExecutions>
178                 <pluginExecution>
179                   <pluginExecutionFilter>
180                     <groupId>org.apache.maven.plugins</groupId>
181                     <artifactId>maven-dependency-plugin</artifactId>
182                     <versionRange>[1.0.0,)</versionRange>
183                     <goals>
184                       <goal>unpack</goal>
185                     </goals>
186                   </pluginExecutionFilter>
187                   <action>
188                     <execute />
189                   </action>
190                 </pluginExecution>
191               </pluginExecutions>
192             </lifecycleMappingMetadata>
193           </configuration>
194         </plugin>
195       </plugins>
196     </pluginManagement>
197     <plugins>
198       <plugin>
199         <groupId>org.apache.maven.plugins</groupId>
200         <artifactId>maven-surefire-plugin</artifactId>
201         <executions>
202           <execution>
203             <id>default-test</id>
204             <goals>
205               <goal>test</goal>
206             </goals>
207             <configuration>
208               <includes>
209                 <include>**/AllTestsTestSuite.java</include>
210               </includes>
211               <parallel>suites</parallel>
212             </configuration>
213           </execution>
214         </executions>
215       </plugin>
216       <plugin>
217         <groupId>org.springframework.boot</groupId>
218         <artifactId>spring-boot-maven-plugin</artifactId>
219         <configuration>
220           <mainClass>org.onap.so.apihandlerinfra.ApiHandlerApplication</mainClass>
221         </configuration>
222         <executions>
223           <execution>
224             <goals>
225               <goal>repackage</goal>
226             </goals>
227           </execution>
228         </executions>
229       </plugin>
230       <plugin>
231         <groupId>org.apache.maven.plugins</groupId>
232         <artifactId>maven-dependency-plugin</artifactId>
233         <executions>
234           <execution>
235             <id>extract-docker-file</id>
236             <configuration>
237               <skip>false</skip>
238             </configuration>
239           </execution>
240         </executions>
241       </plugin>
242       <plugin>
243         <groupId>org.apache.maven.plugins</groupId>
244         <artifactId>maven-jar-plugin</artifactId>
245         <executions>
246           <execution>
247             <id>original</id>
248             <phase>package</phase>
249           </execution>
250         </executions>
251       </plugin>
252       <plugin>
253         <groupId>io.fabric8</groupId>
254         <artifactId>docker-maven-plugin</artifactId>
255         <executions>
256           <execution>
257             <id>start</id>
258           </execution>
259         </executions>
260       </plugin>
261     </plugins>
262   </build>
263   <packaging>jar</packaging>
264 </project>