blob: 93954d810de85b7e7fd86caf4804b65ac62f1b07 [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>
ChrisCa6dcb042021-05-07 12:38:57 +020013 <version>1.9.0-SNAPSHOT</version>
vasraz6dc58fd2019-10-02 12:08:49 +010014 </parent>
15
16 <properties>
vasrazc9b38b62022-03-02 21:43:10 +000017 <spring.boot.version>2.6.4</spring.boot.version>
18 <org.springframework.version>5.3.13</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>
vasraz6dc58fd2019-10-02 12:08:49 +010025 </properties>
26
27 <dependencyManagement>
28 <dependencies>
29 <dependency>
vasrazc9b38b62022-03-02 21:43:10 +000030 <groupId>org.mockito</groupId>
31 <artifactId>mockito-core</artifactId>
32 <version>${mockito.version}</version>
33 <scope>test</scope>
34 </dependency>
35 <dependency>
vasraz6dc58fd2019-10-02 12:08:49 +010036 <groupId>org.springframework.boot</groupId>
37 <artifactId>spring-boot-dependencies</artifactId>
38 <version>${spring.boot.version}</version>
39 <type>pom</type>
40 <scope>import</scope>
41 </dependency>
42 </dependencies>
43 </dependencyManagement>
44
45 <dependencies>
46 <dependency>
vasrazec0ce122021-05-24 19:06:50 +010047 <groupId>org.glassfish</groupId>
48 <artifactId>jakarta.el</artifactId>
49 <version>${org.glassfish.version}</version>
50 </dependency>
51 <dependency>
52 <groupId>org.springframework</groupId>
53 <artifactId>spring-web</artifactId>
54 <version>${org.springframework.version}</version>
55 </dependency>
56 <dependency>
vasraz6dc58fd2019-10-02 12:08:49 +010057 <groupId>org.springframework.boot</groupId>
58 <artifactId>spring-boot-starter-web</artifactId>
59 <exclusions>
60 <exclusion>
61 <groupId>org.springframework.boot</groupId>
62 <artifactId>spring-boot-starter-tomcat</artifactId>
63 </exclusion>
vasrazec0ce122021-05-24 19:06:50 +010064 <exclusion>
65 <groupId>org.springframework</groupId>
66 <artifactId>spring-web</artifactId>
67 </exclusion>
vasraz6dc58fd2019-10-02 12:08:49 +010068 </exclusions>
69 </dependency>
70 <dependency>
71 <groupId>org.springframework.boot</groupId>
72 <artifactId>spring-boot-starter-jetty</artifactId>
vasrazec0ce122021-05-24 19:06:50 +010073 <exclusions>
74 <exclusion>
75 <groupId>org.glassfish</groupId>
76 <artifactId>jakarta.el</artifactId>
77 </exclusion>
78 </exclusions>
vasraz6dc58fd2019-10-02 12:08:49 +010079 </dependency>
80 <dependency>
81 <groupId>org.springframework.boot</groupId>
ChrisCa6dcb042021-05-07 12:38:57 +020082 <artifactId>spring-boot-starter-validation</artifactId>
vasrazec0ce122021-05-24 19:06:50 +010083 <exclusions>
84 <exclusion>
85 <groupId>org.glassfish</groupId>
86 <artifactId>jakarta.el</artifactId>
87 </exclusion>
88 </exclusions>
ChrisCa6dcb042021-05-07 12:38:57 +020089 </dependency>
90 <dependency>
91 <groupId>org.springframework.boot</groupId>
vasraz6dc58fd2019-10-02 12:08:49 +010092 <artifactId>spring-boot-starter-data-cassandra</artifactId>
ChrisCa6dcb042021-05-07 12:38:57 +020093 <exclusions>
94 <exclusion>
95 <artifactId>HdrHistogram</artifactId>
96 <groupId>org.hdrhistogram</groupId>
97 </exclusion>
98 <exclusion>
99 <artifactId>asm</artifactId>
100 <groupId>org.ow2.asm</groupId>
101 </exclusion>
102 <exclusion>
103 <artifactId>asm-analysis</artifactId>
104 <groupId>org.ow2.asm</groupId>
105 </exclusion>
106 <exclusion>
107 <artifactId>asm-commons</artifactId>
108 <groupId>org.ow2.asm</groupId>
109 </exclusion>
110 <exclusion>
111 <artifactId>asm-tree</artifactId>
112 <groupId>org.ow2.asm</groupId>
113 </exclusion>
vasrazec0ce122021-05-24 19:06:50 +0100114 <exclusion>
115 <groupId>com.github.jnr</groupId>
116 <artifactId>jnr-posix</artifactId>
117 </exclusion>
vasraz57cd61b2021-07-21 14:13:56 +0100118 <exclusion>
119 <groupId>io.netty</groupId>
120 <artifactId>netty-handler</artifactId>
121 </exclusion>
ChrisCa6dcb042021-05-07 12:38:57 +0200122 </exclusions>
vasraz6dc58fd2019-10-02 12:08:49 +0100123 </dependency>
124 <dependency>
125 <groupId>org.springframework.boot</groupId>
126 <artifactId>spring-boot-devtools</artifactId>
127 <scope>runtime</scope>
128 </dependency>
129 <dependency>
130 <groupId>org.springframework.boot</groupId>
131 <artifactId>spring-boot-starter-test</artifactId>
132 <scope>test</scope>
ChrisCa6dcb042021-05-07 12:38:57 +0200133 <exclusions>
134 <exclusion>
135 <artifactId>asm</artifactId>
136 <groupId>org.ow2.asm</groupId>
137 </exclusion>
138 </exclusions>
vasraz6dc58fd2019-10-02 12:08:49 +0100139 </dependency>
140 <dependency>
141 <groupId>io.springfox</groupId>
ChrisCa6dcb042021-05-07 12:38:57 +0200142 <artifactId>springfox-boot-starter</artifactId>
vasraz6dc58fd2019-10-02 12:08:49 +0100143 <version>${springfox.version}</version>
144 </dependency>
145 <dependency>
146 <groupId>org.openecomp.sdc</groupId>
147 <artifactId>openecomp-sdc-logging-api</artifactId>
148 <version>${onap.version}</version>
149 </dependency>
150 <dependency>
151 <groupId>org.openecomp.sdc</groupId>
152 <artifactId>openecomp-sdc-logging-spring</artifactId>
153 <version>${onap.version}</version>
154 </dependency>
155 <dependency>
156 <groupId>org.openecomp.sdc</groupId>
157 <artifactId>openecomp-sdc-logging-core</artifactId>
158 <version>${onap.version}</version>
159 <scope>runtime</scope>
160 </dependency>
161 <dependency>
162 <groupId>ch.qos.logback</groupId>
163 <artifactId>logback-classic</artifactId>
164 <scope>runtime</scope>
165 </dependency>
166 <dependency>
167 <groupId>org.apache.httpcomponents</groupId>
168 <artifactId>httpclient</artifactId>
ChrisCa6dcb042021-05-07 12:38:57 +0200169 <version>4.5.13</version>
170 <exclusions>
171 <exclusion>
172 <artifactId>commons-codec</artifactId>
173 <groupId>commons-codec</groupId>
174 </exclusion>
175 </exclusions>
vasraz6dc58fd2019-10-02 12:08:49 +0100176 </dependency>
177 <dependency>
178 <groupId>org.mapstruct</groupId>
179 <artifactId>mapstruct</artifactId>
180 <version>${mapstruct.version}</version>
181 </dependency>
182 <dependency>
183 <groupId>org.mapstruct</groupId>
184 <artifactId>mapstruct-processor</artifactId>
185 <version>${mapstruct.version}</version>
186 <scope>provided</scope>
187 </dependency>
188 <dependency>
189 <groupId>org.projectlombok</groupId>
190 <artifactId>lombok</artifactId>
191 <version>${lombok.version}</version>
192 <scope>provided</scope>
193 </dependency>
194 <dependency>
195 <groupId>org.springframework.boot</groupId>
196 <artifactId>spring-boot-starter-actuator</artifactId>
197 <scope>provided</scope>
198 </dependency>
199 <dependency>
200 <groupId>org.apache.commons</groupId>
201 <artifactId>commons-text</artifactId>
202 <version>1.3</version>
203 </dependency>
204 <dependency>
205 <groupId>commons-io</groupId>
206 <artifactId>commons-io</artifactId>
ChrisCa6dcb042021-05-07 12:38:57 +0200207 <version>2.8.0</version>
vasraz6dc58fd2019-10-02 12:08:49 +0100208 </dependency>
209 <dependency>
210 <groupId>commons-codec</groupId>
211 <artifactId>commons-codec</artifactId>
ChrisCa6dcb042021-05-07 12:38:57 +0200212 <version>1.15</version>
vasraz6dc58fd2019-10-02 12:08:49 +0100213 </dependency>
214 <dependency>
215 <groupId>org.onap.sdc.sdc-be-common</groupId>
216 <artifactId>session-lib</artifactId>
217 <version>1.6.0</version>
ChrisCa6dcb042021-05-07 12:38:57 +0200218 <exclusions>
219 <exclusion>
220 <artifactId>objenesis</artifactId>
221 <groupId>org.objenesis</groupId>
222 </exclusion>
223 </exclusions>
vasraz6dc58fd2019-10-02 12:08:49 +0100224 </dependency>
225 <dependency>
226 <groupId>org.onap.sdc.sdc-be-common</groupId>
227 <artifactId>versioning-lib</artifactId>
228 <version>1.6.0</version>
229 <exclusions>
230 <exclusion>
231 <groupId>org.springframework.boot</groupId>
232 <artifactId>spring-boot-starter-data-cassandra</artifactId>
233 </exclusion>
234 </exclusions>
235 </dependency>
236 <dependency>
237 <groupId>org.onap.sdc.sdc-be-common</groupId>
238 <artifactId>zusammen-lib</artifactId>
239 <version>1.6.0</version>
240 <exclusions>
241 <exclusion>
242 <groupId>org.springframework.boot</groupId>
243 <artifactId>spring-boot-starter-data-cassandra</artifactId>
244 </exclusion>
ChrisCa6dcb042021-05-07 12:38:57 +0200245 <exclusion>
246 <artifactId>jnr-posix</artifactId>
247 <groupId>com.github.jnr</groupId>
248 </exclusion>
249 <exclusion>
250 <artifactId>jnr-ffi</artifactId>
251 <groupId>com.github.jnr</groupId>
252 </exclusion>
253 <exclusion>
254 <artifactId>zusammen-sdk</artifactId>
255 <groupId>com.amdocs.zusammen</groupId>
256 </exclusion>
257 <exclusion>
258 <artifactId>zusammen-commons-configuration</artifactId>
259 <groupId>com.amdocs.zusammen</groupId>
260 </exclusion>
vasraz57cd61b2021-07-21 14:13:56 +0100261 <exclusion>
262 <groupId>io.netty</groupId>
263 <artifactId>netty-handler</artifactId>
264 </exclusion>
vasraz6dc58fd2019-10-02 12:08:49 +0100265 </exclusions>
266 </dependency>
vasrazec0ce122021-05-24 19:06:50 +0100267 <dependency>
xuegaoc51038a2020-09-18 10:22:19 +0200268 <groupId>javax.xml.bind</groupId>
269 <artifactId>jaxb-api</artifactId>
270 <version>${jaxb.api.version}</version>
271 </dependency>
vasraz6dc58fd2019-10-02 12:08:49 +0100272 </dependencies>
273
274 <build>
275 <plugins>
276 <plugin>
277 <groupId>org.apache.maven.plugins</groupId>
278 <artifactId>maven-compiler-plugin</artifactId>
vasrazec0ce122021-05-24 19:06:50 +0100279 <version>3.8.1</version>
vasraz6dc58fd2019-10-02 12:08:49 +0100280 </plugin>
281 <plugin>
282 <groupId>org.springframework.boot</groupId>
283 <artifactId>spring-boot-maven-plugin</artifactId>
284 <version>${spring.boot.version}</version>
285 <executions>
286 <execution>
287 <goals>
288 <goal>repackage</goal>
289 </goals>
290 </execution>
291 </executions>
292 </plugin>
293 </plugins>
294 </build>
295
296 <profiles>
297 <profile>
298 <id>docker</id>
299 <activation>
300 <activeByDefault>false</activeByDefault>
301 </activation>
302 <build>
303 <plugins>
304 <plugin>
vasrazec0ce122021-05-24 19:06:50 +0100305 <groupId>org.apache.maven.plugins</groupId>
vasraz6dc58fd2019-10-02 12:08:49 +0100306 <artifactId>maven-resources-plugin</artifactId>
vasrazec0ce122021-05-24 19:06:50 +0100307 <version>3.2.0</version>
vasraz6dc58fd2019-10-02 12:08:49 +0100308 <executions>
309 <execution>
310 <id>copy-resources-docker</id>
311 <phase>install</phase>
312 <goals>
313 <goal>copy-resources</goal>
314 </goals>
315 <configuration>
316 <outputDirectory>${basedir}/docker</outputDirectory>
317 <resources>
318 <resource>
319 <directory>${project.build.directory}</directory>
320 <include>${project.build.finalName}.jar</include>
321 </resource>
322 </resources>
323 </configuration>
324 </execution>
325 </executions>
326 </plugin>
327 <plugin>
328 <groupId>io.fabric8</groupId>
329 <artifactId>docker-maven-plugin</artifactId>
330 <configuration>
331 <images>
332 <image>
333 <name>onap/sdc-workflow-backend</name>
334 <build>
335 <tags>
sebdet264a5c62020-06-16 12:10:00 +0200336 <tag>latest</tag>
337 <tag>${project.docker.latesttagtimestamp.version}</tag>
338 <tag>${project.docker.latesttag.version}</tag>
vasraz6dc58fd2019-10-02 12:08:49 +0100339 </tags>
340 <dockerFileDir>${project.basedir}/docker</dockerFileDir>
341 <args>
342 <ARTIFACT>${project.build.finalName}.jar</ARTIFACT>
343 </args>
344 </build>
345 </image>
346 </images>
347 </configuration>
348 </plugin>
349 </plugins>
350 </build>
351 </profile>
352 </profiles>
353
354</project>
355