blob: 29858163191576ae0e2edea3885ccbdda9c70cbd [file] [log] [blame]
vasraz6dc58fd2019-10-02 12:08:49 +01001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
vasrazec0ce122021-05-24 19:06:50 +01003 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
vasraz6dc58fd2019-10-02 12:08:49 +01005
6 <modelVersion>4.0.0</modelVersion>
7
8 <artifactId>sdc-workflow-designer-be</artifactId>
9
10 <parent>
11 <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
12 <artifactId>sdc-workflow-designer-parent</artifactId>
vasraz1e39e4c2022-04-08 11:06:06 +010013 <version>1.11.0-SNAPSHOT</version>
vasraz6dc58fd2019-10-02 12:08:49 +010014 </parent>
15
16 <properties>
vasraz18fbc542022-04-04 23:27:19 +010017 <spring.boot.version>2.1.18.RELEASE</spring.boot.version>
18 <org.springframework.version>5.1.19.RELEASE</org.springframework.version>
vasraz6dc58fd2019-10-02 12:08:49 +010019 <mapstruct.version>1.3.1.Final</mapstruct.version>
20 <lombok.version>1.18.0</lombok.version>
ChrisCa6dcb042021-05-07 12:38:57 +020021 <springfox.version>3.0.0</springfox.version>
xuegaoc51038a2020-09-18 10:22:19 +020022 <jaxb.api.version>2.3.0</jaxb.api.version>
vasrazc9b38b62022-03-02 21:43:10 +000023 <org.glassfish.version>4.0.2</org.glassfish.version>
24 <mockito.version>3.7.7</mockito.version>
vasraz18fbc542022-04-04 23:27:19 +010025 <springframework.plugin.version>2.0.0.RELEASE</springframework.plugin.version>
vasraz6dc58fd2019-10-02 12:08:49 +010026 </properties>
27
28 <dependencyManagement>
29 <dependencies>
30 <dependency>
vasrazc9b38b62022-03-02 21:43:10 +000031 <groupId>org.mockito</groupId>
32 <artifactId>mockito-core</artifactId>
33 <version>${mockito.version}</version>
34 <scope>test</scope>
35 </dependency>
36 <dependency>
vasraz6dc58fd2019-10-02 12:08:49 +010037 <groupId>org.springframework.boot</groupId>
38 <artifactId>spring-boot-dependencies</artifactId>
39 <version>${spring.boot.version}</version>
40 <type>pom</type>
41 <scope>import</scope>
42 </dependency>
43 </dependencies>
44 </dependencyManagement>
45
46 <dependencies>
47 <dependency>
vasrazec0ce122021-05-24 19:06:50 +010048 <groupId>org.glassfish</groupId>
49 <artifactId>jakarta.el</artifactId>
50 <version>${org.glassfish.version}</version>
51 </dependency>
52 <dependency>
53 <groupId>org.springframework</groupId>
54 <artifactId>spring-web</artifactId>
55 <version>${org.springframework.version}</version>
56 </dependency>
57 <dependency>
vasraz6dc58fd2019-10-02 12:08:49 +010058 <groupId>org.springframework.boot</groupId>
59 <artifactId>spring-boot-starter-web</artifactId>
60 <exclusions>
61 <exclusion>
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-tomcat</artifactId>
64 </exclusion>
vasrazec0ce122021-05-24 19:06:50 +010065 <exclusion>
66 <groupId>org.springframework</groupId>
67 <artifactId>spring-web</artifactId>
68 </exclusion>
vasraz6dc58fd2019-10-02 12:08:49 +010069 </exclusions>
70 </dependency>
71 <dependency>
72 <groupId>org.springframework.boot</groupId>
73 <artifactId>spring-boot-starter-jetty</artifactId>
vasrazec0ce122021-05-24 19:06:50 +010074 <exclusions>
75 <exclusion>
76 <groupId>org.glassfish</groupId>
77 <artifactId>jakarta.el</artifactId>
78 </exclusion>
79 </exclusions>
vasraz6dc58fd2019-10-02 12:08:49 +010080 </dependency>
81 <dependency>
82 <groupId>org.springframework.boot</groupId>
ChrisCa6dcb042021-05-07 12:38:57 +020083 <artifactId>spring-boot-starter-validation</artifactId>
vasrazec0ce122021-05-24 19:06:50 +010084 <exclusions>
85 <exclusion>
86 <groupId>org.glassfish</groupId>
87 <artifactId>jakarta.el</artifactId>
88 </exclusion>
89 </exclusions>
ChrisCa6dcb042021-05-07 12:38:57 +020090 </dependency>
91 <dependency>
92 <groupId>org.springframework.boot</groupId>
vasraz6dc58fd2019-10-02 12:08:49 +010093 <artifactId>spring-boot-starter-data-cassandra</artifactId>
ChrisCa6dcb042021-05-07 12:38:57 +020094 <exclusions>
95 <exclusion>
96 <artifactId>HdrHistogram</artifactId>
97 <groupId>org.hdrhistogram</groupId>
98 </exclusion>
99 <exclusion>
100 <artifactId>asm</artifactId>
101 <groupId>org.ow2.asm</groupId>
102 </exclusion>
103 <exclusion>
104 <artifactId>asm-analysis</artifactId>
105 <groupId>org.ow2.asm</groupId>
106 </exclusion>
107 <exclusion>
108 <artifactId>asm-commons</artifactId>
109 <groupId>org.ow2.asm</groupId>
110 </exclusion>
111 <exclusion>
112 <artifactId>asm-tree</artifactId>
113 <groupId>org.ow2.asm</groupId>
114 </exclusion>
vasrazec0ce122021-05-24 19:06:50 +0100115 <exclusion>
116 <groupId>com.github.jnr</groupId>
117 <artifactId>jnr-posix</artifactId>
118 </exclusion>
vasraz57cd61b2021-07-21 14:13:56 +0100119 <exclusion>
120 <groupId>io.netty</groupId>
121 <artifactId>netty-handler</artifactId>
122 </exclusion>
ChrisCa6dcb042021-05-07 12:38:57 +0200123 </exclusions>
vasraz6dc58fd2019-10-02 12:08:49 +0100124 </dependency>
125 <dependency>
vasraz18fbc542022-04-04 23:27:19 +0100126 <groupId>io.netty</groupId>
127 <artifactId>netty-handler</artifactId>
128 <version>4.1.75.Final</version>
129 </dependency>
130 <dependency>
vasraz6dc58fd2019-10-02 12:08:49 +0100131 <groupId>org.springframework.boot</groupId>
132 <artifactId>spring-boot-devtools</artifactId>
133 <scope>runtime</scope>
134 </dependency>
135 <dependency>
136 <groupId>org.springframework.boot</groupId>
137 <artifactId>spring-boot-starter-test</artifactId>
138 <scope>test</scope>
ChrisCa6dcb042021-05-07 12:38:57 +0200139 <exclusions>
140 <exclusion>
141 <artifactId>asm</artifactId>
142 <groupId>org.ow2.asm</groupId>
143 </exclusion>
144 </exclusions>
vasraz6dc58fd2019-10-02 12:08:49 +0100145 </dependency>
146 <dependency>
147 <groupId>io.springfox</groupId>
ChrisCa6dcb042021-05-07 12:38:57 +0200148 <artifactId>springfox-boot-starter</artifactId>
vasraz6dc58fd2019-10-02 12:08:49 +0100149 <version>${springfox.version}</version>
vasraz18fbc542022-04-04 23:27:19 +0100150 <exclusions>
151 <exclusion>
152 <groupId>org.springframework.plugin</groupId>
153 <artifactId>spring-plugin-core</artifactId>
154 </exclusion>
155 <exclusion>
156 <groupId>org.springframework.plugin</groupId>
157 <artifactId>spring-plugin-metadata</artifactId>
158 </exclusion>
159 </exclusions>
160 </dependency>
161 <dependency>
162 <groupId>org.springframework.plugin</groupId>
163 <artifactId>spring-plugin-core</artifactId>
164 <version>${springframework.plugin.version}</version>
165 </dependency>
166 <dependency>
167 <groupId>org.springframework.plugin</groupId>
168 <artifactId>spring-plugin-metadata</artifactId>
169 <version>${springframework.plugin.version}</version>
vasraz6dc58fd2019-10-02 12:08:49 +0100170 </dependency>
171 <dependency>
172 <groupId>org.openecomp.sdc</groupId>
173 <artifactId>openecomp-sdc-logging-api</artifactId>
174 <version>${onap.version}</version>
175 </dependency>
176 <dependency>
177 <groupId>org.openecomp.sdc</groupId>
178 <artifactId>openecomp-sdc-logging-spring</artifactId>
179 <version>${onap.version}</version>
180 </dependency>
181 <dependency>
182 <groupId>org.openecomp.sdc</groupId>
183 <artifactId>openecomp-sdc-logging-core</artifactId>
184 <version>${onap.version}</version>
185 <scope>runtime</scope>
186 </dependency>
187 <dependency>
188 <groupId>ch.qos.logback</groupId>
189 <artifactId>logback-classic</artifactId>
190 <scope>runtime</scope>
191 </dependency>
192 <dependency>
193 <groupId>org.apache.httpcomponents</groupId>
194 <artifactId>httpclient</artifactId>
ChrisCa6dcb042021-05-07 12:38:57 +0200195 <version>4.5.13</version>
196 <exclusions>
197 <exclusion>
198 <artifactId>commons-codec</artifactId>
199 <groupId>commons-codec</groupId>
200 </exclusion>
201 </exclusions>
vasraz6dc58fd2019-10-02 12:08:49 +0100202 </dependency>
203 <dependency>
204 <groupId>org.mapstruct</groupId>
205 <artifactId>mapstruct</artifactId>
206 <version>${mapstruct.version}</version>
207 </dependency>
208 <dependency>
209 <groupId>org.mapstruct</groupId>
210 <artifactId>mapstruct-processor</artifactId>
211 <version>${mapstruct.version}</version>
212 <scope>provided</scope>
213 </dependency>
214 <dependency>
215 <groupId>org.projectlombok</groupId>
216 <artifactId>lombok</artifactId>
217 <version>${lombok.version}</version>
218 <scope>provided</scope>
219 </dependency>
220 <dependency>
221 <groupId>org.springframework.boot</groupId>
222 <artifactId>spring-boot-starter-actuator</artifactId>
223 <scope>provided</scope>
224 </dependency>
225 <dependency>
226 <groupId>org.apache.commons</groupId>
227 <artifactId>commons-text</artifactId>
228 <version>1.3</version>
229 </dependency>
230 <dependency>
231 <groupId>commons-io</groupId>
232 <artifactId>commons-io</artifactId>
ChrisCa6dcb042021-05-07 12:38:57 +0200233 <version>2.8.0</version>
vasraz6dc58fd2019-10-02 12:08:49 +0100234 </dependency>
235 <dependency>
236 <groupId>commons-codec</groupId>
237 <artifactId>commons-codec</artifactId>
ChrisCa6dcb042021-05-07 12:38:57 +0200238 <version>1.15</version>
vasraz6dc58fd2019-10-02 12:08:49 +0100239 </dependency>
240 <dependency>
241 <groupId>org.onap.sdc.sdc-be-common</groupId>
242 <artifactId>session-lib</artifactId>
243 <version>1.6.0</version>
ChrisCa6dcb042021-05-07 12:38:57 +0200244 <exclusions>
245 <exclusion>
246 <artifactId>objenesis</artifactId>
247 <groupId>org.objenesis</groupId>
248 </exclusion>
249 </exclusions>
vasraz6dc58fd2019-10-02 12:08:49 +0100250 </dependency>
251 <dependency>
252 <groupId>org.onap.sdc.sdc-be-common</groupId>
253 <artifactId>versioning-lib</artifactId>
254 <version>1.6.0</version>
255 <exclusions>
256 <exclusion>
257 <groupId>org.springframework.boot</groupId>
258 <artifactId>spring-boot-starter-data-cassandra</artifactId>
259 </exclusion>
260 </exclusions>
261 </dependency>
262 <dependency>
263 <groupId>org.onap.sdc.sdc-be-common</groupId>
264 <artifactId>zusammen-lib</artifactId>
265 <version>1.6.0</version>
266 <exclusions>
267 <exclusion>
268 <groupId>org.springframework.boot</groupId>
269 <artifactId>spring-boot-starter-data-cassandra</artifactId>
270 </exclusion>
ChrisCa6dcb042021-05-07 12:38:57 +0200271 <exclusion>
272 <artifactId>jnr-posix</artifactId>
273 <groupId>com.github.jnr</groupId>
274 </exclusion>
275 <exclusion>
276 <artifactId>jnr-ffi</artifactId>
277 <groupId>com.github.jnr</groupId>
278 </exclusion>
279 <exclusion>
280 <artifactId>zusammen-sdk</artifactId>
281 <groupId>com.amdocs.zusammen</groupId>
282 </exclusion>
283 <exclusion>
284 <artifactId>zusammen-commons-configuration</artifactId>
285 <groupId>com.amdocs.zusammen</groupId>
286 </exclusion>
vasraz57cd61b2021-07-21 14:13:56 +0100287 <exclusion>
288 <groupId>io.netty</groupId>
289 <artifactId>netty-handler</artifactId>
290 </exclusion>
vasraz6dc58fd2019-10-02 12:08:49 +0100291 </exclusions>
292 </dependency>
vasrazec0ce122021-05-24 19:06:50 +0100293 <dependency>
xuegaoc51038a2020-09-18 10:22:19 +0200294 <groupId>javax.xml.bind</groupId>
295 <artifactId>jaxb-api</artifactId>
296 <version>${jaxb.api.version}</version>
297 </dependency>
vasraz6dc58fd2019-10-02 12:08:49 +0100298 </dependencies>
299
300 <build>
301 <plugins>
302 <plugin>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-compiler-plugin</artifactId>
vasrazec0ce122021-05-24 19:06:50 +0100305 <version>3.8.1</version>
vasraz6dc58fd2019-10-02 12:08:49 +0100306 </plugin>
307 <plugin>
308 <groupId>org.springframework.boot</groupId>
309 <artifactId>spring-boot-maven-plugin</artifactId>
310 <version>${spring.boot.version}</version>
311 <executions>
312 <execution>
313 <goals>
314 <goal>repackage</goal>
315 </goals>
316 </execution>
317 </executions>
318 </plugin>
319 </plugins>
320 </build>
321
322 <profiles>
323 <profile>
324 <id>docker</id>
325 <activation>
326 <activeByDefault>false</activeByDefault>
327 </activation>
328 <build>
329 <plugins>
330 <plugin>
vasrazec0ce122021-05-24 19:06:50 +0100331 <groupId>org.apache.maven.plugins</groupId>
vasraz6dc58fd2019-10-02 12:08:49 +0100332 <artifactId>maven-resources-plugin</artifactId>
vasrazec0ce122021-05-24 19:06:50 +0100333 <version>3.2.0</version>
vasraz6dc58fd2019-10-02 12:08:49 +0100334 <executions>
335 <execution>
336 <id>copy-resources-docker</id>
337 <phase>install</phase>
338 <goals>
339 <goal>copy-resources</goal>
340 </goals>
341 <configuration>
342 <outputDirectory>${basedir}/docker</outputDirectory>
343 <resources>
344 <resource>
345 <directory>${project.build.directory}</directory>
346 <include>${project.build.finalName}.jar</include>
347 </resource>
348 </resources>
349 </configuration>
350 </execution>
351 </executions>
352 </plugin>
353 <plugin>
354 <groupId>io.fabric8</groupId>
355 <artifactId>docker-maven-plugin</artifactId>
356 <configuration>
357 <images>
358 <image>
359 <name>onap/sdc-workflow-backend</name>
360 <build>
361 <tags>
sebdet264a5c62020-06-16 12:10:00 +0200362 <tag>latest</tag>
363 <tag>${project.docker.latesttagtimestamp.version}</tag>
364 <tag>${project.docker.latesttag.version}</tag>
vasraz6dc58fd2019-10-02 12:08:49 +0100365 </tags>
366 <dockerFileDir>${project.basedir}/docker</dockerFileDir>
367 <args>
368 <ARTIFACT>${project.build.finalName}.jar</ARTIFACT>
369 </args>
370 </build>
371 </image>
372 </images>
373 </configuration>
374 </plugin>
375 </plugins>
376 </build>
377 </profile>
378 </profiles>
379
380</project>