blob: 2b2bec96b104ec7ecddc3e84e1126bd961adf633 [file] [log] [blame]
ChrisC025301d2017-01-31 11:40:03 +01001<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
5 <parent>
Arthur Martella22e015f2018-02-22 14:24:40 -05006 <groupId>org.onap.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +01007 <artifactId>mso-api-handlers</artifactId>
Rob Daugherty325d4e22018-10-19 15:13:38 -04008 <version>1.4.0-SNAPSHOT</version>
ChrisC025301d2017-01-31 11:40:03 +01009 </parent>
10
11
12 <artifactId>mso-api-handler-infra</artifactId>
13
14 <name>mso-api-handler-infra</name>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040015 <description>ONAP SO API Handler Infra</description>
ChrisC025301d2017-01-31 11:40:03 +010016 <properties>
17 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Rob Daugherty38f72072018-03-14 02:07:32 -040019 <swagger-version>1.3.0</swagger-version>
20 <jax-rs-version>1.1.1</jax-rs-version>
Rob Daugherty38f72072018-03-14 02:07:32 -040021 <reflections-version>0.9.9-RC1</reflections-version>
Rob Daugherty38f72072018-03-14 02:07:32 -040022 <paranamer-version>2.5.2</paranamer-version>
23 <scannotation-version>1.0.3</scannotation-version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040024 <java.version>1.8</java.version>
ChrisC025301d2017-01-31 11:40:03 +010025 </properties>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040026 <dependencyManagement>
27 <dependencies>
28 <dependency>
29 <!-- Import dependency management from Spring Boot -->
30 <groupId>org.springframework.boot</groupId>
31 <artifactId>spring-boot-dependencies</artifactId>
32 <version>${springboot.version}</version>
33 <type>pom</type>
34 <scope>import</scope>
35 </dependency>
36 </dependencies>
37 </dependencyManagement>
ChrisC025301d2017-01-31 11:40:03 +010038 <dependencies>
39 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040040 <groupId>org.springframework.boot</groupId>
41 <artifactId>spring-boot-starter-web</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040042 </dependency>
43 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040044 <groupId>io.swagger</groupId>
45 <artifactId>swagger-jersey2-jaxrs</artifactId>
46 <version>1.5.16</version>
ChrisC025301d2017-01-31 11:40:03 +010047 </dependency>
48 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040049 <groupId>com.h2database</groupId>
50 <artifactId>h2</artifactId>
ChrisC1ba1d192017-03-13 05:01:04 -070051 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040052 <dependency>
53 <groupId>org.mariadb.jdbc</groupId>
54 <artifactId>mariadb-java-client</artifactId>
55 </dependency>
56 <dependency>
57 <groupId>org.springframework.boot</groupId>
58 <artifactId>spring-boot-starter-actuator</artifactId>
59 </dependency>
60 <dependency>
61 <groupId>org.springframework.boot</groupId>
62 <artifactId>spring-boot-starter-jersey</artifactId>
63 </dependency>
64 <dependency>
65 <groupId>org.springframework.boot</groupId>
66 <artifactId>spring-boot-starter-data-jpa</artifactId>
67 <exclusions>
68 <exclusion>
69 <groupId>org.apache.tomcat</groupId>
70 <artifactId>tomcat-jdbc</artifactId>
71 </exclusion>
72 </exclusions>
73 </dependency>
74 <dependency>
75 <groupId>org.apache.commons</groupId>
76 <artifactId>commons-dbcp2</artifactId>
77 </dependency>
78 <dependency>
79 <groupId>commons-lang</groupId>
80 <artifactId>commons-lang</artifactId>
81 <version>2.6</version>
82 </dependency>
83 <dependency>
84 <groupId>antlr</groupId>
85 <artifactId>antlr</artifactId>
86 </dependency>
ChrisC025301d2017-01-31 11:40:03 +010087 <dependency>
88 <groupId>javax.activation</groupId>
89 <artifactId>activation</artifactId>
90 <version>1.1.1</version>
ChrisC025301d2017-01-31 11:40:03 +010091 </dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040092 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040093 <groupId>javax.transaction</groupId>
94 <artifactId>jta</artifactId>
95 <version>1.1</version>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040096 </dependency>
ChrisC1ba1d192017-03-13 05:01:04 -070097 <dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040098 <groupId>org.json4s</groupId>
Siva.ye01df7152018-09-19 11:35:56 +080099 <artifactId>json4s-jackson_2.12</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400100 </dependency>
101 <dependency>
102 <groupId>org.json4s</groupId>
Siva.ye01df7152018-09-19 11:35:56 +0800103 <artifactId>json4s-core_2.12</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400104 </dependency>
105 <dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400106 <groupId>javax.servlet</groupId>
107 <artifactId>servlet-api</artifactId>
108 <version>2.5</version>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400109 </dependency>
110 <dependency>
111 <groupId>org.javassist</groupId>
112 <artifactId>javassist</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400113 </dependency>
114 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400115 <groupId>org.json</groupId>
116 <artifactId>json</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400117 </dependency>
Rob Daugherty38f72072018-03-14 02:07:32 -0400118
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400119 <!-- Dependencies on other MSO Projects -->
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400120 <dependency>
Arthur Martella22e015f2018-02-22 14:24:40 -0500121 <groupId>org.onap.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100122 <artifactId>mso-requests-db</artifactId>
123 <version>${project.version}</version>
124 </dependency>
125 <dependency>
Arthur Martella22e015f2018-02-22 14:24:40 -0500126 <groupId>org.onap.so</groupId>
Benjamin, Max (mb388a)dfdb5a12018-09-10 09:28:05 -0400127 <artifactId>mso-requests-db-repositories</artifactId>
128 <version>${project.version}</version>
129 </dependency>
130 <dependency>
131 <groupId>org.onap.so</groupId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400132 <artifactId>mso-catalog-db</artifactId>
133 <version>${project.version}</version>
134 </dependency>
135 <dependency>
136 <groupId>org.onap.so</groupId>
137 <artifactId>MSORESTClient</artifactId>
138 <version>${project.version}</version>
139 </dependency>
140
141 <!-- Test Dependencies -->
142 <dependency>
143 <groupId>pl.pragmatists</groupId>
144 <artifactId>JUnitParams</artifactId>
145 <version>1.0.5</version>
146 <scope>test</scope>
147 </dependency>
148 <dependency>
149 <groupId>junit</groupId>
150 <artifactId>junit</artifactId>
151 <scope>test</scope>
152 </dependency>
153 <dependency>
154 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
155 <artifactId>sdc-distribution-client</artifactId>
156 <version>1.3.0</version>
157 <exclusions>
158 <exclusion>
159 <groupId>org.slf4j</groupId>
160 <artifactId>slf4j-log4j12</artifactId>
161 </exclusion>
162 </exclusions>
163 </dependency>
164 <dependency>
165 <groupId>org.onap.so</groupId>
166 <artifactId>MSORESTClient</artifactId>
167 <version>${project.version}</version>
168 </dependency>
169 <dependency>
170 <groupId>com.github.java-json-tools</groupId>
171 <artifactId>json-schema-core</artifactId>
172 <version>1.2.8</version>
173 </dependency>
174 <dependency>
175 <groupId>com.github.java-json-tools</groupId>
176 <artifactId>json-schema-validator</artifactId>
177 <version>2.2.8</version>
178 </dependency>
179 <dependency>
180 <groupId>janino</groupId>
181 <artifactId>janino</artifactId>
182 <version>2.5.15</version>
183 </dependency>
184 <dependency>
185 <groupId>org.springframework.boot</groupId>
186 <artifactId>spring-boot-starter-test</artifactId>
187 <scope>test</scope>
188 </dependency>
189 <dependency>
190 <groupId>com.h2database</groupId>
191 <artifactId>h2</artifactId>
192 </dependency>
193 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400194 <groupId>org.springframework.boot</groupId>
195 <artifactId>spring-boot-configuration-processor</artifactId>
196 <optional>true</optional>
197 </dependency>
198 <dependency>
199 <groupId>ch.vorburger.mariaDB4j</groupId>
200 <artifactId>mariaDB4j</artifactId>
201 <version>2.2.3</version>
202 <scope>test</scope>
203 </dependency>
204 <dependency>
205 <groupId>com.googlecode.junit-toolbox</groupId>
206 <artifactId>junit-toolbox</artifactId>
207 <version>2.4</version>
208 </dependency>
209 <dependency>
210 <groupId>org.onap.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100211 <artifactId>mso-api-handler-common</artifactId>
212 <version>${project.version}</version>
213 </dependency>
214 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400215 <groupId>org.springframework.cloud</groupId>
216 <artifactId>spring-cloud-contract-wiremock</artifactId>
217 <version>1.2.4.RELEASE</version>
Abhishek Shekharb454a282018-03-28 19:46:15 +0530218 <scope>test</scope>
219 </dependency>
220 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400221 <groupId>io.micrometer</groupId>
222 <artifactId>micrometer-spring-legacy</artifactId>
223 <version>1.0.5</version>
Rob Daugherty38f72072018-03-14 02:07:32 -0400224 </dependency>
225 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400226 <groupId>io.micrometer</groupId>
227 <artifactId>micrometer-registry-prometheus</artifactId>
228 <version>1.0.5</version>
Rob Daugherty38f72072018-03-14 02:07:32 -0400229 </dependency>
ChrisC025301d2017-01-31 11:40:03 +0100230 </dependencies>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400231
ChrisC025301d2017-01-31 11:40:03 +0100232 <build>
233 <finalName>${project.artifactId}-${project.version}</finalName>
234 <plugins>
ChrisC025301d2017-01-31 11:40:03 +0100235 <plugin>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400236 <groupId>org.apache.maven.plugins</groupId>
237 <artifactId>maven-surefire-plugin</artifactId>
238 <executions>
239 <execution>
240 <id>default-test</id>
241 <goals>
242 <goal>test</goal>
243 </goals>
244 <configuration>
245 <includes>
246 <include>**/AllTestsTestSuite.java</include>
247 </includes>
248 </configuration>
249 </execution>
250 </executions>
251 </plugin>
252 <plugin>
253 <groupId>org.springframework.boot</groupId>
254 <artifactId>spring-boot-maven-plugin</artifactId>
ChrisC025301d2017-01-31 11:40:03 +0100255 <configuration>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400256 <mainClass>org.onap.so.apihandlerinfra.ApiHandlerApplication</mainClass>
ChrisC025301d2017-01-31 11:40:03 +0100257 </configuration>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400258 <executions>
259 <execution>
260 <goals>
261 <goal>repackage</goal>
262 </goals>
263 </execution>
264 </executions>
265 </plugin>
266 <plugin>
267 <groupId>org.apache.maven.plugins</groupId>
268 <artifactId>maven-dependency-plugin</artifactId>
269 <executions>
270 <execution>
271 <id>extract-docker-file</id>
272 </execution>
273 </executions>
274 </plugin>
275 <plugin>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-jar-plugin</artifactId>
278 <executions>
279 <execution>
280 <id>original</id>
281 </execution>
282 </executions>
283 </plugin>
284 <plugin>
285 <groupId>io.fabric8</groupId>
286 <artifactId>fabric8-maven-plugin</artifactId>
287 <executions>
288 <execution>
289 <id>start</id>
290 </execution>
291 </executions>
ChrisC025301d2017-01-31 11:40:03 +0100292 </plugin>
293 </plugins>
294 </build>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400295 <packaging>jar</packaging>
Rob Daughertydb566f42018-09-11 22:29:08 -0400296</project>