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 | |
Areli Fuss | c044432 | 2017-09-10 11:41:33 +0300 | [diff] [blame] | 5 | <groupId>org.openecomp.sdc.sdc-docker-base</groupId> |
| 6 | <artifactId>sdc-docker-base</artifactId> |
| 7 | <packaging>pom</packaging> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 8 | <version>1.0.0-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--> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 13 | <sitePath>/content/sites/site/org/openecomp/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> |
| 16 | <maven.build.timestamp.format>yyyy.MM.dd.HH.mm</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> |
| 38 | <version>0.15.1</version> |
| 39 | <configuration> |
| 40 | <images> |
Areli Fuss | 0a3899f | 2017-11-19 13:28:08 +0200 | [diff] [blame^] | 41 | <!-- base_sdc-jetty for backend and frontend --> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 42 | <image> |
Areli Fuss | 0a3899f | 2017-11-19 13:28:08 +0200 | [diff] [blame^] | 43 | <name>openecomp/base_sdc-jetty</name> |
| 44 | <alias>base_sdc-jetty</alias> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 45 | <build> |
| 46 | <cleanup>true</cleanup> |
| 47 | <tags> |
| 48 | <tag>${docker.tag}</tag> |
| 49 | <tag>${docker.latest.tag}</tag> |
| 50 | </tags> |
Areli Fuss | 0a3899f | 2017-11-19 13:28:08 +0200 | [diff] [blame^] | 51 | <dockerFileDir>${project.basedir}/base_sdc-jetty</dockerFileDir> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 52 | </build> |
| 53 | </image> |
Areli Fuss | 0a3899f | 2017-11-19 13:28:08 +0200 | [diff] [blame^] | 54 | <!-- base_sdc-kibana --> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 55 | <image> |
| 56 | <name>openecomp/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>openecomp/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-elasticsearch --> |
| 81 | <image> |
| 82 | <name>openecomp/base_sdc-elasticsearch</name> |
| 83 | <alias>base_sdc-elasticsearch</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-elasticsearch</dockerFileDir> |
| 91 | </build> |
| 92 | </image> |
| 93 | <!-- base_sdc-sanity --> |
| 94 | <image> |
| 95 | <name>openecomp/base_sdc-sanity</name> |
| 96 | <alias>base_sdc-sanity</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-sanity</dockerFileDir> |
| 104 | </build> |
| 105 | </image> |
| 106 | </images> |
| 107 | </configuration> |
| 108 | <executions> |
| 109 | <execution> |
| 110 | <id>clean-images</id> |
| 111 | <phase>pre-clean</phase> |
| 112 | <goals> |
| 113 | <goal>remove</goal> |
| 114 | </goals> |
| 115 | <configuration> |
| 116 | <removeAll>true</removeAll> |
Areli Fuss | 0a3899f | 2017-11-19 13:28:08 +0200 | [diff] [blame^] | 117 | <image>openecomp/base_sdc-jetty,openecomp/base_sdc-frontend,openecomp/base_sdc-elasticsearch,openecomp/base_sdc-kibana,openecomp/base_sdc-cassandra,openecomp/base_sdc-sanity</image> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 118 | </configuration> |
| 119 | </execution> |
| 120 | |
| 121 | <execution> |
| 122 | <id>generate-images</id> |
| 123 | <phase>package</phase> |
| 124 | <goals> |
| 125 | <goal>build</goal> |
| 126 | </goals> |
| 127 | </execution> |
| 128 | |
| 129 | <execution> |
| 130 | <id>push-images</id> |
| 131 | <phase>deploy</phase> |
| 132 | <goals> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 133 | <goal>push</goal> |
| 134 | </goals> |
| 135 | <configuration> |
Areli Fuss | 0a3899f | 2017-11-19 13:28:08 +0200 | [diff] [blame^] | 136 | <image>openecomp/base_sdc-jetty,openecomp/base_sdc-frontend,openecomp/base_sdc-elasticsearch,openecomp/base_sdc-kibana,openecomp/base_sdc-cassandra,openecomp/base_sdc-sanity</image> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 137 | </configuration> |
| 138 | </execution> |
| 139 | </executions> |
| 140 | </plugin> |
| 141 | </plugins> |
| 142 | </build> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 143 | <repositories> |
| 144 | <repository> |
Michael Lando | ca6aabe | 2017-11-05 19:59:37 +0200 | [diff] [blame] | 145 | <id>central</id> |
| 146 | <name>Maven 2 repository 2</name> |
| 147 | <url>http://repo2.maven.org/maven2/</url> |
| 148 | </repository> |
| 149 | <repository> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 150 | <id>ecomp-releases</id> |
| 151 | <name>ECOMP Release Repository</name> |
Michael Lando | ca6aabe | 2017-11-05 19:59:37 +0200 | [diff] [blame] | 152 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 153 | </repository> |
| 154 | <repository> |
| 155 | <id>ecomp-snapshots</id> |
| 156 | <name>ECOMP Snapshot Repository</name> |
Michael Lando | ca6aabe | 2017-11-05 19:59:37 +0200 | [diff] [blame] | 157 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 158 | </repository> |
| 159 | <repository> |
| 160 | <id>ecomp-staging</id> |
| 161 | <name>ECOMP Staging Repository</name> |
Michael Lando | ca6aabe | 2017-11-05 19:59:37 +0200 | [diff] [blame] | 162 | <url>https://nexus.onap.org/content/repositories/staging/</url> |
Areli Fuss | f11fcc7 | 2017-09-07 10:33:10 +0300 | [diff] [blame] | 163 | </repository> |
| 164 | </repositories> |
Michael Lando | ca6aabe | 2017-11-05 19:59:37 +0200 | [diff] [blame] | 165 | <pluginRepositories> |
| 166 | <pluginRepository> |
| 167 | <id>central</id> |
| 168 | <name>Maven 2 repository 2</name> |
| 169 | <url>http://repo2.maven.org/maven2/</url> |
| 170 | </pluginRepository> |
| 171 | <pluginRepository> |
| 172 | <id>ecomp-releases</id> |
| 173 | <name>ONAP Release Repository</name> |
| 174 | <url> |
| 175 | https://nexus.onap.org/content/repositories/releases/ |
| 176 | </url> |
| 177 | </pluginRepository> |
| 178 | <pluginRepository> |
| 179 | <id>ecomp-snapshots</id> |
| 180 | <name>ONAP Snapshot Repository</name> |
| 181 | <url> |
| 182 | https://nexus.onap.org/content/repositories/snapshots/ |
| 183 | </url> |
| 184 | <snapshots> |
| 185 | <enabled>true</enabled> |
| 186 | </snapshots> |
| 187 | <releases> |
| 188 | <enabled>false</enabled> |
| 189 | </releases> |
| 190 | </pluginRepository> |
| 191 | </pluginRepositories> |
Michael Lando | bb953da | 2017-11-05 20:18:47 +0200 | [diff] [blame] | 192 | <distributionManagement> |
| 193 | |
| 194 | <repository> |
| 195 | <id>ecomp-releases</id> |
| 196 | <name>Release Repository</name> |
| 197 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 198 | </repository> |
| 199 | <snapshotRepository> |
| 200 | <id>ecomp-snapshots</id> |
| 201 | <name>Snapshot Repository</name> |
| 202 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 203 | </snapshotRepository> |
| 204 | <site> |
| 205 | <id>ecomp-site</id> |
| 206 | <url>dav:https://nexus.onap.org/content/sites/site/org/openecomp/sdc/${project.version}</url> |
| 207 | </site> |
| 208 | </distributionManagement> |
Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 209 | </project> |