blob: f2120811f520a64c60a53fd19c971b65c3d053ee [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>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -040021 <json4s-jackson-version>3.6.0</json4s-jackson-version>
22 <json4s-core-version>3.6.0</json4s-core-version>
Rob Daugherty38f72072018-03-14 02:07:32 -040023 <reflections-version>0.9.9-RC1</reflections-version>
Rob Daugherty38f72072018-03-14 02:07:32 -040024 <paranamer-version>2.5.2</paranamer-version>
25 <scannotation-version>1.0.3</scannotation-version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040026 <java.version>1.8</java.version>
ChrisC025301d2017-01-31 11:40:03 +010027 </properties>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040028 <dependencyManagement>
29 <dependencies>
30 <dependency>
31 <!-- Import dependency management from Spring Boot -->
32 <groupId>org.springframework.boot</groupId>
33 <artifactId>spring-boot-dependencies</artifactId>
34 <version>${springboot.version}</version>
35 <type>pom</type>
36 <scope>import</scope>
37 </dependency>
38 </dependencies>
39 </dependencyManagement>
ChrisC025301d2017-01-31 11:40:03 +010040 <dependencies>
41 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040042 <groupId>org.springframework.boot</groupId>
43 <artifactId>spring-boot-starter-web</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040044 </dependency>
45 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040046 <groupId>io.swagger</groupId>
47 <artifactId>swagger-jersey2-jaxrs</artifactId>
48 <version>1.5.16</version>
ChrisC025301d2017-01-31 11:40:03 +010049 </dependency>
50 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040051 <groupId>com.h2database</groupId>
52 <artifactId>h2</artifactId>
ChrisC1ba1d192017-03-13 05:01:04 -070053 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040054 <dependency>
55 <groupId>org.mariadb.jdbc</groupId>
56 <artifactId>mariadb-java-client</artifactId>
57 </dependency>
58 <dependency>
59 <groupId>org.springframework.boot</groupId>
60 <artifactId>spring-boot-starter-actuator</artifactId>
61 </dependency>
62 <dependency>
63 <groupId>org.springframework.boot</groupId>
64 <artifactId>spring-boot-starter-jersey</artifactId>
65 </dependency>
66 <dependency>
67 <groupId>org.springframework.boot</groupId>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -050068 <artifactId>spring-boot-starter-data-jpa</artifactId>
69 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040070 <dependency>
71 <groupId>commons-lang</groupId>
72 <artifactId>commons-lang</artifactId>
73 <version>2.6</version>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -050074 </dependency>
ChrisC025301d2017-01-31 11:40:03 +010075 <dependency>
76 <groupId>javax.activation</groupId>
77 <artifactId>activation</artifactId>
78 <version>1.1.1</version>
ChrisC025301d2017-01-31 11:40:03 +010079 </dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040080 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040081 <groupId>javax.transaction</groupId>
82 <artifactId>jta</artifactId>
83 <version>1.1</version>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040084 </dependency>
ChrisC1ba1d192017-03-13 05:01:04 -070085 <dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040086 <groupId>org.json4s</groupId>
Siva.ye01df7152018-09-19 11:35:56 +080087 <artifactId>json4s-jackson_2.12</artifactId>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -040088 <version>${json4s-jackson-version}</version>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040089 </dependency>
90 <dependency>
91 <groupId>org.json4s</groupId>
Siva.ye01df7152018-09-19 11:35:56 +080092 <artifactId>json4s-core_2.12</artifactId>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -040093 <version>${json4s-core-version}</version>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040094 </dependency>
95 <dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -040096 <groupId>javax.servlet</groupId>
97 <artifactId>servlet-api</artifactId>
98 <version>2.5</version>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -050099 </dependency>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400100 <dependency>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -0400101 <groupId>javax.interceptor</groupId>
102 <artifactId>javax.interceptor-api</artifactId>
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400103 </dependency>
Rob Daugherty38f72072018-03-14 02:07:32 -0400104
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400105 <!-- Dependencies on other MSO Projects -->
Arthur Martella62cd6aa2017-09-08 13:27:46 -0400106 <dependency>
Arthur Martella22e015f2018-02-22 14:24:40 -0500107 <groupId>org.onap.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100108 <artifactId>mso-requests-db</artifactId>
109 <version>${project.version}</version>
110 </dependency>
111 <dependency>
Arthur Martella22e015f2018-02-22 14:24:40 -0500112 <groupId>org.onap.so</groupId>
Benjamin, Max (mb388a)dfdb5a12018-09-10 09:28:05 -0400113 <artifactId>mso-requests-db-repositories</artifactId>
114 <version>${project.version}</version>
115 </dependency>
116 <dependency>
117 <groupId>org.onap.so</groupId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400118 <artifactId>mso-catalog-db</artifactId>
119 <version>${project.version}</version>
120 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400121
122 <!-- Test Dependencies -->
123 <dependency>
124 <groupId>pl.pragmatists</groupId>
125 <artifactId>JUnitParams</artifactId>
126 <version>1.0.5</version>
127 <scope>test</scope>
128 </dependency>
129 <dependency>
130 <groupId>junit</groupId>
131 <artifactId>junit</artifactId>
132 <scope>test</scope>
133 </dependency>
134 <dependency>
135 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
136 <artifactId>sdc-distribution-client</artifactId>
137 <version>1.3.0</version>
138 <exclusions>
139 <exclusion>
140 <groupId>org.slf4j</groupId>
141 <artifactId>slf4j-log4j12</artifactId>
142 </exclusion>
143 </exclusions>
144 </dependency>
145 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400146 <groupId>com.github.java-json-tools</groupId>
147 <artifactId>json-schema-core</artifactId>
148 <version>1.2.8</version>
149 </dependency>
150 <dependency>
151 <groupId>com.github.java-json-tools</groupId>
152 <artifactId>json-schema-validator</artifactId>
153 <version>2.2.8</version>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500154 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400155 <dependency>
156 <groupId>org.springframework.boot</groupId>
157 <artifactId>spring-boot-starter-test</artifactId>
158 <scope>test</scope>
159 </dependency>
160 <dependency>
161 <groupId>com.h2database</groupId>
162 <artifactId>h2</artifactId>
163 </dependency>
164 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400165 <groupId>org.springframework.boot</groupId>
166 <artifactId>spring-boot-configuration-processor</artifactId>
167 <optional>true</optional>
168 </dependency>
169 <dependency>
170 <groupId>ch.vorburger.mariaDB4j</groupId>
171 <artifactId>mariaDB4j</artifactId>
172 <version>2.2.3</version>
173 <scope>test</scope>
174 </dependency>
175 <dependency>
176 <groupId>com.googlecode.junit-toolbox</groupId>
177 <artifactId>junit-toolbox</artifactId>
178 <version>2.4</version>
179 </dependency>
180 <dependency>
181 <groupId>org.onap.so</groupId>
ChrisC025301d2017-01-31 11:40:03 +0100182 <artifactId>mso-api-handler-common</artifactId>
183 <version>${project.version}</version>
184 </dependency>
185 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400186 <groupId>org.springframework.cloud</groupId>
187 <artifactId>spring-cloud-contract-wiremock</artifactId>
188 <version>1.2.4.RELEASE</version>
Abhishek Shekharb454a282018-03-28 19:46:15 +0530189 <scope>test</scope>
190 </dependency>
191 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400192 <groupId>io.micrometer</groupId>
Benjamin, Max (mb388a)6fa3d2b2018-09-29 10:41:54 -0400193 <artifactId>micrometer-core</artifactId>
Rob Daugherty38f72072018-03-14 02:07:32 -0400194 </dependency>
195 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400196 <groupId>io.micrometer</groupId>
197 <artifactId>micrometer-registry-prometheus</artifactId>
Rob Daugherty38f72072018-03-14 02:07:32 -0400198 </dependency>
ChrisC025301d2017-01-31 11:40:03 +0100199 </dependencies>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400200
ChrisC025301d2017-01-31 11:40:03 +0100201 <build>
202 <finalName>${project.artifactId}-${project.version}</finalName>
203 <plugins>
ChrisC025301d2017-01-31 11:40:03 +0100204 <plugin>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400205 <groupId>org.apache.maven.plugins</groupId>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500206 <artifactId>maven-surefire-plugin</artifactId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400207 <executions>
208 <execution>
209 <id>default-test</id>
210 <goals>
211 <goal>test</goal>
212 </goals>
213 <configuration>
214 <includes>
215 <include>**/AllTestsTestSuite.java</include>
216 </includes>
217 </configuration>
218 </execution>
219 </executions>
220 </plugin>
221 <plugin>
222 <groupId>org.springframework.boot</groupId>
223 <artifactId>spring-boot-maven-plugin</artifactId>
ChrisC025301d2017-01-31 11:40:03 +0100224 <configuration>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400225 <mainClass>org.onap.so.apihandlerinfra.ApiHandlerApplication</mainClass>
ChrisC025301d2017-01-31 11:40:03 +0100226 </configuration>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400227 <executions>
228 <execution>
229 <goals>
230 <goal>repackage</goal>
231 </goals>
232 </execution>
233 </executions>
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500234 </plugin>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400235 <plugin>
236 <groupId>org.apache.maven.plugins</groupId>
237 <artifactId>maven-dependency-plugin</artifactId>
238 <executions>
239 <execution>
240 <id>extract-docker-file</id>
241 </execution>
242 </executions>
243 </plugin>
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-jar-plugin</artifactId>
247 <executions>
248 <execution>
249 <id>original</id>
250 </execution>
251 </executions>
252 </plugin>
253 <plugin>
254 <groupId>io.fabric8</groupId>
255 <artifactId>fabric8-maven-plugin</artifactId>
256 <executions>
257 <execution>
258 <id>start</id>
259 </execution>
260 </executions>
ChrisC025301d2017-01-31 11:40:03 +0100261 </plugin>
262 </plugins>
263 </build>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400264 <packaging>jar</packaging>
Rob Daughertydb566f42018-09-11 22:29:08 -0400265</project>