Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 4 | |
Yuli Shlosberg | cb3fe73 | 2018-03-08 11:35:45 +0200 | [diff] [blame] | 5 | <groupId>org.onap.sdc.sdc-docker-base</groupId> |
Areli Fuss | c044432 | 2017-09-10 11:41:33 +0300 | [diff] [blame] | 6 | <artifactId>sdc-docker-base</artifactId> |
| 7 | <packaging>pom</packaging> |
Michael Lando | c789e6f | 2018-05-03 18:05:37 +0300 | [diff] [blame] | 8 | <version>1.3.1-SNAPSHOT</version> |
Jessica Wagantall | 9a18111 | 2017-09-08 12:36:20 -0700 | [diff] [blame] | 9 | <name>sdc-sdc-docker-base</name> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 10 | |
Areli Fuss | 61385df | 2017-09-06 16:23:25 +0300 | [diff] [blame] | 11 | <properties> |
| 12 | <!--nexus--> |
Yuli Shlosberg | cb3fe73 | 2018-03-08 11:35:45 +0200 | [diff] [blame] | 13 | <sitePath>/content/sites/site/org/onap/sdc/${project.artifactId}/${project.version}</sitePath> |
Areli Fuss | 61385df | 2017-09-06 16:23:25 +0300 | [diff] [blame] | 14 | <!--maven--> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 15 | <timestamp>${maven.build.timestamp}</timestamp> |
Jessica Wagantall | 524e019 | 2018-04-04 18:30:10 -0700 | [diff] [blame] | 16 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
Areli Fuss | 61385df | 2017-09-06 16:23:25 +0300 | [diff] [blame] | 17 | <!--docker--> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 18 | <docker.tag>${project.version}-${timestamp}</docker.tag> |
| 19 | <docker.latest.tag>${project.version}-latest</docker.latest.tag> |
Areli Fuss | 61385df | 2017-09-06 16:23:25 +0300 | [diff] [blame] | 20 | </properties> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 21 | |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 22 | <build> |
| 23 | <plugins> |
| 24 | <plugin> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 25 | <groupId>org.sonatype.plugins</groupId> |
| 26 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 27 | <version>1.6.7</version> |
| 28 | <extensions>true</extensions> |
| 29 | <configuration> |
Michael Lando | ca6aabe | 2017-11-05 19:59:37 +0200 | [diff] [blame] | 30 | <nexusUrl>https://nexus.onap.org</nexusUrl> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 31 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 32 | <serverId>ecomp-staging</serverId> |
| 33 | </configuration> |
| 34 | </plugin> |
| 35 | <plugin> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 36 | <groupId>io.fabric8</groupId> |
| 37 | <artifactId>docker-maven-plugin</artifactId> |
Michael Lando | f539722 | 2018-05-11 18:26:46 +0300 | [diff] [blame^] | 38 | <version>0.25.2</version> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 39 | <configuration> |
| 40 | <images> |
Areli Fuss | 0a3899f | 2017-11-19 13:28:08 +0200 | [diff] [blame] | 41 | <!-- base_sdc-jetty for backend and frontend --> |
Michael Lando | f539722 | 2018-05-11 18:26:46 +0300 | [diff] [blame^] | 42 | <image> |
| 43 | <name>onap/base_sdc-jetty</name> |
| 44 | <alias>base_sdc-jetty</alias> |
| 45 | <build> |
| 46 | <cleanup>true</cleanup> |
| 47 | <tags> |
| 48 | <tag>${docker.tag}</tag> |
| 49 | <tag>${docker.latest.tag}</tag> |
| 50 | </tags> |
| 51 | <dockerFileDir>${project.basedir}/base_sdc-jetty</dockerFileDir> |
| 52 | </build> |
| 53 | </image> |
| 54 | <!--base_sdc-kibana--> |
| 55 | <image> |
| 56 | <name>onap/base_sdc-kibana</name> |
| 57 | <alias>base_sdc-kibana</alias> |
| 58 | <build> |
| 59 | <cleanup>true</cleanup> |
| 60 | <tags> |
| 61 | <tag>${docker.tag}</tag> |
| 62 | <tag>${docker.latest.tag}</tag> |
| 63 | </tags> |
| 64 | <dockerFileDir>${project.basedir}/base_sdc-kibana</dockerFileDir> |
| 65 | </build> |
| 66 | </image> |
| 67 | <!--base_sdc-cassandra--> |
| 68 | <image> |
| 69 | <name>onap/base_sdc-cassandra</name> |
| 70 | <alias>base_sdc-cassandra</alias> |
| 71 | <build> |
| 72 | <cleanup>true</cleanup> |
| 73 | <tags> |
| 74 | <tag>${docker.tag}</tag> |
| 75 | <tag>${docker.latest.tag}</tag> |
| 76 | </tags> |
| 77 | <dockerFileDir>${project.basedir}/base_sdc-cassandra</dockerFileDir> |
| 78 | </build> |
| 79 | </image> |
| 80 | <!-- base_sdc-cqlsh --> |
| 81 | <image> |
| 82 | <name>onap/base_sdc-cqlsh</name> |
| 83 | <alias>base_sdc-cqlsh</alias> |
| 84 | <build> |
| 85 | <cleanup>true</cleanup> |
| 86 | <tags> |
| 87 | <tag>${docker.tag}</tag> |
| 88 | <tag>${docker.latest.tag}</tag> |
| 89 | </tags> |
| 90 | <dockerFileDir>${project.basedir}/base_sdc-cqlsh</dockerFileDir> |
| 91 | </build> |
| 92 | </image> |
Michael Lando | c789e6f | 2018-05-03 18:05:37 +0300 | [diff] [blame] | 93 | <!--base_sdc-python--> |
Michael Lando | f539722 | 2018-05-11 18:26:46 +0300 | [diff] [blame^] | 94 | <image> |
| 95 | <name>onap/base_sdc-python</name> |
| 96 | <alias>base_sdc-python</alias> |
| 97 | <build> |
| 98 | <cleanup>true</cleanup> |
| 99 | <tags> |
| 100 | <tag>${docker.tag}</tag> |
| 101 | <tag>${docker.latest.tag}</tag> |
| 102 | </tags> |
| 103 | <dockerFileDir>${project.basedir}/base_sdc-python</dockerFileDir> |
| 104 | </build> |
| 105 | </image> |
Michael Lando | c789e6f | 2018-05-03 18:05:37 +0300 | [diff] [blame] | 106 | <!--base_sdc-elasticsearch--> |
Michael Lando | f539722 | 2018-05-11 18:26:46 +0300 | [diff] [blame^] | 107 | <image> |
| 108 | <name>onap/base_sdc-elasticsearch</name> |
| 109 | <alias>base_sdc-elasticsearch</alias> |
| 110 | <build> |
| 111 | <cleanup>true</cleanup> |
| 112 | <tags> |
| 113 | <tag>${docker.tag}</tag> |
| 114 | <tag>${docker.latest.tag}</tag> |
| 115 | </tags> |
| 116 | <dockerFileDir>${project.basedir}/base_sdc-elasticsearch</dockerFileDir> |
| 117 | </build> |
| 118 | </image> |
| 119 | <!--base_sdc-sanity--> |
| 120 | <image> |
| 121 | <name>onap/base_sdc-sanity</name> |
| 122 | <alias>base_sdc-sanity</alias> |
| 123 | <build> |
| 124 | <cleanup>true</cleanup> |
| 125 | <tags> |
| 126 | <tag>${docker.tag}</tag> |
| 127 | <tag>${docker.latest.tag}</tag> |
| 128 | </tags> |
| 129 | <dockerFileDir>${project.basedir}/base_sdc-sanity</dockerFileDir> |
| 130 | </build> |
| 131 | </image> |
Yuli Shlosberg | b2a7c82 | 2018-03-13 11:24:51 +0200 | [diff] [blame] | 132 | <!-- base_sdc-vnc --> |
| 133 | <image> |
| 134 | <name>onap/base_sdc-vnc</name> |
| 135 | <alias>base_sdc-vnc</alias> |
| 136 | <build> |
| 137 | <cleanup>true</cleanup> |
| 138 | <tags> |
| 139 | <tag>${docker.tag}</tag> |
| 140 | <tag>${docker.latest.tag}</tag> |
| 141 | </tags> |
| 142 | <dockerFileDir>${project.basedir}/base_sdc-vnc</dockerFileDir> |
| 143 | </build> |
| 144 | </image> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 145 | </images> |
| 146 | </configuration> |
| 147 | <executions> |
| 148 | <execution> |
| 149 | <id>clean-images</id> |
| 150 | <phase>pre-clean</phase> |
| 151 | <goals> |
| 152 | <goal>remove</goal> |
| 153 | </goals> |
| 154 | <configuration> |
| 155 | <removeAll>true</removeAll> |
Yuli Shlosberg | b2a7c82 | 2018-03-13 11:24:51 +0200 | [diff] [blame] | 156 | <image>onap/base_sdc-jetty,onap/base_sdc-elasticsearch,onap/base_sdc-kibana,onap/base_sdc-cassandra,onap/base_sdc-sanity,onap/base_sdc-cqlsh,onap/base_sdc-python,onap/base_sdc-vnc</image> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 157 | </configuration> |
| 158 | </execution> |
| 159 | |
| 160 | <execution> |
| 161 | <id>generate-images</id> |
| 162 | <phase>package</phase> |
| 163 | <goals> |
| 164 | <goal>build</goal> |
| 165 | </goals> |
| 166 | </execution> |
| 167 | |
| 168 | <execution> |
| 169 | <id>push-images</id> |
| 170 | <phase>deploy</phase> |
| 171 | <goals> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 172 | <goal>push</goal> |
| 173 | </goals> |
| 174 | <configuration> |
Yuli Shlosberg | b2a7c82 | 2018-03-13 11:24:51 +0200 | [diff] [blame] | 175 | <image>onap/base_sdc-jetty,onap/base_sdc-elasticsearch,onap/base_sdc-kibana,onap/base_sdc-cassandra,onap/base_sdc-sanity,onap/base_sdc-cqlsh,onap/base_sdc-python,onap/base_sdc-vnc</image> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 176 | </configuration> |
| 177 | </execution> |
| 178 | </executions> |
| 179 | </plugin> |
| 180 | </plugins> |
| 181 | </build> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 182 | <repositories> |
| 183 | <repository> |
Michael Lando | ca6aabe | 2017-11-05 19:59:37 +0200 | [diff] [blame] | 184 | <id>central</id> |
| 185 | <name>Maven 2 repository 2</name> |
| 186 | <url>http://repo2.maven.org/maven2/</url> |
| 187 | </repository> |
| 188 | <repository> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 189 | <id>ecomp-releases</id> |
| 190 | <name>ECOMP Release Repository</name> |
Michael Lando | ca6aabe | 2017-11-05 19:59:37 +0200 | [diff] [blame] | 191 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 192 | </repository> |
| 193 | <repository> |
| 194 | <id>ecomp-snapshots</id> |
| 195 | <name>ECOMP Snapshot Repository</name> |
Michael Lando | ca6aabe | 2017-11-05 19:59:37 +0200 | [diff] [blame] | 196 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 197 | </repository> |
| 198 | <repository> |
| 199 | <id>ecomp-staging</id> |
| 200 | <name>ECOMP Staging Repository</name> |
Michael Lando | ca6aabe | 2017-11-05 19:59:37 +0200 | [diff] [blame] | 201 | <url>https://nexus.onap.org/content/repositories/staging/</url> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 202 | </repository> |
| 203 | </repositories> |
Michael Lando | ca6aabe | 2017-11-05 19:59:37 +0200 | [diff] [blame] | 204 | <pluginRepositories> |
| 205 | <pluginRepository> |
| 206 | <id>central</id> |
| 207 | <name>Maven 2 repository 2</name> |
| 208 | <url>http://repo2.maven.org/maven2/</url> |
| 209 | </pluginRepository> |
| 210 | <pluginRepository> |
| 211 | <id>ecomp-releases</id> |
| 212 | <name>ONAP Release Repository</name> |
| 213 | <url> |
| 214 | https://nexus.onap.org/content/repositories/releases/ |
| 215 | </url> |
| 216 | </pluginRepository> |
| 217 | <pluginRepository> |
| 218 | <id>ecomp-snapshots</id> |
| 219 | <name>ONAP Snapshot Repository</name> |
| 220 | <url> |
| 221 | https://nexus.onap.org/content/repositories/snapshots/ |
| 222 | </url> |
| 223 | <snapshots> |
| 224 | <enabled>true</enabled> |
| 225 | </snapshots> |
| 226 | <releases> |
| 227 | <enabled>false</enabled> |
| 228 | </releases> |
| 229 | </pluginRepository> |
| 230 | </pluginRepositories> |
Michael Lando | bb953da | 2017-11-05 20:18:47 +0200 | [diff] [blame] | 231 | <distributionManagement> |
| 232 | |
| 233 | <repository> |
| 234 | <id>ecomp-releases</id> |
| 235 | <name>Release Repository</name> |
| 236 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 237 | </repository> |
| 238 | <snapshotRepository> |
| 239 | <id>ecomp-snapshots</id> |
| 240 | <name>Snapshot Repository</name> |
| 241 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 242 | </snapshotRepository> |
| 243 | <site> |
| 244 | <id>ecomp-site</id> |
Yuli Shlosberg | cb3fe73 | 2018-03-08 11:35:45 +0200 | [diff] [blame] | 245 | <url>dav:https://nexus.onap.org/content/sites/site/org/onap/sdc/${project.version}</url> |
Michael Lando | bb953da | 2017-11-05 20:18:47 +0200 | [diff] [blame] | 246 | </site> |
| 247 | </distributionManagement> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 248 | </project> |