blob: f3163840ec7de13cf3d2eda5098d370f58111655 [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>
83 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040084 <dependency>
85 <groupId>commons-lang</groupId>
86 <artifactId>commons-lang</artifactId>
87 <version>2.6</version>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -050088 </dependency>
ChrisC025301d2017-01-31 11:40:03 +010089 <dependency>
90 <groupId>javax.activation</groupId>
91 <artifactId>activation</artifactId>
92 <version>1.1.1</version>
ChrisC025301d2017-01-31 11:40:03 +010093 </dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040094 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040095 <groupId>javax.transaction</groupId>
96 <artifactId>jta</artifactId>
97 <version>1.1</version>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040098 </dependency>
ChrisC1ba1d192017-03-13 05:01:04 -070099 <dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400100 <groupId>org.json4s</groupId>
Siva.ye01df7152018-09-19 11:35:56 +0800101 <artifactId>json4s-jackson_2.12</artifactId>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -0400102 <version>${json4s-jackson-version}</version>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400103 </dependency>
104 <dependency>
105 <groupId>org.json4s</groupId>
Siva.ye01df7152018-09-19 11:35:56 +0800106 <artifactId>json4s-core_2.12</artifactId>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -0400107 <version>${json4s-core-version}</version>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400108 </dependency>
109 <dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400110 <groupId>javax.servlet</groupId>
Smokowski, Steve (ss835w)a178ba32018-11-15 16:01:33 -0500111 <artifactId>javax.servlet-api</artifactId>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500112 </dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400113 <dependency>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -0400114 <groupId>javax.interceptor</groupId>
115 <artifactId>javax.interceptor-api</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400116 </dependency>
Rob Daugherty38f72072018-03-14 02:07:32 -0400117
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400118 <!-- Dependencies on other MSO Projects -->
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400119 <dependency>
Arthur Martella22e015f2018-02-22 14:24:40 -0500120 <groupId>org.onap.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100121 <artifactId>mso-requests-db</artifactId>
122 <version>${project.version}</version>
123 </dependency>
124 <dependency>
Arthur Martella22e015f2018-02-22 14:24:40 -0500125 <groupId>org.onap.so</groupId>
Benjamin, Max (mb388a)dfdb5a12018-09-10 09:28:05 -0400126 <artifactId>mso-requests-db-repositories</artifactId>
127 <version>${project.version}</version>
128 </dependency>
129 <dependency>
130 <groupId>org.onap.so</groupId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400131 <artifactId>mso-catalog-db</artifactId>
132 <version>${project.version}</version>
133 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400134
135 <!-- Test Dependencies -->
136 <dependency>
137 <groupId>pl.pragmatists</groupId>
138 <artifactId>JUnitParams</artifactId>
139 <version>1.0.5</version>
140 <scope>test</scope>
141 </dependency>
142 <dependency>
143 <groupId>junit</groupId>
144 <artifactId>junit</artifactId>
145 <scope>test</scope>
146 </dependency>
147 <dependency>
148 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
149 <artifactId>sdc-distribution-client</artifactId>
150 <version>1.3.0</version>
151 <exclusions>
152 <exclusion>
153 <groupId>org.slf4j</groupId>
154 <artifactId>slf4j-log4j12</artifactId>
155 </exclusion>
156 </exclusions>
157 </dependency>
158 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400159 <groupId>com.github.java-json-tools</groupId>
160 <artifactId>json-schema-core</artifactId>
161 <version>1.2.8</version>
162 </dependency>
163 <dependency>
164 <groupId>com.github.java-json-tools</groupId>
165 <artifactId>json-schema-validator</artifactId>
166 <version>2.2.8</version>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500167 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400168 <dependency>
169 <groupId>org.springframework.boot</groupId>
170 <artifactId>spring-boot-starter-test</artifactId>
171 <scope>test</scope>
172 </dependency>
173 <dependency>
174 <groupId>com.h2database</groupId>
175 <artifactId>h2</artifactId>
176 </dependency>
177 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400178 <groupId>org.springframework.boot</groupId>
179 <artifactId>spring-boot-configuration-processor</artifactId>
180 <optional>true</optional>
181 </dependency>
182 <dependency>
183 <groupId>ch.vorburger.mariaDB4j</groupId>
184 <artifactId>mariaDB4j</artifactId>
185 <version>2.2.3</version>
186 <scope>test</scope>
187 </dependency>
188 <dependency>
189 <groupId>com.googlecode.junit-toolbox</groupId>
190 <artifactId>junit-toolbox</artifactId>
191 <version>2.4</version>
192 </dependency>
193 <dependency>
194 <groupId>org.onap.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100195 <artifactId>mso-api-handler-common</artifactId>
196 <version>${project.version}</version>
197 </dependency>
198 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400199 <groupId>org.springframework.cloud</groupId>
200 <artifactId>spring-cloud-contract-wiremock</artifactId>
201 <version>1.2.4.RELEASE</version>
Abhishek Shekharb454a282018-03-28 19:46:15 +0530202 <scope>test</scope>
203 </dependency>
204 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400205 <groupId>io.micrometer</groupId>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -0400206 <artifactId>micrometer-core</artifactId>
Rob Daugherty38f72072018-03-14 02:07:32 -0400207 </dependency>
208 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400209 <groupId>io.micrometer</groupId>
210 <artifactId>micrometer-registry-prometheus</artifactId>
Rob Daugherty38f72072018-03-14 02:07:32 -0400211 </dependency>
ChrisC025301d2017-01-31 11:40:03 +0100212 </dependencies>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400213
ChrisC025301d2017-01-31 11:40:03 +0100214 <build>
215 <finalName>${project.artifactId}-${project.version}</finalName>
216 <plugins>
ChrisC025301d2017-01-31 11:40:03 +0100217 <plugin>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400218 <groupId>org.apache.maven.plugins</groupId>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500219 <artifactId>maven-surefire-plugin</artifactId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400220 <executions>
221 <execution>
222 <id>default-test</id>
223 <goals>
224 <goal>test</goal>
225 </goals>
226 <configuration>
227 <includes>
228 <include>**/AllTestsTestSuite.java</include>
229 </includes>
230 </configuration>
231 </execution>
232 </executions>
233 </plugin>
234 <plugin>
235 <groupId>org.springframework.boot</groupId>
236 <artifactId>spring-boot-maven-plugin</artifactId>
ChrisC025301d2017-01-31 11:40:03 +0100237 <configuration>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400238 <mainClass>org.onap.so.apihandlerinfra.ApiHandlerApplication</mainClass>
ChrisC025301d2017-01-31 11:40:03 +0100239 </configuration>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400240 <executions>
241 <execution>
242 <goals>
243 <goal>repackage</goal>
244 </goals>
245 </execution>
246 </executions>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500247 </plugin>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400248 <plugin>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-dependency-plugin</artifactId>
251 <executions>
252 <execution>
253 <id>extract-docker-file</id>
254 </execution>
255 </executions>
256 </plugin>
257 <plugin>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-jar-plugin</artifactId>
260 <executions>
261 <execution>
262 <id>original</id>
263 </execution>
264 </executions>
265 </plugin>
266 <plugin>
267 <groupId>io.fabric8</groupId>
268 <artifactId>fabric8-maven-plugin</artifactId>
269 <executions>
270 <execution>
271 <id>start</id>
272 </execution>
273 </executions>
ChrisC025301d2017-01-31 11:40:03 +0100274 </plugin>
275 </plugins>
276 </build>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400277 <packaging>jar</packaging>
Rob Daughertydb566f42018-09-11 22:29:08 -0400278</project>