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> |
Ofir Sonsino | 09d8789 | 2020-03-12 20:52:42 +0200 | [diff] [blame] | 13 | <version>1.7.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> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 62 | <apiVersion>1.23</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> |
| 80 | <tag>${docker.tag}</tag> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 81 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag> |
| 82 | </tags> |
| 83 | </build> |
| 84 | </image> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 85 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 86 | </images> |
| 87 | </configuration> |
| 88 | <executions> |
| 89 | <execution> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 90 | <id>clean-images</id> |
| 91 | <phase>pre-clean</phase> |
| 92 | <goals> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 93 | <goal>remove</goal> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 94 | </goals> |
| 95 | <configuration> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 96 | <removeAll>true</removeAll> |
vasraz | 73fa45c | 2020-01-31 14:38:43 +0000 | [diff] [blame] | 97 | <image>onap/sdc-cassandra</image> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 98 | </configuration> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 99 | </execution> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 100 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 101 | <execution> |
| 102 | <id>generate-images</id> |
| 103 | <phase>package</phase> |
| 104 | <goals> |
| 105 | <goal>build</goal> |
| 106 | </goals> |
| 107 | </execution> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 108 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 109 | <execution> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 110 | <id>push-images</id> |
| 111 | <phase>deploy</phase> |
| 112 | <goals> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 113 | <goal>push</goal> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 114 | </goals> |
| 115 | <configuration> |
vasraz | 73fa45c | 2020-01-31 14:38:43 +0000 | [diff] [blame] | 116 | <image>onap/sdc-cassandra</image> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 117 | </configuration> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 118 | </execution> |
| 119 | </executions> |
| 120 | </plugin> |
| 121 | </plugins> |
| 122 | </build> |
| 123 | </profile> |
| 124 | </profiles> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 125 | </project> |