blob: e7be72bf26d0036683239d80819ae3b1a45cf8ab [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"
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>
ChrisCa6dcb042021-05-07 12:38:57 +020013 <version>1.9.0-SNAPSHOT</version>
vasraz6dc58fd2019-10-02 12:08:49 +010014 </parent>
15
16 <properties>
ChrisCa6dcb042021-05-07 12:38:57 +020017 <spring.boot.version>2.3.10.RELEASE</spring.boot.version>
vasraz6dc58fd2019-10-02 12:08:49 +010018 <mapstruct.version>1.3.1.Final</mapstruct.version>
19 <lombok.version>1.18.0</lombok.version>
ChrisCa6dcb042021-05-07 12:38:57 +020020 <springfox.version>3.0.0</springfox.version>
xuegaoc51038a2020-09-18 10:22:19 +020021 <jaxb.api.version>2.3.0</jaxb.api.version>
vasraz6dc58fd2019-10-02 12:08:49 +010022 </properties>
23
24 <dependencyManagement>
25 <dependencies>
26 <dependency>
27 <groupId>org.springframework.boot</groupId>
28 <artifactId>spring-boot-dependencies</artifactId>
29 <version>${spring.boot.version}</version>
30 <type>pom</type>
31 <scope>import</scope>
32 </dependency>
33 </dependencies>
34 </dependencyManagement>
35
36 <dependencies>
37 <dependency>
38 <groupId>org.springframework.boot</groupId>
39 <artifactId>spring-boot-starter-web</artifactId>
40 <exclusions>
41 <exclusion>
42 <groupId>org.springframework.boot</groupId>
43 <artifactId>spring-boot-starter-tomcat</artifactId>
44 </exclusion>
45 </exclusions>
46 </dependency>
47 <dependency>
48 <groupId>org.springframework.boot</groupId>
49 <artifactId>spring-boot-starter-jetty</artifactId>
50 </dependency>
51 <dependency>
52 <groupId>org.springframework.boot</groupId>
ChrisCa6dcb042021-05-07 12:38:57 +020053 <artifactId>spring-boot-starter-validation</artifactId>
54 </dependency>
55 <dependency>
56 <groupId>org.springframework.boot</groupId>
vasraz6dc58fd2019-10-02 12:08:49 +010057 <artifactId>spring-boot-starter-data-cassandra</artifactId>
ChrisCa6dcb042021-05-07 12:38:57 +020058 <exclusions>
59 <exclusion>
60 <artifactId>HdrHistogram</artifactId>
61 <groupId>org.hdrhistogram</groupId>
62 </exclusion>
63 <exclusion>
64 <artifactId>asm</artifactId>
65 <groupId>org.ow2.asm</groupId>
66 </exclusion>
67 <exclusion>
68 <artifactId>asm-analysis</artifactId>
69 <groupId>org.ow2.asm</groupId>
70 </exclusion>
71 <exclusion>
72 <artifactId>asm-commons</artifactId>
73 <groupId>org.ow2.asm</groupId>
74 </exclusion>
75 <exclusion>
76 <artifactId>asm-tree</artifactId>
77 <groupId>org.ow2.asm</groupId>
78 </exclusion>
79 </exclusions>
vasraz6dc58fd2019-10-02 12:08:49 +010080 </dependency>
81 <dependency>
82 <groupId>org.springframework.boot</groupId>
83 <artifactId>spring-boot-devtools</artifactId>
84 <scope>runtime</scope>
85 </dependency>
86 <dependency>
87 <groupId>org.springframework.boot</groupId>
88 <artifactId>spring-boot-starter-test</artifactId>
89 <scope>test</scope>
ChrisCa6dcb042021-05-07 12:38:57 +020090 <exclusions>
91 <exclusion>
92 <artifactId>asm</artifactId>
93 <groupId>org.ow2.asm</groupId>
94 </exclusion>
95 </exclusions>
vasraz6dc58fd2019-10-02 12:08:49 +010096 </dependency>
97 <dependency>
98 <groupId>io.springfox</groupId>
ChrisCa6dcb042021-05-07 12:38:57 +020099 <artifactId>springfox-boot-starter</artifactId>
vasraz6dc58fd2019-10-02 12:08:49 +0100100 <version>${springfox.version}</version>
101 </dependency>
102 <dependency>
103 <groupId>org.openecomp.sdc</groupId>
104 <artifactId>openecomp-sdc-logging-api</artifactId>
105 <version>${onap.version}</version>
106 </dependency>
107 <dependency>
108 <groupId>org.openecomp.sdc</groupId>
109 <artifactId>openecomp-sdc-logging-spring</artifactId>
110 <version>${onap.version}</version>
111 </dependency>
112 <dependency>
113 <groupId>org.openecomp.sdc</groupId>
114 <artifactId>openecomp-sdc-logging-core</artifactId>
115 <version>${onap.version}</version>
116 <scope>runtime</scope>
117 </dependency>
118 <dependency>
119 <groupId>ch.qos.logback</groupId>
120 <artifactId>logback-classic</artifactId>
121 <scope>runtime</scope>
122 </dependency>
123 <dependency>
124 <groupId>org.apache.httpcomponents</groupId>
125 <artifactId>httpclient</artifactId>
ChrisCa6dcb042021-05-07 12:38:57 +0200126 <version>4.5.13</version>
127 <exclusions>
128 <exclusion>
129 <artifactId>commons-codec</artifactId>
130 <groupId>commons-codec</groupId>
131 </exclusion>
132 </exclusions>
vasraz6dc58fd2019-10-02 12:08:49 +0100133 </dependency>
134 <dependency>
135 <groupId>org.mapstruct</groupId>
136 <artifactId>mapstruct</artifactId>
137 <version>${mapstruct.version}</version>
138 </dependency>
139 <dependency>
140 <groupId>org.mapstruct</groupId>
141 <artifactId>mapstruct-processor</artifactId>
142 <version>${mapstruct.version}</version>
143 <scope>provided</scope>
144 </dependency>
145 <dependency>
146 <groupId>org.projectlombok</groupId>
147 <artifactId>lombok</artifactId>
148 <version>${lombok.version}</version>
149 <scope>provided</scope>
150 </dependency>
151 <dependency>
152 <groupId>org.springframework.boot</groupId>
153 <artifactId>spring-boot-starter-actuator</artifactId>
154 <scope>provided</scope>
155 </dependency>
156 <dependency>
157 <groupId>org.apache.commons</groupId>
158 <artifactId>commons-text</artifactId>
159 <version>1.3</version>
160 </dependency>
161 <dependency>
162 <groupId>commons-io</groupId>
163 <artifactId>commons-io</artifactId>
ChrisCa6dcb042021-05-07 12:38:57 +0200164 <version>2.8.0</version>
vasraz6dc58fd2019-10-02 12:08:49 +0100165 </dependency>
166 <dependency>
167 <groupId>commons-codec</groupId>
168 <artifactId>commons-codec</artifactId>
ChrisCa6dcb042021-05-07 12:38:57 +0200169 <version>1.15</version>
vasraz6dc58fd2019-10-02 12:08:49 +0100170 </dependency>
171 <dependency>
172 <groupId>org.onap.sdc.sdc-be-common</groupId>
173 <artifactId>session-lib</artifactId>
174 <version>1.6.0</version>
ChrisCa6dcb042021-05-07 12:38:57 +0200175 <exclusions>
176 <exclusion>
177 <artifactId>objenesis</artifactId>
178 <groupId>org.objenesis</groupId>
179 </exclusion>
180 </exclusions>
vasraz6dc58fd2019-10-02 12:08:49 +0100181 </dependency>
182 <dependency>
183 <groupId>org.onap.sdc.sdc-be-common</groupId>
184 <artifactId>versioning-lib</artifactId>
185 <version>1.6.0</version>
186 <exclusions>
187 <exclusion>
188 <groupId>org.springframework.boot</groupId>
189 <artifactId>spring-boot-starter-data-cassandra</artifactId>
190 </exclusion>
191 </exclusions>
192 </dependency>
193 <dependency>
194 <groupId>org.onap.sdc.sdc-be-common</groupId>
195 <artifactId>zusammen-lib</artifactId>
196 <version>1.6.0</version>
197 <exclusions>
198 <exclusion>
199 <groupId>org.springframework.boot</groupId>
200 <artifactId>spring-boot-starter-data-cassandra</artifactId>
201 </exclusion>
ChrisCa6dcb042021-05-07 12:38:57 +0200202 <exclusion>
203 <artifactId>jnr-posix</artifactId>
204 <groupId>com.github.jnr</groupId>
205 </exclusion>
206 <exclusion>
207 <artifactId>jnr-ffi</artifactId>
208 <groupId>com.github.jnr</groupId>
209 </exclusion>
210 <exclusion>
211 <artifactId>zusammen-sdk</artifactId>
212 <groupId>com.amdocs.zusammen</groupId>
213 </exclusion>
214 <exclusion>
215 <artifactId>zusammen-commons-configuration</artifactId>
216 <groupId>com.amdocs.zusammen</groupId>
217 </exclusion>
vasraz6dc58fd2019-10-02 12:08:49 +0100218 </exclusions>
219 </dependency>
xuegaoc51038a2020-09-18 10:22:19 +0200220 <dependency>
221 <groupId>javax.xml.bind</groupId>
222 <artifactId>jaxb-api</artifactId>
223 <version>${jaxb.api.version}</version>
224 </dependency>
vasraz6dc58fd2019-10-02 12:08:49 +0100225 </dependencies>
226
227 <build>
228 <plugins>
229 <plugin>
230 <groupId>org.apache.maven.plugins</groupId>
231 <artifactId>maven-compiler-plugin</artifactId>
232 <version>3.5.1</version>
233 </plugin>
234 <plugin>
235 <groupId>org.springframework.boot</groupId>
236 <artifactId>spring-boot-maven-plugin</artifactId>
237 <version>${spring.boot.version}</version>
238 <executions>
239 <execution>
240 <goals>
241 <goal>repackage</goal>
242 </goals>
243 </execution>
244 </executions>
245 </plugin>
246 </plugins>
247 </build>
248
249 <profiles>
250 <profile>
251 <id>docker</id>
252 <activation>
253 <activeByDefault>false</activeByDefault>
254 </activation>
255 <build>
256 <plugins>
257 <plugin>
258 <artifactId>maven-resources-plugin</artifactId>
259 <version>2.6</version>
260 <executions>
261 <execution>
262 <id>copy-resources-docker</id>
263 <phase>install</phase>
264 <goals>
265 <goal>copy-resources</goal>
266 </goals>
267 <configuration>
268 <outputDirectory>${basedir}/docker</outputDirectory>
269 <resources>
270 <resource>
271 <directory>${project.build.directory}</directory>
272 <include>${project.build.finalName}.jar</include>
273 </resource>
274 </resources>
275 </configuration>
276 </execution>
277 </executions>
278 </plugin>
279 <plugin>
280 <groupId>io.fabric8</groupId>
281 <artifactId>docker-maven-plugin</artifactId>
282 <configuration>
283 <images>
284 <image>
285 <name>onap/sdc-workflow-backend</name>
286 <build>
287 <tags>
sebdet264a5c62020-06-16 12:10:00 +0200288 <tag>latest</tag>
289 <tag>${project.docker.latesttagtimestamp.version}</tag>
290 <tag>${project.docker.latesttag.version}</tag>
vasraz6dc58fd2019-10-02 12:08:49 +0100291 </tags>
292 <dockerFileDir>${project.basedir}/docker</dockerFileDir>
293 <args>
294 <ARTIFACT>${project.build.finalName}.jar</ARTIFACT>
295 </args>
296 </build>
297 </image>
298 </images>
299 </configuration>
300 </plugin>
301 </plugins>
302 </build>
303 </profile>
304 </profiles>
305
306</project>
307