blob: 1359a7f9dbd3932acdde3e4a70121af191bbb7e5 [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>
Benjamin, Max (mb388a)5442c272019-02-14 19:52:29 -050017 <camunda.version>7.10.0</camunda.version>
Benjamin, Max (mb388a)7183dfb2019-01-22 12:55:57 -050018 <camunda.bpm.assert.version>1.2</camunda.bpm.assert.version>
ChrisC025301d2017-01-31 11:40:03 +010019 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Rob Daugherty38f72072018-03-14 02:07:32 -040021 <swagger-version>1.3.0</swagger-version>
22 <jax-rs-version>1.1.1</jax-rs-version>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -040023 <json4s-jackson-version>3.6.0</json4s-jackson-version>
24 <json4s-core-version>3.6.0</json4s-core-version>
Rob Daugherty38f72072018-03-14 02:07:32 -040025 <reflections-version>0.9.9-RC1</reflections-version>
Rob Daugherty38f72072018-03-14 02:07:32 -040026 <paranamer-version>2.5.2</paranamer-version>
27 <scannotation-version>1.0.3</scannotation-version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040028 <java.version>1.8</java.version>
ChrisC025301d2017-01-31 11:40:03 +010029 </properties>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040030 <dependencyManagement>
31 <dependencies>
32 <dependency>
33 <!-- Import dependency management from Spring Boot -->
34 <groupId>org.springframework.boot</groupId>
35 <artifactId>spring-boot-dependencies</artifactId>
36 <version>${springboot.version}</version>
37 <type>pom</type>
38 <scope>import</scope>
39 </dependency>
Benjamin, Max (mb388a)7183dfb2019-01-22 12:55:57 -050040 <dependency>
41 <!-- Import dependency management from camunda -->
42 <groupId>org.camunda.bpm</groupId>
43 <artifactId>camunda-bom</artifactId>
44 <version>${camunda.version}</version>
45 <scope>import</scope>
46 <type>pom</type>
47 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040048 </dependencies>
49 </dependencyManagement>
ChrisC025301d2017-01-31 11:40:03 +010050 <dependencies>
51 <dependency>
Benjamin, Max (mb388a)7183dfb2019-01-22 12:55:57 -050052 <groupId>org.camunda.bpm</groupId>
53 <artifactId>camunda-engine</artifactId>
Benjamin, Max (mb388a)5442c272019-02-14 19:52:29 -050054 </dependency>
Benjamin, Max (mb388a)7183dfb2019-01-22 12:55:57 -050055 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040056 <groupId>org.springframework.boot</groupId>
57 <artifactId>spring-boot-starter-web</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040058 </dependency>
59 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040060 <groupId>io.swagger</groupId>
61 <artifactId>swagger-jersey2-jaxrs</artifactId>
62 <version>1.5.16</version>
ChrisC025301d2017-01-31 11:40:03 +010063 </dependency>
64 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040065 <groupId>com.h2database</groupId>
66 <artifactId>h2</artifactId>
ChrisC1ba1d192017-03-13 05:01:04 -070067 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040068 <dependency>
69 <groupId>org.mariadb.jdbc</groupId>
70 <artifactId>mariadb-java-client</artifactId>
71 </dependency>
72 <dependency>
73 <groupId>org.springframework.boot</groupId>
74 <artifactId>spring-boot-starter-actuator</artifactId>
75 </dependency>
76 <dependency>
77 <groupId>org.springframework.boot</groupId>
78 <artifactId>spring-boot-starter-jersey</artifactId>
79 </dependency>
80 <dependency>
81 <groupId>org.springframework.boot</groupId>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -050082 <artifactId>spring-boot-starter-data-jpa</artifactId>
Kalkere Ramesh, Sharan (sk720x)df63fb22019-02-21 18:34:56 -050083 <exclusions>
84 <exclusion>
85 <groupId>org.apache.tomcat</groupId>
86 <artifactId>tomcat-jdbc</artifactId>
87 </exclusion>
88 </exclusions>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -050089 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040090 <dependency>
91 <groupId>commons-lang</groupId>
92 <artifactId>commons-lang</artifactId>
93 <version>2.6</version>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -050094 </dependency>
ChrisC025301d2017-01-31 11:40:03 +010095 <dependency>
96 <groupId>javax.activation</groupId>
97 <artifactId>activation</artifactId>
98 <version>1.1.1</version>
ChrisC025301d2017-01-31 11:40:03 +010099 </dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400100 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400101 <groupId>javax.transaction</groupId>
102 <artifactId>jta</artifactId>
103 <version>1.1</version>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400104 </dependency>
ChrisC1ba1d192017-03-13 05:01:04 -0700105 <dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400106 <groupId>org.json4s</groupId>
Siva.ye01df7152018-09-19 11:35:56 +0800107 <artifactId>json4s-jackson_2.12</artifactId>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -0400108 <version>${json4s-jackson-version}</version>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400109 </dependency>
110 <dependency>
111 <groupId>org.json4s</groupId>
Siva.ye01df7152018-09-19 11:35:56 +0800112 <artifactId>json4s-core_2.12</artifactId>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -0400113 <version>${json4s-core-version}</version>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400114 </dependency>
115 <dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400116 <groupId>javax.servlet</groupId>
Smokowski, Steve (ss835w)a178ba32018-11-15 16:01:33 -0500117 <artifactId>javax.servlet-api</artifactId>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500118 </dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400119 <dependency>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -0400120 <groupId>javax.interceptor</groupId>
121 <artifactId>javax.interceptor-api</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400122 </dependency>
Rob Daugherty38f72072018-03-14 02:07:32 -0400123
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400124 <!-- Dependencies on other MSO Projects -->
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400125 <dependency>
Arthur Martella22e015f2018-02-22 14:24:40 -0500126 <groupId>org.onap.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100127 <artifactId>mso-requests-db</artifactId>
128 <version>${project.version}</version>
129 </dependency>
130 <dependency>
Arthur Martella22e015f2018-02-22 14:24:40 -0500131 <groupId>org.onap.so</groupId>
Benjamin, Max (mb388a)dfdb5a12018-09-10 09:28:05 -0400132 <artifactId>mso-requests-db-repositories</artifactId>
133 <version>${project.version}</version>
134 </dependency>
135 <dependency>
136 <groupId>org.onap.so</groupId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400137 <artifactId>mso-catalog-db</artifactId>
138 <version>${project.version}</version>
139 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400140
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>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400165 <groupId>com.github.java-json-tools</groupId>
166 <artifactId>json-schema-core</artifactId>
167 <version>1.2.8</version>
168 </dependency>
169 <dependency>
170 <groupId>com.github.java-json-tools</groupId>
171 <artifactId>json-schema-validator</artifactId>
172 <version>2.2.8</version>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500173 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400174 <dependency>
175 <groupId>org.springframework.boot</groupId>
176 <artifactId>spring-boot-starter-test</artifactId>
177 <scope>test</scope>
178 </dependency>
179 <dependency>
180 <groupId>com.h2database</groupId>
181 <artifactId>h2</artifactId>
182 </dependency>
183 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400184 <groupId>org.springframework.boot</groupId>
185 <artifactId>spring-boot-configuration-processor</artifactId>
186 <optional>true</optional>
187 </dependency>
188 <dependency>
189 <groupId>ch.vorburger.mariaDB4j</groupId>
190 <artifactId>mariaDB4j</artifactId>
191 <version>2.2.3</version>
192 <scope>test</scope>
193 </dependency>
194 <dependency>
195 <groupId>com.googlecode.junit-toolbox</groupId>
196 <artifactId>junit-toolbox</artifactId>
197 <version>2.4</version>
198 </dependency>
199 <dependency>
200 <groupId>org.onap.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100201 <artifactId>mso-api-handler-common</artifactId>
202 <version>${project.version}</version>
203 </dependency>
204 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400205 <groupId>org.springframework.cloud</groupId>
206 <artifactId>spring-cloud-contract-wiremock</artifactId>
207 <version>1.2.4.RELEASE</version>
Abhishek Shekharb454a282018-03-28 19:46:15 +0530208 <scope>test</scope>
209 </dependency>
210 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400211 <groupId>io.micrometer</groupId>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -0400212 <artifactId>micrometer-core</artifactId>
Rob Daugherty38f72072018-03-14 02:07:32 -0400213 </dependency>
214 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400215 <groupId>io.micrometer</groupId>
216 <artifactId>micrometer-registry-prometheus</artifactId>
Rob Daugherty38f72072018-03-14 02:07:32 -0400217 </dependency>
ChrisC025301d2017-01-31 11:40:03 +0100218 </dependencies>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400219
ChrisC025301d2017-01-31 11:40:03 +0100220 <build>
221 <finalName>${project.artifactId}-${project.version}</finalName>
222 <plugins>
ChrisC025301d2017-01-31 11:40:03 +0100223 <plugin>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400224 <groupId>org.apache.maven.plugins</groupId>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500225 <artifactId>maven-surefire-plugin</artifactId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400226 <executions>
227 <execution>
228 <id>default-test</id>
229 <goals>
230 <goal>test</goal>
231 </goals>
232 <configuration>
233 <includes>
234 <include>**/AllTestsTestSuite.java</include>
235 </includes>
Benjamin, Max (mb388a)aaa93d42019-03-20 14:12:06 -0400236 <parallel>suites</parallel>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400237 </configuration>
238 </execution>
239 </executions>
240 </plugin>
241 <plugin>
242 <groupId>org.springframework.boot</groupId>
243 <artifactId>spring-boot-maven-plugin</artifactId>
ChrisC025301d2017-01-31 11:40:03 +0100244 <configuration>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400245 <mainClass>org.onap.so.apihandlerinfra.ApiHandlerApplication</mainClass>
ChrisC025301d2017-01-31 11:40:03 +0100246 </configuration>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400247 <executions>
248 <execution>
249 <goals>
250 <goal>repackage</goal>
251 </goals>
252 </execution>
253 </executions>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500254 </plugin>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400255 <plugin>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-dependency-plugin</artifactId>
258 <executions>
259 <execution>
260 <id>extract-docker-file</id>
261 </execution>
262 </executions>
263 </plugin>
264 <plugin>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-jar-plugin</artifactId>
267 <executions>
268 <execution>
269 <id>original</id>
270 </execution>
271 </executions>
272 </plugin>
273 <plugin>
274 <groupId>io.fabric8</groupId>
275 <artifactId>fabric8-maven-plugin</artifactId>
276 <executions>
277 <execution>
278 <id>start</id>
279 </execution>
280 </executions>
ChrisC025301d2017-01-31 11:40:03 +0100281 </plugin>
282 </plugins>
283 </build>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400284 <packaging>jar</packaging>
Rob Daughertydb566f42018-09-11 22:29:08 -0400285</project>