vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
vasraz | ec0ce12 | 2021-05-24 19:06:50 +0100 | [diff] [blame] | 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"> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 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> |
vasraz | 1e39e4c | 2022-04-08 11:06:06 +0100 | [diff] [blame] | 13 | <version>1.11.0-SNAPSHOT</version> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 14 | </parent> |
| 15 | |
| 16 | <properties> |
vasraz | 18fbc54 | 2022-04-04 23:27:19 +0100 | [diff] [blame] | 17 | <spring.boot.version>2.1.18.RELEASE</spring.boot.version> |
| 18 | <org.springframework.version>5.1.19.RELEASE</org.springframework.version> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 19 | <mapstruct.version>1.3.1.Final</mapstruct.version> |
| 20 | <lombok.version>1.18.0</lombok.version> |
ChrisC | a6dcb04 | 2021-05-07 12:38:57 +0200 | [diff] [blame] | 21 | <springfox.version>3.0.0</springfox.version> |
xuegao | c51038a | 2020-09-18 10:22:19 +0200 | [diff] [blame] | 22 | <jaxb.api.version>2.3.0</jaxb.api.version> |
vasraz | c9b38b6 | 2022-03-02 21:43:10 +0000 | [diff] [blame] | 23 | <org.glassfish.version>4.0.2</org.glassfish.version> |
| 24 | <mockito.version>3.7.7</mockito.version> |
vasraz | 18fbc54 | 2022-04-04 23:27:19 +0100 | [diff] [blame] | 25 | <springframework.plugin.version>2.0.0.RELEASE</springframework.plugin.version> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 26 | </properties> |
| 27 | |
| 28 | <dependencyManagement> |
| 29 | <dependencies> |
| 30 | <dependency> |
vasraz | c9b38b6 | 2022-03-02 21:43:10 +0000 | [diff] [blame] | 31 | <groupId>org.mockito</groupId> |
| 32 | <artifactId>mockito-core</artifactId> |
| 33 | <version>${mockito.version}</version> |
| 34 | <scope>test</scope> |
| 35 | </dependency> |
| 36 | <dependency> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 37 | <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> |
vasraz | ec0ce12 | 2021-05-24 19:06:50 +0100 | [diff] [blame] | 48 | <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> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 58 | <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> |
vasraz | ec0ce12 | 2021-05-24 19:06:50 +0100 | [diff] [blame] | 65 | <exclusion> |
| 66 | <groupId>org.springframework</groupId> |
| 67 | <artifactId>spring-web</artifactId> |
| 68 | </exclusion> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 69 | </exclusions> |
| 70 | </dependency> |
| 71 | <dependency> |
| 72 | <groupId>org.springframework.boot</groupId> |
| 73 | <artifactId>spring-boot-starter-jetty</artifactId> |
vasraz | ec0ce12 | 2021-05-24 19:06:50 +0100 | [diff] [blame] | 74 | <exclusions> |
| 75 | <exclusion> |
| 76 | <groupId>org.glassfish</groupId> |
| 77 | <artifactId>jakarta.el</artifactId> |
| 78 | </exclusion> |
| 79 | </exclusions> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 80 | </dependency> |
| 81 | <dependency> |
| 82 | <groupId>org.springframework.boot</groupId> |
ChrisC | a6dcb04 | 2021-05-07 12:38:57 +0200 | [diff] [blame] | 83 | <artifactId>spring-boot-starter-validation</artifactId> |
vasraz | ec0ce12 | 2021-05-24 19:06:50 +0100 | [diff] [blame] | 84 | <exclusions> |
| 85 | <exclusion> |
| 86 | <groupId>org.glassfish</groupId> |
| 87 | <artifactId>jakarta.el</artifactId> |
| 88 | </exclusion> |
| 89 | </exclusions> |
ChrisC | a6dcb04 | 2021-05-07 12:38:57 +0200 | [diff] [blame] | 90 | </dependency> |
| 91 | <dependency> |
| 92 | <groupId>org.springframework.boot</groupId> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 93 | <artifactId>spring-boot-starter-data-cassandra</artifactId> |
ChrisC | a6dcb04 | 2021-05-07 12:38:57 +0200 | [diff] [blame] | 94 | <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> |
vasraz | ec0ce12 | 2021-05-24 19:06:50 +0100 | [diff] [blame] | 115 | <exclusion> |
| 116 | <groupId>com.github.jnr</groupId> |
| 117 | <artifactId>jnr-posix</artifactId> |
| 118 | </exclusion> |
vasraz | 57cd61b | 2021-07-21 14:13:56 +0100 | [diff] [blame] | 119 | <exclusion> |
| 120 | <groupId>io.netty</groupId> |
| 121 | <artifactId>netty-handler</artifactId> |
| 122 | </exclusion> |
ChrisC | a6dcb04 | 2021-05-07 12:38:57 +0200 | [diff] [blame] | 123 | </exclusions> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 124 | </dependency> |
| 125 | <dependency> |
vasraz | 18fbc54 | 2022-04-04 23:27:19 +0100 | [diff] [blame] | 126 | <groupId>io.netty</groupId> |
| 127 | <artifactId>netty-handler</artifactId> |
| 128 | <version>4.1.75.Final</version> |
| 129 | </dependency> |
| 130 | <dependency> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 131 | <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> |
ChrisC | a6dcb04 | 2021-05-07 12:38:57 +0200 | [diff] [blame] | 139 | <exclusions> |
| 140 | <exclusion> |
| 141 | <artifactId>asm</artifactId> |
| 142 | <groupId>org.ow2.asm</groupId> |
| 143 | </exclusion> |
| 144 | </exclusions> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 145 | </dependency> |
| 146 | <dependency> |
| 147 | <groupId>io.springfox</groupId> |
ChrisC | a6dcb04 | 2021-05-07 12:38:57 +0200 | [diff] [blame] | 148 | <artifactId>springfox-boot-starter</artifactId> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 149 | <version>${springfox.version}</version> |
vasraz | 18fbc54 | 2022-04-04 23:27:19 +0100 | [diff] [blame] | 150 | <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> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 170 | </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> |
ChrisC | a6dcb04 | 2021-05-07 12:38:57 +0200 | [diff] [blame] | 195 | <version>4.5.13</version> |
| 196 | <exclusions> |
| 197 | <exclusion> |
| 198 | <artifactId>commons-codec</artifactId> |
| 199 | <groupId>commons-codec</groupId> |
| 200 | </exclusion> |
| 201 | </exclusions> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 202 | </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> |
ChrisC | a6dcb04 | 2021-05-07 12:38:57 +0200 | [diff] [blame] | 233 | <version>2.8.0</version> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 234 | </dependency> |
| 235 | <dependency> |
| 236 | <groupId>commons-codec</groupId> |
| 237 | <artifactId>commons-codec</artifactId> |
ChrisC | a6dcb04 | 2021-05-07 12:38:57 +0200 | [diff] [blame] | 238 | <version>1.15</version> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 239 | </dependency> |
| 240 | <dependency> |
| 241 | <groupId>org.onap.sdc.sdc-be-common</groupId> |
| 242 | <artifactId>session-lib</artifactId> |
| 243 | <version>1.6.0</version> |
ChrisC | a6dcb04 | 2021-05-07 12:38:57 +0200 | [diff] [blame] | 244 | <exclusions> |
| 245 | <exclusion> |
| 246 | <artifactId>objenesis</artifactId> |
| 247 | <groupId>org.objenesis</groupId> |
| 248 | </exclusion> |
| 249 | </exclusions> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 250 | </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> |
ChrisC | a6dcb04 | 2021-05-07 12:38:57 +0200 | [diff] [blame] | 271 | <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> |
vasraz | 57cd61b | 2021-07-21 14:13:56 +0100 | [diff] [blame] | 287 | <exclusion> |
| 288 | <groupId>io.netty</groupId> |
| 289 | <artifactId>netty-handler</artifactId> |
| 290 | </exclusion> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 291 | </exclusions> |
| 292 | </dependency> |
vasraz | ec0ce12 | 2021-05-24 19:06:50 +0100 | [diff] [blame] | 293 | <dependency> |
xuegao | c51038a | 2020-09-18 10:22:19 +0200 | [diff] [blame] | 294 | <groupId>javax.xml.bind</groupId> |
| 295 | <artifactId>jaxb-api</artifactId> |
| 296 | <version>${jaxb.api.version}</version> |
| 297 | </dependency> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 298 | </dependencies> |
| 299 | |
| 300 | <build> |
| 301 | <plugins> |
| 302 | <plugin> |
| 303 | <groupId>org.apache.maven.plugins</groupId> |
| 304 | <artifactId>maven-compiler-plugin</artifactId> |
vasraz | ec0ce12 | 2021-05-24 19:06:50 +0100 | [diff] [blame] | 305 | <version>3.8.1</version> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 306 | </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> |
vasraz | ec0ce12 | 2021-05-24 19:06:50 +0100 | [diff] [blame] | 331 | <groupId>org.apache.maven.plugins</groupId> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 332 | <artifactId>maven-resources-plugin</artifactId> |
vasraz | ec0ce12 | 2021-05-24 19:06:50 +0100 | [diff] [blame] | 333 | <version>3.2.0</version> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 334 | <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> |
sebdet | 264a5c6 | 2020-06-16 12:10:00 +0200 | [diff] [blame] | 362 | <tag>latest</tag> |
| 363 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 364 | <tag>${project.docker.latesttag.version}</tag> |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 365 | </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> |