Remove dependency vulnerability
[sdc/sdc-workflow-designer.git] / sdc-workflow-designer-be / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3     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">
5
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>
13         <version>1.9.0-SNAPSHOT</version>
14     </parent>
15
16     <properties>
17         <spring.boot.version>2.3.11.RELEASE</spring.boot.version>
18         <org.springframework.version>5.2.15.RELEASE</org.springframework.version>
19         <mapstruct.version>1.3.1.Final</mapstruct.version>
20         <lombok.version>1.18.0</lombok.version>
21         <springfox.version>3.0.0</springfox.version>
22         <jaxb.api.version>2.3.0</jaxb.api.version>
23         <org.glassfish.version>3.0.3</org.glassfish.version>
24     </properties>
25
26     <dependencyManagement>
27         <dependencies>
28             <dependency>
29                 <groupId>org.springframework.boot</groupId>
30                 <artifactId>spring-boot-dependencies</artifactId>
31                 <version>${spring.boot.version}</version>
32                 <type>pom</type>
33                 <scope>import</scope>
34             </dependency>
35         </dependencies>
36     </dependencyManagement>
37
38     <dependencies>
39         <dependency>
40             <groupId>org.glassfish</groupId>
41             <artifactId>jakarta.el</artifactId>
42             <version>${org.glassfish.version}</version>
43         </dependency>
44         <dependency>
45             <groupId>org.springframework</groupId>
46             <artifactId>spring-web</artifactId>
47             <version>${org.springframework.version}</version>
48         </dependency>
49         <dependency>
50             <groupId>org.springframework.boot</groupId>
51             <artifactId>spring-boot-starter-web</artifactId>
52             <exclusions>
53                 <exclusion>
54                     <groupId>org.springframework.boot</groupId>
55                     <artifactId>spring-boot-starter-tomcat</artifactId>
56                 </exclusion>
57                 <exclusion>
58                     <groupId>org.springframework</groupId>
59                     <artifactId>spring-web</artifactId>
60                 </exclusion>
61             </exclusions>
62         </dependency>
63         <dependency>
64             <groupId>org.springframework.boot</groupId>
65             <artifactId>spring-boot-starter-jetty</artifactId>
66             <exclusions>
67                 <exclusion>
68                     <groupId>org.glassfish</groupId>
69                     <artifactId>jakarta.el</artifactId>
70                 </exclusion>
71             </exclusions>
72         </dependency>
73         <dependency>
74             <groupId>org.springframework.boot</groupId>
75             <artifactId>spring-boot-starter-validation</artifactId>
76             <exclusions>
77                 <exclusion>
78                     <groupId>org.glassfish</groupId>
79                     <artifactId>jakarta.el</artifactId>
80                 </exclusion>
81             </exclusions>
82         </dependency>
83         <dependency>
84             <groupId>org.springframework.boot</groupId>
85             <artifactId>spring-boot-starter-data-cassandra</artifactId>
86             <exclusions>
87                 <exclusion>
88                     <artifactId>HdrHistogram</artifactId>
89                     <groupId>org.hdrhistogram</groupId>
90                 </exclusion>
91                 <exclusion>
92                     <artifactId>asm</artifactId>
93                     <groupId>org.ow2.asm</groupId>
94                 </exclusion>
95                 <exclusion>
96                     <artifactId>asm-analysis</artifactId>
97                     <groupId>org.ow2.asm</groupId>
98                 </exclusion>
99                 <exclusion>
100                     <artifactId>asm-commons</artifactId>
101                     <groupId>org.ow2.asm</groupId>
102                 </exclusion>
103                 <exclusion>
104                     <artifactId>asm-tree</artifactId>
105                     <groupId>org.ow2.asm</groupId>
106                 </exclusion>
107                 <exclusion>
108                     <groupId>com.github.jnr</groupId>
109                     <artifactId>jnr-posix</artifactId>
110                 </exclusion>
111                 <exclusion>
112                     <groupId>io.netty</groupId>
113                     <artifactId>netty-handler</artifactId>
114                 </exclusion>
115             </exclusions>
116         </dependency>
117         <dependency>
118             <groupId>org.springframework.boot</groupId>
119             <artifactId>spring-boot-devtools</artifactId>
120             <scope>runtime</scope>
121         </dependency>
122         <dependency>
123             <groupId>org.springframework.boot</groupId>
124             <artifactId>spring-boot-starter-test</artifactId>
125             <scope>test</scope>
126             <exclusions>
127                 <exclusion>
128                     <artifactId>asm</artifactId>
129                     <groupId>org.ow2.asm</groupId>
130                 </exclusion>
131             </exclusions>
132         </dependency>
133         <dependency>
134             <groupId>io.springfox</groupId>
135             <artifactId>springfox-boot-starter</artifactId>
136             <version>${springfox.version}</version>
137         </dependency>
138         <dependency>
139             <groupId>org.openecomp.sdc</groupId>
140             <artifactId>openecomp-sdc-logging-api</artifactId>
141             <version>${onap.version}</version>
142         </dependency>
143         <dependency>
144             <groupId>org.openecomp.sdc</groupId>
145             <artifactId>openecomp-sdc-logging-spring</artifactId>
146             <version>${onap.version}</version>
147         </dependency>
148         <dependency>
149             <groupId>org.openecomp.sdc</groupId>
150             <artifactId>openecomp-sdc-logging-core</artifactId>
151             <version>${onap.version}</version>
152             <scope>runtime</scope>
153         </dependency>
154         <dependency>
155             <groupId>ch.qos.logback</groupId>
156             <artifactId>logback-classic</artifactId>
157             <scope>runtime</scope>
158         </dependency>
159         <dependency>
160             <groupId>org.apache.httpcomponents</groupId>
161             <artifactId>httpclient</artifactId>
162             <version>4.5.13</version>
163             <exclusions>
164                 <exclusion>
165                     <artifactId>commons-codec</artifactId>
166                     <groupId>commons-codec</groupId>
167                 </exclusion>
168             </exclusions>
169         </dependency>
170         <dependency>
171             <groupId>org.mapstruct</groupId>
172             <artifactId>mapstruct</artifactId>
173             <version>${mapstruct.version}</version>
174         </dependency>
175         <dependency>
176             <groupId>org.mapstruct</groupId>
177             <artifactId>mapstruct-processor</artifactId>
178             <version>${mapstruct.version}</version>
179             <scope>provided</scope>
180         </dependency>
181         <dependency>
182             <groupId>org.projectlombok</groupId>
183             <artifactId>lombok</artifactId>
184             <version>${lombok.version}</version>
185             <scope>provided</scope>
186         </dependency>
187         <dependency>
188             <groupId>org.springframework.boot</groupId>
189             <artifactId>spring-boot-starter-actuator</artifactId>
190             <scope>provided</scope>
191         </dependency>
192         <dependency>
193             <groupId>org.apache.commons</groupId>
194             <artifactId>commons-text</artifactId>
195             <version>1.3</version>
196         </dependency>
197         <dependency>
198             <groupId>commons-io</groupId>
199             <artifactId>commons-io</artifactId>
200             <version>2.8.0</version>
201         </dependency>
202         <dependency>
203             <groupId>commons-codec</groupId>
204             <artifactId>commons-codec</artifactId>
205             <version>1.15</version>
206         </dependency>
207         <dependency>
208             <groupId>org.onap.sdc.sdc-be-common</groupId>
209             <artifactId>session-lib</artifactId>
210             <version>1.6.0</version>
211             <exclusions>
212                 <exclusion>
213                     <artifactId>objenesis</artifactId>
214                     <groupId>org.objenesis</groupId>
215                 </exclusion>
216             </exclusions>
217         </dependency>
218         <dependency>
219             <groupId>org.onap.sdc.sdc-be-common</groupId>
220             <artifactId>versioning-lib</artifactId>
221             <version>1.6.0</version>
222             <exclusions>
223                 <exclusion>
224                     <groupId>org.springframework.boot</groupId>
225                     <artifactId>spring-boot-starter-data-cassandra</artifactId>
226                 </exclusion>
227             </exclusions>
228         </dependency>
229         <dependency>
230             <groupId>org.onap.sdc.sdc-be-common</groupId>
231             <artifactId>zusammen-lib</artifactId>
232             <version>1.6.0</version>
233             <exclusions>
234                 <exclusion>
235                     <groupId>org.springframework.boot</groupId>
236                     <artifactId>spring-boot-starter-data-cassandra</artifactId>
237                 </exclusion>
238                 <exclusion>
239                     <artifactId>jnr-posix</artifactId>
240                     <groupId>com.github.jnr</groupId>
241                 </exclusion>
242                 <exclusion>
243                     <artifactId>jnr-ffi</artifactId>
244                     <groupId>com.github.jnr</groupId>
245                 </exclusion>
246                 <exclusion>
247                     <artifactId>zusammen-sdk</artifactId>
248                     <groupId>com.amdocs.zusammen</groupId>
249                 </exclusion>
250                 <exclusion>
251                     <artifactId>zusammen-commons-configuration</artifactId>
252                     <groupId>com.amdocs.zusammen</groupId>
253                 </exclusion>
254                 <exclusion>
255                     <groupId>io.netty</groupId>
256                     <artifactId>netty-handler</artifactId>
257                 </exclusion>
258             </exclusions>
259         </dependency>
260         <dependency>
261             <groupId>javax.xml.bind</groupId>
262             <artifactId>jaxb-api</artifactId>
263             <version>${jaxb.api.version}</version>
264         </dependency>
265     </dependencies>
266
267     <build>
268         <plugins>
269             <plugin>
270                 <groupId>org.apache.maven.plugins</groupId>
271                 <artifactId>maven-compiler-plugin</artifactId>
272                 <version>3.8.1</version>
273             </plugin>
274             <plugin>
275                 <groupId>org.springframework.boot</groupId>
276                 <artifactId>spring-boot-maven-plugin</artifactId>
277                 <version>${spring.boot.version}</version>
278                 <executions>
279                     <execution>
280                         <goals>
281                             <goal>repackage</goal>
282                         </goals>
283                     </execution>
284                 </executions>
285             </plugin>
286         </plugins>
287     </build>
288
289     <profiles>
290         <profile>
291             <id>docker</id>
292             <activation>
293                 <activeByDefault>false</activeByDefault>
294             </activation>
295             <build>
296                 <plugins>
297                     <plugin>
298                         <groupId>org.apache.maven.plugins</groupId>
299                         <artifactId>maven-resources-plugin</artifactId>
300                         <version>3.2.0</version>
301                         <executions>
302                             <execution>
303                                 <id>copy-resources-docker</id>
304                                 <phase>install</phase>
305                                 <goals>
306                                     <goal>copy-resources</goal>
307                                 </goals>
308                                 <configuration>
309                                     <outputDirectory>${basedir}/docker</outputDirectory>
310                                     <resources>
311                                         <resource>
312                                             <directory>${project.build.directory}</directory>
313                                             <include>${project.build.finalName}.jar</include>
314                                         </resource>
315                                     </resources>
316                                 </configuration>
317                             </execution>
318                         </executions>
319                     </plugin>
320                     <plugin>
321                         <groupId>io.fabric8</groupId>
322                         <artifactId>docker-maven-plugin</artifactId>
323                         <configuration>
324                             <images>
325                                 <image>
326                                     <name>onap/sdc-workflow-backend</name>
327                                     <build>
328                                         <tags>
329                                             <tag>latest</tag>
330                                             <tag>${project.docker.latesttagtimestamp.version}</tag>
331                                             <tag>${project.docker.latesttag.version}</tag>
332                                         </tags>
333                                         <dockerFileDir>${project.basedir}/docker</dockerFileDir>
334                                         <args>
335                                             <ARTIFACT>${project.build.finalName}.jar</ARTIFACT>
336                                         </args>
337                                     </build>
338                                 </image>
339                             </images>
340                         </configuration>
341                     </plugin>
342                 </plugins>
343             </build>
344         </profile>
345     </profiles>
346
347 </project>
348