blob: a25d2fbd944e142a77886aa67a064443db778525 [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>
ChrisC96b16ae2020-10-30 16:48:10 +010013 <version>1.8.0-SNAPSHOT</version>
vasraz6dc58fd2019-10-02 12:08:49 +010014 </parent>
15
16 <properties>
17 <spring.boot.version>2.1.0.RELEASE</spring.boot.version>
18 <mapstruct.version>1.3.1.Final</mapstruct.version>
19 <lombok.version>1.18.0</lombok.version>
20 <springfox.version>2.8.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>
53 <artifactId>spring-boot-starter-data-cassandra</artifactId>
54 </dependency>
55 <dependency>
56 <groupId>org.springframework.boot</groupId>
57 <artifactId>spring-boot-devtools</artifactId>
58 <scope>runtime</scope>
59 </dependency>
60 <dependency>
61 <groupId>org.springframework.boot</groupId>
62 <artifactId>spring-boot-starter-test</artifactId>
63 <scope>test</scope>
64 </dependency>
65 <dependency>
66 <groupId>io.springfox</groupId>
67 <artifactId>springfox-swagger-ui</artifactId>
68 <version>${springfox.version}</version>
69 </dependency>
70 <dependency>
71 <groupId>io.springfox</groupId>
72 <artifactId>springfox-swagger2</artifactId>
73 <version>${springfox.version}</version>
74 </dependency>
75 <dependency>
76 <groupId>org.openecomp.sdc</groupId>
77 <artifactId>openecomp-sdc-logging-api</artifactId>
78 <version>${onap.version}</version>
79 </dependency>
80 <dependency>
81 <groupId>org.openecomp.sdc</groupId>
82 <artifactId>openecomp-sdc-logging-spring</artifactId>
83 <version>${onap.version}</version>
84 </dependency>
85 <dependency>
86 <groupId>org.openecomp.sdc</groupId>
87 <artifactId>openecomp-sdc-logging-core</artifactId>
88 <version>${onap.version}</version>
89 <scope>runtime</scope>
90 </dependency>
91 <dependency>
92 <groupId>ch.qos.logback</groupId>
93 <artifactId>logback-classic</artifactId>
94 <scope>runtime</scope>
95 </dependency>
96 <dependency>
97 <groupId>org.apache.httpcomponents</groupId>
98 <artifactId>httpclient</artifactId>
99 </dependency>
100 <dependency>
101 <groupId>org.mapstruct</groupId>
102 <artifactId>mapstruct</artifactId>
103 <version>${mapstruct.version}</version>
104 </dependency>
105 <dependency>
106 <groupId>org.mapstruct</groupId>
107 <artifactId>mapstruct-processor</artifactId>
108 <version>${mapstruct.version}</version>
109 <scope>provided</scope>
110 </dependency>
111 <dependency>
112 <groupId>org.projectlombok</groupId>
113 <artifactId>lombok</artifactId>
114 <version>${lombok.version}</version>
115 <scope>provided</scope>
116 </dependency>
117 <dependency>
118 <groupId>org.springframework.boot</groupId>
119 <artifactId>spring-boot-starter-actuator</artifactId>
120 <scope>provided</scope>
121 </dependency>
122 <dependency>
123 <groupId>org.apache.commons</groupId>
124 <artifactId>commons-text</artifactId>
125 <version>1.3</version>
126 </dependency>
127 <dependency>
128 <groupId>commons-io</groupId>
129 <artifactId>commons-io</artifactId>
130 <version>2.6</version>
131 </dependency>
132 <dependency>
133 <groupId>commons-codec</groupId>
134 <artifactId>commons-codec</artifactId>
135 <version>1.9</version>
136 </dependency>
137 <dependency>
138 <groupId>org.onap.sdc.sdc-be-common</groupId>
139 <artifactId>session-lib</artifactId>
140 <version>1.6.0</version>
141 </dependency>
142 <dependency>
143 <groupId>org.onap.sdc.sdc-be-common</groupId>
144 <artifactId>versioning-lib</artifactId>
145 <version>1.6.0</version>
146 <exclusions>
147 <exclusion>
148 <groupId>org.springframework.boot</groupId>
149 <artifactId>spring-boot-starter-data-cassandra</artifactId>
150 </exclusion>
151 </exclusions>
152 </dependency>
153 <dependency>
154 <groupId>org.onap.sdc.sdc-be-common</groupId>
155 <artifactId>zusammen-lib</artifactId>
156 <version>1.6.0</version>
157 <exclusions>
158 <exclusion>
159 <groupId>org.springframework.boot</groupId>
160 <artifactId>spring-boot-starter-data-cassandra</artifactId>
161 </exclusion>
162 </exclusions>
163 </dependency>
xuegaoc51038a2020-09-18 10:22:19 +0200164 <dependency>
165 <groupId>javax.xml.bind</groupId>
166 <artifactId>jaxb-api</artifactId>
167 <version>${jaxb.api.version}</version>
168 </dependency>
vasraz6dc58fd2019-10-02 12:08:49 +0100169 </dependencies>
170
171 <build>
172 <plugins>
173 <plugin>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-compiler-plugin</artifactId>
176 <version>3.5.1</version>
177 </plugin>
178 <plugin>
179 <groupId>org.springframework.boot</groupId>
180 <artifactId>spring-boot-maven-plugin</artifactId>
181 <version>${spring.boot.version}</version>
182 <executions>
183 <execution>
184 <goals>
185 <goal>repackage</goal>
186 </goals>
187 </execution>
188 </executions>
189 </plugin>
190 </plugins>
191 </build>
192
193 <profiles>
194 <profile>
195 <id>docker</id>
196 <activation>
197 <activeByDefault>false</activeByDefault>
198 </activation>
199 <build>
200 <plugins>
201 <plugin>
202 <artifactId>maven-resources-plugin</artifactId>
203 <version>2.6</version>
204 <executions>
205 <execution>
206 <id>copy-resources-docker</id>
207 <phase>install</phase>
208 <goals>
209 <goal>copy-resources</goal>
210 </goals>
211 <configuration>
212 <outputDirectory>${basedir}/docker</outputDirectory>
213 <resources>
214 <resource>
215 <directory>${project.build.directory}</directory>
216 <include>${project.build.finalName}.jar</include>
217 </resource>
218 </resources>
219 </configuration>
220 </execution>
221 </executions>
222 </plugin>
223 <plugin>
224 <groupId>io.fabric8</groupId>
225 <artifactId>docker-maven-plugin</artifactId>
226 <configuration>
227 <images>
228 <image>
229 <name>onap/sdc-workflow-backend</name>
230 <build>
231 <tags>
sebdet264a5c62020-06-16 12:10:00 +0200232 <tag>latest</tag>
233 <tag>${project.docker.latesttagtimestamp.version}</tag>
234 <tag>${project.docker.latesttag.version}</tag>
vasraz6dc58fd2019-10-02 12:08:49 +0100235 </tags>
236 <dockerFileDir>${project.basedir}/docker</dockerFileDir>
237 <args>
238 <ARTIFACT>${project.build.finalName}.jar</ARTIFACT>
239 </args>
240 </build>
241 </image>
242 </images>
243 </configuration>
244 </plugin>
245 </plugins>
246 </build>
247 </profile>
248 </profiles>
249
250</project>
251