ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Rob Daugherty | e800051 | 2018-08-01 00:02:38 -0400 | [diff] [blame] | 3 | |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 4 | <modelVersion>4.0.0</modelVersion> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 5 | |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 6 | <parent> |
| 7 | <groupId>org.onap.so</groupId> |
| 8 | <artifactId>packages</artifactId> |
seshukm | adbd1c4 | 2020-08-03 19:23:51 +0530 | [diff] [blame] | 9 | <version>1.7.1-SNAPSHOT</version> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 10 | </parent> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 11 | |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 12 | <packaging>pom</packaging> |
| 13 | <artifactId>docker</artifactId> |
| 14 | <name>Docker Images</name> |
| 15 | <description>Docker Images</description> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 16 | |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 17 | <properties> |
| 18 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 19 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 20 | <so.project.version>${project.version}</so.project.version> |
| 21 | <docker.skip>false</docker.skip> |
| 22 | <docker.skip.build>false</docker.skip.build> |
| 23 | <docker.skip.push>false</docker.skip.push> |
| 24 | <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry> |
| 25 | <docker.push.registry>nexus3.onap.org:10003</docker.push.registry> |
| 26 | <docker.image.prefix>onap/so</docker.image.prefix> |
| 27 | <docker.push.phase>deploy</docker.push.phase> |
| 28 | </properties> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 29 | |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 30 | <build> |
| 31 | <finalName>${project.artifactId}-${project.version}</finalName> |
| 32 | <plugins> |
| 33 | <plugin> |
| 34 | <groupId>org.codehaus.groovy.maven</groupId> |
| 35 | <artifactId>gmaven-plugin</artifactId> |
| 36 | <version>1.0</version> |
| 37 | <executions> |
| 38 | <execution> |
| 39 | <phase>validate</phase> |
| 40 | <goals> |
| 41 | <goal>execute</goal> |
| 42 | </goals> |
| 43 | <configuration> |
| 44 | <source> |
waqas.ikram | 2374566 | 2020-03-04 15:09:52 +0000 | [diff] [blame] | 45 | println 'Project version: ' + project.properties['so.project.version']; |
| 46 | def versionArray; |
| 47 | if ( project.properties['so.project.version'] != null ) { |
| 48 | versionArray = project.properties['so.project.version'].split('-'); |
| 49 | } |
Rob Daugherty | e800051 | 2018-08-01 00:02:38 -0400 | [diff] [blame] | 50 | |
waqas.ikram | 2374566 | 2020-03-04 15:09:52 +0000 | [diff] [blame] | 51 | if ( project.properties['so.project.version'].endsWith("-SNAPSHOT") ) { |
| 52 | project.properties['project.docker.latesttag.version']=versionArray[0] + "-SNAPSHOT-latest"; |
| 53 | } else { |
| 54 | project.properties['project.docker.latesttag.version']=versionArray[0] + "-STAGING-latest"; |
| 55 | } |
Rob Daugherty | e800051 | 2018-08-01 00:02:38 -0400 | [diff] [blame] | 56 | |
waqas.ikram | 2374566 | 2020-03-04 15:09:52 +0000 | [diff] [blame] | 57 | println 'New tag for docker: ' + project.properties['project.docker.latesttag.version']; |
| 58 | </source> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 59 | </configuration> |
| 60 | </execution> |
| 61 | </executions> |
| 62 | </plugin> |
Rob Daugherty | e800051 | 2018-08-01 00:02:38 -0400 | [diff] [blame] | 63 | |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 64 | <plugin> |
| 65 | <groupId>io.fabric8</groupId> |
| 66 | <artifactId>docker-maven-plugin</artifactId> |
| 67 | <version>0.31.0</version> |
Benjamin, Max (mb388a) | 617dd58 | 2020-05-29 14:13:54 -0400 | [diff] [blame] | 68 | <configuration combine.self="override"> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 69 | <verbose>true</verbose> |
| 70 | <apiVersion>1.23</apiVersion> |
| 71 | <pullRegistry>${docker.pull.registry}</pullRegistry> |
| 72 | <pushRegistry>${docker.push.registry}</pushRegistry> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 73 | <images> |
| 74 | <image> |
| 75 | <name>${docker.image.prefix}/base-image:1.0</name> |
| 76 | <build> |
| 77 | <cleanup>try</cleanup> |
Sylvain Desbureaux | cba4fd1 | 2020-03-06 17:52:04 +0100 | [diff] [blame] | 78 | <dockerFile>docker-files/Dockerfile.so-base-image</dockerFile> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 79 | </build> |
| 80 | </image> |
| 81 | <image> |
| 82 | <name>${docker.image.prefix}/vnfm-adapter</name> |
| 83 | <build> |
| 84 | <cleanup>try</cleanup> |
Sylvain Desbureaux | cba4fd1 | 2020-03-06 17:52:04 +0100 | [diff] [blame] | 85 | <dockerFile>docker-files/Dockerfile.so-app</dockerFile> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 86 | <tags> |
| 87 | <tag>${project.version}</tag> |
| 88 | <tag>${project.version}-${maven.build.timestamp}</tag> |
| 89 | <tag>${project.docker.latesttag.version}</tag> |
| 90 | </tags> |
| 91 | <assembly> |
| 92 | <inline> |
| 93 | <dependencySets> |
| 94 | <dependencySet> |
| 95 | <includes> |
waqas.ikram | 12bfb7b | 2020-04-08 15:48:21 +0100 | [diff] [blame] | 96 | <include>org.onap.so.adapters:etsi-sol003-adapter-application</include> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 97 | </includes> |
| 98 | <outputFileNameMapping>app.jar</outputFileNameMapping> |
| 99 | </dependencySet> |
| 100 | </dependencySets> |
| 101 | </inline> |
| 102 | </assembly> |
| 103 | </build> |
| 104 | </image> |
sekharhuawei | 0fbda34 | 2020-08-06 15:43:57 +0530 | [diff] [blame] | 105 | <image> |
| 106 | <name>${docker.image.prefix}/mso-cnf-adapter</name> |
| 107 | <build> |
| 108 | <cleanup>try</cleanup> |
| 109 | <dockerFile>docker-files/Dockerfile.mso-cnf-adapter</dockerFile> |
| 110 | <tags> |
| 111 | <tag>${project.version}</tag> |
| 112 | <tag>${project.version}-${maven.build.timestamp}</tag> |
| 113 | <tag>${project.docker.latesttag.version}</tag> |
| 114 | </tags> |
| 115 | <assembly> |
| 116 | <inline> |
| 117 | <dependencySets> |
| 118 | <dependencySet> |
| 119 | <includes> |
| 120 | <include>org.onap.so.adapters:mso-cnf-adapter</include> |
| 121 | </includes> |
| 122 | <outputFileNameMapping>app.jar</outputFileNameMapping> |
| 123 | </dependencySet> |
| 124 | </dependencySets> |
| 125 | </inline> |
| 126 | </assembly> |
| 127 | </build> |
| 128 | </image> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 129 | <image> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 130 | <name>${docker.image.prefix}/catalog-db-adapter</name> |
| 131 | <build> |
| 132 | <cleanup>try</cleanup> |
Sylvain Desbureaux | cba4fd1 | 2020-03-06 17:52:04 +0100 | [diff] [blame] | 133 | <dockerFile>docker-files/Dockerfile.so-app</dockerFile> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 134 | <tags> |
| 135 | <tag>${project.version}</tag> |
| 136 | <tag>${project.version}-${maven.build.timestamp}</tag> |
| 137 | <tag>${project.docker.latesttag.version}</tag> |
| 138 | </tags> |
| 139 | <assembly> |
| 140 | <inline> |
| 141 | <dependencySets> |
| 142 | <dependencySet> |
| 143 | <includes> |
| 144 | <include>org.onap.so.adapters:mso-catalog-db-adapter</include> |
| 145 | </includes> |
| 146 | <outputFileNameMapping>app.jar</outputFileNameMapping> |
| 147 | </dependencySet> |
| 148 | </dependencySets> |
| 149 | </inline> |
| 150 | </assembly> |
| 151 | </build> |
| 152 | </image> |
| 153 | <image> |
| 154 | <name>${docker.image.prefix}/request-db-adapter</name> |
| 155 | <build> |
| 156 | <cleanup>try</cleanup> |
Sylvain Desbureaux | cba4fd1 | 2020-03-06 17:52:04 +0100 | [diff] [blame] | 157 | <dockerFile>docker-files/Dockerfile.so-app</dockerFile> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 158 | <tags> |
| 159 | <tag>${project.version}</tag> |
| 160 | <tag>${project.version}-${maven.build.timestamp}</tag> |
| 161 | <tag>${project.docker.latesttag.version}</tag> |
| 162 | </tags> |
| 163 | <assembly> |
| 164 | <inline> |
| 165 | <dependencySets> |
| 166 | <dependencySet> |
| 167 | <includes> |
| 168 | <include>org.onap.so.adapters:mso-requests-db-adapter</include> |
| 169 | </includes> |
| 170 | <outputFileNameMapping>app.jar</outputFileNameMapping> |
| 171 | </dependencySet> |
| 172 | </dependencySets> |
| 173 | </inline> |
| 174 | </assembly> |
| 175 | </build> |
| 176 | </image> |
| 177 | <image> |
| 178 | <name>${docker.image.prefix}/sdnc-adapter</name> |
| 179 | <build> |
| 180 | <cleanup>try</cleanup> |
Sylvain Desbureaux | cba4fd1 | 2020-03-06 17:52:04 +0100 | [diff] [blame] | 181 | <dockerFile>docker-files/Dockerfile.so-app</dockerFile> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 182 | <tags> |
| 183 | <tag>${project.version}</tag> |
| 184 | <tag>${project.version}-${maven.build.timestamp}</tag> |
| 185 | <tag>${project.docker.latesttag.version}</tag> |
| 186 | </tags> |
| 187 | <assembly> |
| 188 | <inline> |
| 189 | <dependencySets> |
| 190 | <dependencySet> |
| 191 | <includes> |
| 192 | <include>org.onap.so:mso-sdnc-adapter</include> |
| 193 | </includes> |
| 194 | <outputFileNameMapping>app.jar</outputFileNameMapping> |
| 195 | </dependencySet> |
| 196 | </dependencySets> |
| 197 | </inline> |
| 198 | </assembly> |
| 199 | </build> |
| 200 | </image> |
| 201 | <image> |
| 202 | <name>${docker.image.prefix}/openstack-adapter</name> |
| 203 | <build> |
| 204 | <cleanup>try</cleanup> |
Sylvain Desbureaux | cba4fd1 | 2020-03-06 17:52:04 +0100 | [diff] [blame] | 205 | <dockerFile>docker-files/Dockerfile.so-app</dockerFile> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 206 | <tags> |
| 207 | <tag>${project.version}</tag> |
| 208 | <tag>${project.version}-${maven.build.timestamp}</tag> |
| 209 | <tag>${project.docker.latesttag.version}</tag> |
| 210 | </tags> |
| 211 | <assembly> |
| 212 | <inline> |
| 213 | <dependencySets> |
| 214 | <dependencySet> |
| 215 | <includes> |
| 216 | <include>org.onap.so:mso-openstack-adapters</include> |
| 217 | </includes> |
| 218 | <outputFileNameMapping>app.jar</outputFileNameMapping> |
| 219 | </dependencySet> |
| 220 | </dependencySets> |
| 221 | </inline> |
| 222 | </assembly> |
| 223 | </build> |
| 224 | </image> |
| 225 | <image> |
| 226 | <name>${docker.image.prefix}/vfc-adapter</name> |
| 227 | <build> |
| 228 | <cleanup>try</cleanup> |
Sylvain Desbureaux | cba4fd1 | 2020-03-06 17:52:04 +0100 | [diff] [blame] | 229 | <dockerFile>docker-files/Dockerfile.so-app</dockerFile> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 230 | <tags> |
| 231 | <tag>${project.version}</tag> |
| 232 | <tag>${project.version}-${maven.build.timestamp}</tag> |
| 233 | <tag>${project.docker.latesttag.version}</tag> |
| 234 | </tags> |
| 235 | <assembly> |
| 236 | <inline> |
| 237 | <dependencySets> |
| 238 | <dependencySet> |
| 239 | <includes> |
| 240 | <include>org.onap.so.adapters:mso-vfc-adapter</include> |
| 241 | </includes> |
| 242 | <outputFileNameMapping>app.jar</outputFileNameMapping> |
| 243 | </dependencySet> |
| 244 | </dependencySets> |
| 245 | </inline> |
| 246 | </assembly> |
| 247 | </build> |
| 248 | </image> |
| 249 | <image> |
waqas.ikram | 12bfb7b | 2020-04-08 15:48:21 +0100 | [diff] [blame] | 250 | <name>${docker.image.prefix}/nssmf-adapter</name> |
jananib | c3cdf1c | 2020-02-27 17:40:55 +0530 | [diff] [blame] | 251 | <build> |
waqas.ikram | 12bfb7b | 2020-04-08 15:48:21 +0100 | [diff] [blame] | 252 | <cleanup>try</cleanup> |
jananib | 2dbccbe | 2020-04-30 04:40:13 +0530 | [diff] [blame] | 253 | <dockerFile>docker-files/Dockerfile.so-nssmf-adapter</dockerFile> |
waqas.ikram | 12bfb7b | 2020-04-08 15:48:21 +0100 | [diff] [blame] | 254 | <tags> |
| 255 | <tag>${project.version}</tag> |
| 256 | <tag>${project.version}-${maven.build.timestamp}</tag> |
| 257 | <tag>${project.docker.latesttag.version}</tag> |
| 258 | </tags> |
| 259 | <assembly> |
| 260 | <inline> |
| 261 | <dependencySets> |
| 262 | <dependencySet> |
| 263 | <includes> |
| 264 | <include>org.onap.so.adapters:mso-nssmf-adapter</include> |
| 265 | </includes> |
| 266 | <outputFileNameMapping>app.jar</outputFileNameMapping> |
| 267 | </dependencySet> |
| 268 | </dependencySets> |
| 269 | </inline> |
| 270 | </assembly> |
| 271 | </build> |
| 272 | </image> |
jananib | c3cdf1c | 2020-02-27 17:40:55 +0530 | [diff] [blame] | 273 | <image> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 274 | <name>${docker.image.prefix}/so-appc-orchestrator</name> |
| 275 | <build> |
| 276 | <cleanup>try</cleanup> |
Sylvain Desbureaux | cba4fd1 | 2020-03-06 17:52:04 +0100 | [diff] [blame] | 277 | <dockerFile>docker-files/Dockerfile.so-app</dockerFile> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 278 | <tags> |
| 279 | <tag>${project.version}</tag> |
| 280 | <tag>${project.version}-${maven.build.timestamp}</tag> |
| 281 | <tag>${project.docker.latesttag.version}</tag> |
| 282 | </tags> |
| 283 | <assembly> |
| 284 | <inline> |
| 285 | <dependencySets> |
| 286 | <dependencySet> |
| 287 | <includes> |
| 288 | <include>org.onap.so.adapters:so-appc-orchestrator</include> |
| 289 | </includes> |
| 290 | <outputFileNameMapping>app.jar</outputFileNameMapping> |
| 291 | </dependencySet> |
| 292 | </dependencySets> |
| 293 | </inline> |
| 294 | </assembly> |
| 295 | </build> |
| 296 | </image> |
| 297 | <image> |
| 298 | <name>${docker.image.prefix}/sdc-controller</name> |
| 299 | <build> |
| 300 | <cleanup>try</cleanup> |
Sylvain Desbureaux | cba4fd1 | 2020-03-06 17:52:04 +0100 | [diff] [blame] | 301 | <dockerFile>docker-files/Dockerfile.so-app</dockerFile> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 302 | <tags> |
| 303 | <tag>${project.version}</tag> |
| 304 | <tag>${project.version}-${maven.build.timestamp}</tag> |
| 305 | <tag>${project.docker.latesttag.version}</tag> |
| 306 | </tags> |
| 307 | <assembly> |
| 308 | <inline> |
| 309 | <dependencySets> |
| 310 | <dependencySet> |
| 311 | <includes> |
| 312 | <include>org.onap.so:asdc-controller</include> |
| 313 | </includes> |
| 314 | <outputFileNameMapping>app.jar</outputFileNameMapping> |
| 315 | </dependencySet> |
| 316 | </dependencySets> |
| 317 | </inline> |
| 318 | </assembly> |
| 319 | </build> |
| 320 | </image> |
| 321 | <image> |
| 322 | <name>${docker.image.prefix}/bpmn-infra</name> |
| 323 | <build> |
| 324 | <cleanup>try</cleanup> |
Sylvain Desbureaux | cba4fd1 | 2020-03-06 17:52:04 +0100 | [diff] [blame] | 325 | <dockerFile>docker-files/Dockerfile.so-app</dockerFile> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 326 | <tags> |
| 327 | <tag>${project.version}</tag> |
| 328 | <tag>${project.version}-${maven.build.timestamp}</tag> |
| 329 | <tag>${project.docker.latesttag.version}</tag> |
| 330 | </tags> |
| 331 | <assembly> |
| 332 | <inline> |
| 333 | <dependencySets> |
| 334 | <dependencySet> |
| 335 | <includes> |
| 336 | <include>org.onap.so:mso-infrastructure-bpmn</include> |
| 337 | </includes> |
| 338 | <outputFileNameMapping>app.jar</outputFileNameMapping> |
| 339 | </dependencySet> |
| 340 | </dependencySets> |
| 341 | </inline> |
| 342 | </assembly> |
| 343 | </build> |
| 344 | </image> |
| 345 | <image> |
| 346 | <name>${docker.image.prefix}/api-handler-infra</name> |
| 347 | <build> |
| 348 | <cleanup>try</cleanup> |
Sylvain Desbureaux | cba4fd1 | 2020-03-06 17:52:04 +0100 | [diff] [blame] | 349 | <dockerFile>docker-files/Dockerfile.so-app</dockerFile> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 350 | <tags> |
| 351 | <tag>${project.version}</tag> |
| 352 | <tag>${project.version}-${maven.build.timestamp}</tag> |
| 353 | <tag>${project.docker.latesttag.version}</tag> |
| 354 | </tags> |
| 355 | <assembly> |
| 356 | <inline> |
| 357 | <dependencySets> |
| 358 | <dependencySet> |
| 359 | <includes> |
| 360 | <include>org.onap.so:mso-api-handler-infra</include> |
| 361 | </includes> |
| 362 | <outputFileNameMapping>app.jar</outputFileNameMapping> |
| 363 | </dependencySet> |
| 364 | </dependencySets> |
| 365 | </inline> |
| 366 | </assembly> |
| 367 | </build> |
| 368 | </image> |
| 369 | <image> |
| 370 | <name>${docker.image.prefix}/so-monitoring</name> |
| 371 | <build> |
| 372 | <cleanup>try</cleanup> |
Sylvain Desbureaux | cba4fd1 | 2020-03-06 17:52:04 +0100 | [diff] [blame] | 373 | <dockerFile>docker-files/Dockerfile.so-app</dockerFile> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 374 | <tags> |
| 375 | <tag>${project.version}</tag> |
| 376 | <tag>${project.version}-${maven.build.timestamp}</tag> |
| 377 | <tag>${project.docker.latesttag.version}</tag> |
| 378 | </tags> |
| 379 | <assembly> |
| 380 | <inline> |
| 381 | <dependencySets> |
| 382 | <dependencySet> |
| 383 | <includes> |
| 384 | <include>org.onap.so.monitoring:so-monitoring-service</include> |
| 385 | </includes> |
| 386 | <outputFileNameMapping>app.jar</outputFileNameMapping> |
| 387 | </dependencySet> |
| 388 | </dependencySets> |
| 389 | </inline> |
| 390 | </assembly> |
| 391 | </build> |
| 392 | </image> |
| 393 | <image> |
| 394 | <name>${docker.image.prefix}/so-simulator</name> |
| 395 | <build> |
| 396 | <cleanup>try</cleanup> |
Sylvain Desbureaux | cba4fd1 | 2020-03-06 17:52:04 +0100 | [diff] [blame] | 397 | <dockerFile>docker-files/Dockerfile.so-app</dockerFile> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 398 | <tags> |
| 399 | <tag>${project.version}</tag> |
| 400 | <tag>${project.version}-${maven.build.timestamp}</tag> |
| 401 | <tag>${project.docker.latesttag.version}</tag> |
| 402 | </tags> |
| 403 | <assembly> |
| 404 | <inline> |
| 405 | <dependencySets> |
| 406 | <dependencySet> |
| 407 | <includes> |
Remigiusz Janeczek | b02ea7d | 2020-02-17 10:17:11 +0100 | [diff] [blame] | 408 | <include>org.onap.so.simulator:so-simulator</include> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 409 | </includes> |
| 410 | <outputFileNameMapping>app.jar</outputFileNameMapping> |
| 411 | </dependencySet> |
| 412 | </dependencySets> |
| 413 | </inline> |
| 414 | </assembly> |
| 415 | </build> |
| 416 | </image> |
waqas.ikram | 5cb70ec | 2020-08-14 13:01:59 +0100 | [diff] [blame^] | 417 | <image> |
| 418 | <name>${docker.image.prefix}/so-etsi-nfvo-ns-lcm</name> |
| 419 | <build> |
| 420 | <cleanup>try</cleanup> |
| 421 | <dockerFile>docker-files/Dockerfile.so-app</dockerFile> |
| 422 | <tags> |
| 423 | <tag>${project.version}</tag> |
| 424 | <tag>${project.version}-${maven.build.timestamp}</tag> |
| 425 | <tag>${project.docker.latesttag.version}</tag> |
| 426 | </tags> |
| 427 | <assembly> |
| 428 | <inline> |
| 429 | <dependencySets> |
| 430 | <dependencySet> |
| 431 | <includes> |
| 432 | <include>org.onap.so.etsi.nfvo:so-etsi-nfvo-ns-lcm-application</include> |
| 433 | </includes> |
| 434 | <outputFileNameMapping>app.jar</outputFileNameMapping> |
| 435 | </dependencySet> |
| 436 | </dependencySets> |
| 437 | </inline> |
| 438 | </assembly> |
| 439 | </build> |
| 440 | </image> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 441 | </images> |
| 442 | </configuration> |
Rob Daugherty | e800051 | 2018-08-01 00:02:38 -0400 | [diff] [blame] | 443 | |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 444 | <executions> |
| 445 | <execution> |
| 446 | <id>clean-images</id> |
| 447 | <phase>pre-clean</phase> |
| 448 | <goals> |
| 449 | <goal>remove</goal> |
| 450 | </goals> |
| 451 | <configuration> |
| 452 | <removeAll>true</removeAll> |
| 453 | </configuration> |
| 454 | </execution> |
Anaël Closson | f15b97e | 2017-02-08 10:46:48 +0100 | [diff] [blame] | 455 | |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 456 | <execution> |
| 457 | <id>generate-images</id> |
| 458 | <phase>generate-sources</phase> |
| 459 | <goals> |
| 460 | <goal>build</goal> |
| 461 | </goals> |
| 462 | </execution> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 463 | |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 464 | <execution> |
| 465 | <id>push-images</id> |
| 466 | <phase>${docker.push.phase}</phase> |
| 467 | <goals> |
| 468 | <goal>build</goal> |
| 469 | <goal>push</goal> |
| 470 | </goals> |
| 471 | <configuration> |
waqas.ikram | 5cb70ec | 2020-08-14 13:01:59 +0100 | [diff] [blame^] | 472 | <image>${docker.image.prefix}/catalog-db-adapter,${docker.image.prefix}/request-db-adapter,${docker.image.prefix}/sdnc-adapter,${docker.image.prefix}/openstack-adapter,${docker.image.prefix}/vfc-adapter,${docker.image.prefix}/sdc-controller,${docker.image.prefix}/bpmn-infra,${docker.image.prefix}/api-handler-infra,${docker.image.prefix}/so-monitoring,${docker.image.prefix}/so-simulator,${docker.image.prefix}/mso-nssmf-adapter,${docker.image.prefix}/mso-cnf-adapter,${docker.image.prefix}/so-etsi-nfvo-ns-lcm</image> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 473 | </configuration> |
| 474 | </execution> |
| 475 | </executions> |
| 476 | </plugin> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 477 | |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 478 | <plugin> |
| 479 | <groupId>org.apache.maven.plugins</groupId> |
| 480 | <artifactId>maven-deploy-plugin</artifactId> |
| 481 | <version>2.8</version> |
| 482 | <configuration> |
| 483 | <skip>true</skip> |
| 484 | </configuration> |
| 485 | </plugin> |
| 486 | </plugins> |
| 487 | </build> |
ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame] | 488 | |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 489 | <dependencies> |
| 490 | <dependency> |
| 491 | <groupId>org.onap.so.adapters</groupId> |
waqas.ikram | 12bfb7b | 2020-04-08 15:48:21 +0100 | [diff] [blame] | 492 | <artifactId>etsi-sol003-adapter-application</artifactId> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 493 | <version>${project.version}</version> |
| 494 | </dependency> |
| 495 | <dependency> |
| 496 | <groupId>org.onap.so.adapters</groupId> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 497 | <artifactId>mso-catalog-db-adapter</artifactId> |
| 498 | <version>${project.version}</version> |
| 499 | </dependency> |
| 500 | <dependency> |
| 501 | <groupId>org.onap.so.adapters</groupId> |
sekharhuawei | 0fbda34 | 2020-08-06 15:43:57 +0530 | [diff] [blame] | 502 | <artifactId>mso-cnf-adapter</artifactId> |
| 503 | <version>${project.version}</version> |
| 504 | </dependency> |
| 505 | <dependency> |
| 506 | <groupId>org.onap.so.adapters</groupId> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 507 | <artifactId>mso-requests-db-adapter</artifactId> |
| 508 | <version>${project.version}</version> |
| 509 | </dependency> |
| 510 | <dependency> |
| 511 | <groupId>org.onap.so</groupId> |
| 512 | <artifactId>mso-sdnc-adapter</artifactId> |
| 513 | <version>${project.version}</version> |
| 514 | </dependency> |
| 515 | <dependency> |
| 516 | <groupId>org.onap.so</groupId> |
| 517 | <artifactId>mso-openstack-adapters</artifactId> |
| 518 | <version>${project.version}</version> |
| 519 | </dependency> |
| 520 | <dependency> |
| 521 | <groupId>org.onap.so.adapters</groupId> |
| 522 | <artifactId>mso-vfc-adapter</artifactId> |
| 523 | <version>${project.version}</version> |
| 524 | </dependency> |
| 525 | <dependency> |
| 526 | <groupId>org.onap.so.adapters</groupId> |
jananib | c3cdf1c | 2020-02-27 17:40:55 +0530 | [diff] [blame] | 527 | <artifactId>mso-nssmf-adapter</artifactId> |
| 528 | <version>${project.version}</version> |
| 529 | </dependency> |
| 530 | <dependency> |
| 531 | <groupId>org.onap.so.adapters</groupId> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 532 | <artifactId>so-appc-orchestrator</artifactId> |
| 533 | <version>${project.version}</version> |
| 534 | </dependency> |
| 535 | <dependency> |
| 536 | <groupId>org.onap.so</groupId> |
| 537 | <artifactId>asdc-controller</artifactId> |
| 538 | <version>${project.version}</version> |
| 539 | </dependency> |
| 540 | <dependency> |
| 541 | <groupId>org.onap.so</groupId> |
| 542 | <artifactId>mso-infrastructure-bpmn</artifactId> |
| 543 | <version>${project.version}</version> |
| 544 | </dependency> |
| 545 | <dependency> |
| 546 | <groupId>org.onap.so</groupId> |
| 547 | <artifactId>mso-api-handler-infra</artifactId> |
| 548 | <version>${project.version}</version> |
| 549 | </dependency> |
| 550 | <dependency> |
| 551 | <groupId>org.onap.so.monitoring</groupId> |
| 552 | <artifactId>so-monitoring-service</artifactId> |
| 553 | <version>${project.version}</version> |
| 554 | </dependency> |
| 555 | <dependency> |
Remigiusz Janeczek | b02ea7d | 2020-02-17 10:17:11 +0100 | [diff] [blame] | 556 | <groupId>org.onap.so.simulator</groupId> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 557 | <artifactId>so-simulator</artifactId> |
| 558 | <version>${project.version}</version> |
| 559 | </dependency> |
waqas.ikram | 5cb70ec | 2020-08-14 13:01:59 +0100 | [diff] [blame^] | 560 | <dependency> |
| 561 | <groupId>org.onap.so.etsi.nfvo</groupId> |
| 562 | <artifactId>so-etsi-nfvo-ns-lcm-application</artifactId> |
| 563 | <version>${project.version}</version> |
| 564 | </dependency> |
Piotr Borelowski | 361511c | 2020-02-11 10:00:02 +0100 | [diff] [blame] | 565 | </dependencies> |
Anaël Closson | f15b97e | 2017-02-08 10:46:48 +0100 | [diff] [blame] | 566 | </project> |