Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 3 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 4 | <modelVersion>4.0.0</modelVersion> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 5 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 6 | <artifactId>sdc-os-chef</artifactId> |
Tal Gitelman | 0c3b189 | 2017-10-04 16:56:23 +0300 | [diff] [blame] | 7 | <packaging>pom</packaging> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 8 | |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 9 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 10 | <parent> |
| 11 | <groupId>org.openecomp.sdc</groupId> |
| 12 | <artifactId>sdc-main</artifactId> |
MichaelMorris | 38812c3 | 2023-06-02 10:04:31 +0100 | [diff] [blame] | 13 | <version>1.13.0-SNAPSHOT</version> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 14 | </parent> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 15 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 16 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 17 | <build> |
| 18 | <plugins> |
| 19 | <plugin> |
dekstroza | 37843cb | 2018-05-18 14:42:24 +0100 | [diff] [blame] | 20 | <groupId>com.github.sylvainlaurent.maven</groupId> |
| 21 | <artifactId>yaml-json-validator-maven-plugin</artifactId> |
| 22 | <executions> |
| 23 | <execution> |
| 24 | <id>validate</id> |
| 25 | <phase>validate</phase> |
| 26 | <goals> |
| 27 | <goal>validate</goal> |
| 28 | </goals> |
| 29 | <configuration> |
| 30 | <validationSets> |
| 31 | <validationSet> |
| 32 | <includes> |
| 33 | <include>**/*.y*ml</include> |
| 34 | </includes> |
| 35 | </validationSet> |
| 36 | <validationSet> |
| 37 | <includes> |
| 38 | <include>**/*.json</include> |
| 39 | </includes> |
| 40 | </validationSet> |
| 41 | </validationSets> |
JulienBe | 6bd3d3a | 2020-06-24 15:35:23 +0200 | [diff] [blame] | 42 | <skip>${skipYamlJsonValidator}</skip> |
dekstroza | 37843cb | 2018-05-18 14:42:24 +0100 | [diff] [blame] | 43 | </configuration> |
| 44 | </execution> |
| 45 | </executions> |
| 46 | </plugin> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 47 | </plugins> |
| 48 | </build> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 49 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 50 | <profiles> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 51 | <profile> |
| 52 | <id>docker</id> |
| 53 | <activation> |
| 54 | <activeByDefault>false</activeByDefault> |
| 55 | </activation> |
| 56 | <build> |
| 57 | <plugins> |
| 58 | <plugin> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 59 | <groupId>io.fabric8</groupId> |
| 60 | <artifactId>docker-maven-plugin</artifactId> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 61 | <configuration> |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 62 | <verbose>${verbose}</verbose> |
sebdet | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 63 | <apiVersion>${docker.api.version}</apiVersion> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 64 | <registry>${docker.registry}</registry> |
Idan Amit | 7cb00e6 | 2017-10-26 10:02:20 +0300 | [diff] [blame] | 65 | <authConfig> |
Idan Amit | bc51da2 | 2017-10-26 16:56:53 +0300 | [diff] [blame] | 66 | <pull> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 67 | <username>${docker.username}</username> |
| 68 | <password>${docker.password}</password> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 69 | </pull> |
| 70 | </authConfig> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 71 | <images> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 72 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 73 | <!-- Build cassandra image --> |
| 74 | <image> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 75 | <name>${docker.namespace}/sdc-cassandra</name> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 76 | <alias>sdc-cassandra</alias> |
| 77 | <build> |
| 78 | <cleanup>try</cleanup> |
| 79 | <dockerFileDir>${project.basedir}/sdc-cassandra</dockerFileDir> |
| 80 | <tags> |
sebdet | b988cb6 | 2020-09-25 15:48:10 +0200 | [diff] [blame] | 81 | <tag>latest</tag> |
| 82 | <tag> |
| 83 | ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest |
| 84 | </tag> |
| 85 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 86 | </tags> |
| 87 | </build> |
| 88 | </image> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 89 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 90 | </images> |
| 91 | </configuration> |
| 92 | <executions> |
| 93 | <execution> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 94 | <id>clean-images</id> |
| 95 | <phase>pre-clean</phase> |
| 96 | <goals> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 97 | <goal>remove</goal> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 98 | </goals> |
| 99 | <configuration> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 100 | <removeAll>true</removeAll> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 101 | <image>${docker.namespace}/sdc-cassandra</image> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 102 | </configuration> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 103 | </execution> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 104 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 105 | <execution> |
| 106 | <id>generate-images</id> |
| 107 | <phase>package</phase> |
| 108 | <goals> |
| 109 | <goal>build</goal> |
| 110 | </goals> |
| 111 | </execution> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 112 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 113 | <execution> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 114 | <id>push-images</id> |
| 115 | <phase>deploy</phase> |
| 116 | <goals> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 117 | <goal>push</goal> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 118 | </goals> |
| 119 | <configuration> |
vasraz | 8b1002a | 2021-12-08 22:12:52 +0000 | [diff] [blame] | 120 | <image>${docker.namespace}/sdc-cassandra</image> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 121 | </configuration> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 122 | </execution> |
| 123 | </executions> |
| 124 | </plugin> |
| 125 | </plugins> |
| 126 | </build> |
| 127 | </profile> |
| 128 | </profiles> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 129 | </project> |