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> |
ChrisC | 94133cb | 2021-02-17 16:02:05 +0100 | [diff] [blame] | 13 | <version>1.8.2-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 | 591810d | 2020-09-17 15:07:23 +0200 | [diff] [blame] | 62 | <apiVersion>${docker.api.version}</apiVersion> |
Yuli Shlosberg | 4414495 | 2017-11-09 13:34:49 +0200 | [diff] [blame] | 63 | <registry>nexus3.onap.org:10001</registry> |
Idan Amit | 7cb00e6 | 2017-10-26 10:02:20 +0300 | [diff] [blame] | 64 | <authConfig> |
Idan Amit | bc51da2 | 2017-10-26 16:56:53 +0300 | [diff] [blame] | 65 | <pull> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 66 | <username>docker</username> |
| 67 | <password>docker</password> |
| 68 | </pull> |
| 69 | </authConfig> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 70 | <images> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 71 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 72 | <!-- Build cassandra image --> |
| 73 | <image> |
Idan Amit | 55dda1a | 2017-12-06 17:21:38 +0200 | [diff] [blame] | 74 | <name>onap/sdc-cassandra</name> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 75 | <alias>sdc-cassandra</alias> |
| 76 | <build> |
| 77 | <cleanup>try</cleanup> |
| 78 | <dockerFileDir>${project.basedir}/sdc-cassandra</dockerFileDir> |
| 79 | <tags> |
sebdet | b988cb6 | 2020-09-25 15:48:10 +0200 | [diff] [blame] | 80 | <tag>latest</tag> |
| 81 | <tag> |
| 82 | ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest |
| 83 | </tag> |
| 84 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-${maven.build.timestamp}</tag> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 85 | </tags> |
| 86 | </build> |
| 87 | </image> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 88 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 89 | </images> |
| 90 | </configuration> |
| 91 | <executions> |
| 92 | <execution> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 93 | <id>clean-images</id> |
| 94 | <phase>pre-clean</phase> |
| 95 | <goals> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 96 | <goal>remove</goal> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 97 | </goals> |
| 98 | <configuration> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 99 | <removeAll>true</removeAll> |
vasraz | 73fa45c | 2020-01-31 14:38:43 +0000 | [diff] [blame] | 100 | <image>onap/sdc-cassandra</image> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 101 | </configuration> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 102 | </execution> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 103 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 104 | <execution> |
| 105 | <id>generate-images</id> |
| 106 | <phase>package</phase> |
| 107 | <goals> |
| 108 | <goal>build</goal> |
| 109 | </goals> |
| 110 | </execution> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 111 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 112 | <execution> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 113 | <id>push-images</id> |
| 114 | <phase>deploy</phase> |
| 115 | <goals> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 116 | <goal>push</goal> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 117 | </goals> |
| 118 | <configuration> |
vasraz | 73fa45c | 2020-01-31 14:38:43 +0000 | [diff] [blame] | 119 | <image>onap/sdc-cassandra</image> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 120 | </configuration> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 121 | </execution> |
| 122 | </executions> |
| 123 | </plugin> |
| 124 | </plugins> |
| 125 | </build> |
| 126 | </profile> |
| 127 | </profiles> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 128 | </project> |