e0e63750b3860f2aff77ff6302360e4a1b1274a3
[so.git] / adapters / mso-catalog-db-adapter / 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>adapters</artifactId>
7     <version>1.12.1-SNAPSHOT</version>
8   </parent>
9   <groupId>org.onap.so.adapters</groupId>
10   <artifactId>mso-catalog-db-adapter</artifactId>
11   <packaging>jar</packaging>
12   <properties>
13     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
15   </properties>
16   <build>
17     <plugins>
18       <plugin>
19         <groupId>org.springframework.boot</groupId>
20         <artifactId>spring-boot-maven-plugin</artifactId>
21         <configuration>
22           <mainClass>org.onap.so.adapters.catalogdb.CatalogDBApplication</mainClass>
23         </configuration>
24         <executions>
25           <execution>
26             <goals>
27               <goal>repackage</goal>
28             </goals>
29           </execution>
30         </executions>
31       </plugin>
32       <plugin>
33         <groupId>org.apache.maven.plugins</groupId>
34         <artifactId>maven-dependency-plugin</artifactId>
35         <executions>
36           <execution>
37             <id>extract-docker-file</id>
38             <configuration>
39               <skip>false</skip>
40             </configuration>
41           </execution>
42         </executions>
43       </plugin>
44       <plugin>
45         <groupId>io.fabric8</groupId>
46         <artifactId>docker-maven-plugin</artifactId>
47         <executions>
48           <execution>
49             <id>start</id>
50           </execution>
51         </executions>
52       </plugin>
53       <plugin>
54         <groupId>org.apache.maven.plugins</groupId>
55         <artifactId>maven-surefire-plugin</artifactId>
56         <executions>
57           <execution>
58             <id>default-test</id>
59             <goals>
60               <goal>test</goal>
61             </goals>
62             <configuration>
63               <includes>
64                 <include>**/AllTestsTestSuite.java</include>
65               </includes>
66               <parallel>suites</parallel>
67             </configuration>
68           </execution>
69         </executions>
70       </plugin>
71     </plugins>
72     <pluginManagement>
73       <plugins>
74         <plugin>
75           <groupId>org.eclipse.m2e</groupId>
76           <artifactId>lifecycle-mapping</artifactId>
77           <version>1.0.0</version>
78           <configuration>
79             <lifecycleMappingMetadata>
80               <pluginExecutions>
81                 <pluginExecution>
82                   <pluginExecutionFilter>
83                     <groupId>org.apache.maven.plugins</groupId>
84                     <artifactId>maven-dependency-plugin</artifactId>
85                     <versionRange>[1.0.0,)</versionRange>
86                     <goals>
87                       <goal>unpack</goal>
88                     </goals>
89                   </pluginExecutionFilter>
90                   <action>
91                     <execute />
92                   </action>
93                 </pluginExecution>
94               </pluginExecutions>
95             </lifecycleMappingMetadata>
96           </configuration>
97         </plugin>
98         <plugin>
99           <groupId>org.jacoco</groupId>
100           <artifactId>jacoco-maven-plugin</artifactId>
101         </plugin>
102       </plugins>
103     </pluginManagement>
104     <finalName>${project.artifactId}-${project.version}</finalName>
105   </build>
106   <dependencyManagement>
107     <dependencies>
108       <dependency>
109         <!-- Import dependency management from Spring Boot -->
110         <groupId>org.springframework.boot</groupId>
111         <artifactId>spring-boot-dependencies</artifactId>
112         <version>${springboot.version}</version>
113         <type>pom</type>
114         <scope>import</scope>
115       </dependency>
116     </dependencies>
117   </dependencyManagement>
118   <dependencies>
119     <dependency>
120       <groupId>io.swagger.core.v3</groupId>
121       <artifactId>swagger-jaxrs2</artifactId>
122     </dependency>
123     <dependency>
124       <groupId>org.springframework.boot</groupId>
125       <artifactId>spring-boot-starter-jersey</artifactId>
126     </dependency>
127     <dependency>
128       <groupId>org.springframework.boot</groupId>
129       <artifactId>spring-boot-starter-data-jpa</artifactId>
130       <exclusions>
131         <exclusion>
132           <groupId>org.apache.tomcat</groupId>
133           <artifactId>tomcat-jdbc</artifactId>
134         </exclusion>
135       </exclusions>
136     </dependency>
137     <dependency>
138       <groupId>org.springframework.boot</groupId>
139       <artifactId>spring-boot-starter-test</artifactId>
140       <scope>test</scope>
141     </dependency>
142     <dependency>
143       <groupId>org.onap.so</groupId>
144       <artifactId>mso-catalog-db</artifactId>
145       <version>${project.version}</version>
146     </dependency>
147     <dependency>
148       <groupId>org.javassist</groupId>
149       <artifactId>javassist</artifactId>
150       <version>3.25.0-GA</version>
151     </dependency>
152     <dependency>
153       <groupId>ch.vorburger.mariaDB4j</groupId>
154       <artifactId>mariaDB4j</artifactId>
155       <scope>test</scope>
156     </dependency>
157     <dependency>
158       <groupId>org.flywaydb</groupId>
159       <artifactId>flyway-core</artifactId>
160     </dependency>
161     <dependency>
162       <groupId>io.micrometer</groupId>
163       <artifactId>micrometer-registry-prometheus</artifactId>
164     </dependency>
165   </dependencies>
166 </project>