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> |
Michael Lando | 04a5bef | 2018-10-23 01:32:15 +0300 | [diff] [blame^] | 13 | <version>1.3.1-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> |
Michael Lando | dc856bb | 2018-08-13 13:27:52 +0300 | [diff] [blame] | 20 | <groupId>org.apache.maven.plugins</groupId> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 21 | <artifactId>maven-clean-plugin</artifactId> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 22 | <executions> |
| 23 | <execution> |
| 24 | <id>clean.tosca.chef.os.folder</id> |
| 25 | <phase>clean</phase> |
| 26 | <goals> |
| 27 | <goal>clean</goal> |
| 28 | </goals> |
| 29 | <configuration> |
| 30 | <filesets> |
Yuli Shlosberg | 0566f58 | 2017-11-26 19:05:23 +0200 | [diff] [blame] | 31 | <fileset> |
| 32 | <directory>${project.basedir}/sdc-cassandra/chef-repo/cookbooks/cassandra-actions/attributes/</directory> |
| 33 | <followSymlinks>false</followSymlinks> |
| 34 | <includes> |
| 35 | <include>**/default.rb</include> |
| 36 | </includes> |
| 37 | </fileset> |
Tal Gitelman | 15c2ce7 | 2017-10-18 19:47:40 +0300 | [diff] [blame] | 38 | <!-- Sanity jar --> |
| 39 | <fileset> |
| 40 | <directory>${project.basedir}/sdc-sanity</directory> |
| 41 | <followSymlinks>false</followSymlinks> |
| 42 | <includes> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 43 | <include>*.jar</include> |
| 44 | </includes> |
Tal Gitelman | 15c2ce7 | 2017-10-18 19:47:40 +0300 | [diff] [blame] | 45 | </fileset> |
| 46 | <!-- Sanity test suites --> |
| 47 | <fileset> |
| 48 | <directory>${project.basedir}/sdc-sanity/chef-repo/cookbooks/sdc-sanity/files/default/testSuites</directory> |
| 49 | <followSymlinks>false</followSymlinks> |
| 50 | </fileset> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 51 | </filesets> |
| 52 | </configuration> |
| 53 | </execution> |
| 54 | </executions> |
| 55 | </plugin> |
| 56 | <plugin> |
| 57 | <groupId>ru.yaal.maven</groupId> |
| 58 | <artifactId>write-text-files-maven-plugin</artifactId> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 59 | <configuration> |
| 60 | <charset>UTF-8</charset> |
| 61 | <files> |
| 62 | <file> |
| 63 | <path> |
| 64 | ${project.basedir}\sdc-cassandra\chef-repo\cookbooks\cassandra-actions\attributes\default.rb |
| 65 | </path> |
| 66 | <lines> |
Yuli Shlosberg | 0566f58 | 2017-11-26 19:05:23 +0200 | [diff] [blame] | 67 | <line>normal['version'] ="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"</line> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 68 | </lines> |
| 69 | </file> |
| 70 | </files> |
| 71 | </configuration> |
| 72 | <executions> |
| 73 | <execution> |
| 74 | <id>write-text-files</id> |
| 75 | <phase>prepare-package</phase> |
| 76 | <goals> |
| 77 | <goal>write-text-files</goal> |
| 78 | </goals> |
| 79 | </execution> |
| 80 | </executions> |
| 81 | </plugin> |
dekstroza | 37843cb | 2018-05-18 14:42:24 +0100 | [diff] [blame] | 82 | <plugin> |
| 83 | <groupId>com.github.sylvainlaurent.maven</groupId> |
| 84 | <artifactId>yaml-json-validator-maven-plugin</artifactId> |
| 85 | <executions> |
| 86 | <execution> |
| 87 | <id>validate</id> |
| 88 | <phase>validate</phase> |
| 89 | <goals> |
| 90 | <goal>validate</goal> |
| 91 | </goals> |
| 92 | <configuration> |
| 93 | <validationSets> |
| 94 | <validationSet> |
| 95 | <includes> |
| 96 | <include>**/*.y*ml</include> |
| 97 | </includes> |
| 98 | </validationSet> |
| 99 | <validationSet> |
| 100 | <includes> |
| 101 | <include>**/*.json</include> |
| 102 | </includes> |
| 103 | </validationSet> |
| 104 | </validationSets> |
| 105 | </configuration> |
| 106 | </execution> |
| 107 | </executions> |
| 108 | </plugin> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 109 | </plugins> |
| 110 | </build> |
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 | <profiles> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 113 | <profile> |
| 114 | <id>docker</id> |
| 115 | <activation> |
| 116 | <activeByDefault>false</activeByDefault> |
| 117 | </activation> |
| 118 | <build> |
| 119 | <plugins> |
| 120 | <plugin> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 121 | <groupId>io.fabric8</groupId> |
| 122 | <artifactId>docker-maven-plugin</artifactId> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 123 | <configuration> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 124 | <apiVersion>1.23</apiVersion> |
Yuli Shlosberg | 4414495 | 2017-11-09 13:34:49 +0200 | [diff] [blame] | 125 | <registry>nexus3.onap.org:10001</registry> |
Idan Amit | 7cb00e6 | 2017-10-26 10:02:20 +0300 | [diff] [blame] | 126 | <authConfig> |
Idan Amit | bc51da2 | 2017-10-26 16:56:53 +0300 | [diff] [blame] | 127 | <pull> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 128 | <username>docker</username> |
| 129 | <password>docker</password> |
| 130 | </pull> |
| 131 | </authConfig> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 132 | <images> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 133 | |
Tal Gitelman | 38211c8 | 2018-01-24 17:59:53 +0200 | [diff] [blame] | 134 | <!-- Build init-elastic search image --> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 135 | <image> |
Tal Gitelman | 38211c8 | 2018-01-24 17:59:53 +0200 | [diff] [blame] | 136 | <name>onap/sdc-init-elasticsearch</name> |
| 137 | <alias>sdc-init-elasticsearch</alias> |
| 138 | <build> |
| 139 | <cleanup>try</cleanup> |
| 140 | <dockerFileDir>${project.basedir}/sdc-init-elasticsearch</dockerFileDir> |
| 141 | <tags> |
| 142 | <tag>${docker.tag}</tag> |
Tal Gitelman | 38211c8 | 2018-01-24 17:59:53 +0200 | [diff] [blame] | 143 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag> |
| 144 | </tags> |
| 145 | </build> |
| 146 | </image> |
Yuli Shlosberg | 958c32d | 2018-02-15 12:04:46 +0200 | [diff] [blame] | 147 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 148 | <!-- Build elastic search image --> |
| 149 | <image> |
Idan Amit | 55dda1a | 2017-12-06 17:21:38 +0200 | [diff] [blame] | 150 | <name>onap/sdc-elasticsearch</name> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 151 | <alias>sdc-elasticsearch</alias> |
| 152 | <build> |
| 153 | <cleanup>try</cleanup> |
| 154 | <dockerFileDir>${project.basedir}/sdc-elasticsearch</dockerFileDir> |
| 155 | <tags> |
| 156 | <tag>${docker.tag}</tag> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 157 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag> |
| 158 | </tags> |
| 159 | </build> |
| 160 | </image> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 161 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 162 | <!-- Build kibana image --> |
| 163 | <image> |
Idan Amit | 55dda1a | 2017-12-06 17:21:38 +0200 | [diff] [blame] | 164 | <name>onap/sdc-kibana</name> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 165 | <alias>sdc-kibana</alias> |
| 166 | <build> |
| 167 | <cleanup>try</cleanup> |
| 168 | <dockerFileDir>${project.basedir}/sdc-kibana</dockerFileDir> |
| 169 | <tags> |
| 170 | <tag>${docker.tag}</tag> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 171 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag> |
| 172 | </tags> |
| 173 | </build> |
| 174 | </image> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 175 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 176 | <!-- Build cassandra image --> |
| 177 | <image> |
Idan Amit | 55dda1a | 2017-12-06 17:21:38 +0200 | [diff] [blame] | 178 | <name>onap/sdc-cassandra</name> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 179 | <alias>sdc-cassandra</alias> |
| 180 | <build> |
| 181 | <cleanup>try</cleanup> |
| 182 | <dockerFileDir>${project.basedir}/sdc-cassandra</dockerFileDir> |
| 183 | <tags> |
| 184 | <tag>${docker.tag}</tag> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 185 | <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag> |
| 186 | </tags> |
| 187 | </build> |
| 188 | </image> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 189 | |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 190 | |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 191 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 192 | </images> |
| 193 | </configuration> |
| 194 | <executions> |
| 195 | <execution> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 196 | <id>clean-images</id> |
| 197 | <phase>pre-clean</phase> |
| 198 | <goals> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 199 | <goal>remove</goal> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 200 | </goals> |
| 201 | <configuration> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 202 | <removeAll>true</removeAll> |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 203 | <image>onap/sdc-init-elasticsearch,onap/sdc-elasticsearch,onap/sdc-kibana,onap/sdc-cassandra</image> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 204 | </configuration> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 205 | </execution> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 206 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 207 | <execution> |
| 208 | <id>generate-images</id> |
| 209 | <phase>package</phase> |
| 210 | <goals> |
| 211 | <goal>build</goal> |
| 212 | </goals> |
| 213 | </execution> |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 214 | |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 215 | <execution> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 216 | <id>push-images</id> |
| 217 | <phase>deploy</phase> |
| 218 | <goals> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 219 | <goal>push</goal> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 220 | </goals> |
| 221 | <configuration> |
Yuli Shlosberg | f59a225 | 2018-03-21 11:14:08 +0200 | [diff] [blame] | 222 | <image>onap/sdc-init-elasticsearch,onap/sdc-elasticsearch,onap/sdc-kibana,onap/sdc-cassandra</image> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 223 | </configuration> |
Yuli Shlosberg | 9dde926 | 2017-09-12 14:11:48 +0300 | [diff] [blame] | 224 | </execution> |
| 225 | </executions> |
| 226 | </plugin> |
| 227 | </plugins> |
| 228 | </build> |
| 229 | </profile> |
| 230 | </profiles> |
Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 231 | </project> |