blob: bf81779e3a169ce61301f1eaaffd149eae07619a [file] [log] [blame]
Areli Fuss547839b2017-08-22 15:34:37 +03001<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 Fussf11fcc72017-09-07 10:33:10 +03004
Yuli Shlosbergcb3fe732018-03-08 11:35:45 +02005 <groupId>org.onap.sdc.sdc-docker-base</groupId>
Areli Fussc0444322017-09-10 11:41:33 +03006 <artifactId>sdc-docker-base</artifactId>
7 <packaging>pom</packaging>
Michael Landoc789e6f2018-05-03 18:05:37 +03008 <version>1.3.1-SNAPSHOT</version>
Jessica Wagantall9a181112017-09-08 12:36:20 -07009 <name>sdc-sdc-docker-base</name>
Areli Fuss547839b2017-08-22 15:34:37 +030010
Areli Fuss61385df2017-09-06 16:23:25 +030011 <properties>
12 <!--nexus-->
Yuli Shlosbergcb3fe732018-03-08 11:35:45 +020013 <sitePath>/content/sites/site/org/onap/sdc/${project.artifactId}/${project.version}</sitePath>
Areli Fuss61385df2017-09-06 16:23:25 +030014 <!--maven-->
Areli Fuss547839b2017-08-22 15:34:37 +030015 <timestamp>${maven.build.timestamp}</timestamp>
Jessica Wagantall524e0192018-04-04 18:30:10 -070016 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
Areli Fuss61385df2017-09-06 16:23:25 +030017 <!--docker-->
Areli Fuss547839b2017-08-22 15:34:37 +030018 <docker.tag>${project.version}-${timestamp}</docker.tag>
19 <docker.latest.tag>${project.version}-latest</docker.latest.tag>
Areli Fuss61385df2017-09-06 16:23:25 +030020 </properties>
Areli Fussf11fcc72017-09-07 10:33:10 +030021
Areli Fuss547839b2017-08-22 15:34:37 +030022 <build>
23 <plugins>
24 <plugin>
Areli Fussf11fcc72017-09-07 10:33:10 +030025 <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 Landoca6aabe2017-11-05 19:59:37 +020030 <nexusUrl>https://nexus.onap.org</nexusUrl>
Areli Fussf11fcc72017-09-07 10:33:10 +030031 <stagingProfileId>176c31dfe190a</stagingProfileId>
32 <serverId>ecomp-staging</serverId>
33 </configuration>
34 </plugin>
35 <plugin>
Areli Fuss547839b2017-08-22 15:34:37 +030036 <groupId>io.fabric8</groupId>
37 <artifactId>docker-maven-plugin</artifactId>
Michael Landof5397222018-05-11 18:26:46 +030038 <version>0.25.2</version>
Areli Fuss547839b2017-08-22 15:34:37 +030039 <configuration>
40 <images>
Areli Fuss0a3899f2017-11-19 13:28:08 +020041 <!-- base_sdc-jetty for backend and frontend -->
Michael Landof5397222018-05-11 18:26:46 +030042 <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 Landoc789e6f2018-05-03 18:05:37 +030093 <!--base_sdc-python-->
Michael Landof5397222018-05-11 18:26:46 +030094 <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 Landoc789e6f2018-05-03 18:05:37 +0300106 <!--base_sdc-elasticsearch-->
Michael Landof5397222018-05-11 18:26:46 +0300107 <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 Shlosbergb2a7c822018-03-13 11:24:51 +0200132 <!-- 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 Fuss547839b2017-08-22 15:34:37 +0300145 </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 Shlosbergb2a7c822018-03-13 11:24:51 +0200156 <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 Fuss547839b2017-08-22 15:34:37 +0300157 </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 Fuss547839b2017-08-22 15:34:37 +0300172 <goal>push</goal>
173 </goals>
174 <configuration>
Yuli Shlosbergb2a7c822018-03-13 11:24:51 +0200175 <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 Fuss547839b2017-08-22 15:34:37 +0300176 </configuration>
177 </execution>
178 </executions>
179 </plugin>
180 </plugins>
181 </build>
Areli Fussf11fcc72017-09-07 10:33:10 +0300182 <repositories>
183 <repository>
Michael Landoca6aabe2017-11-05 19:59:37 +0200184 <id>central</id>
185 <name>Maven 2 repository 2</name>
186 <url>http://repo2.maven.org/maven2/</url>
187 </repository>
188 <repository>
Areli Fussf11fcc72017-09-07 10:33:10 +0300189 <id>ecomp-releases</id>
190 <name>ECOMP Release Repository</name>
Michael Landoca6aabe2017-11-05 19:59:37 +0200191 <url>https://nexus.onap.org/content/repositories/releases/</url>
Areli Fussf11fcc72017-09-07 10:33:10 +0300192 </repository>
193 <repository>
194 <id>ecomp-snapshots</id>
195 <name>ECOMP Snapshot Repository</name>
Michael Landoca6aabe2017-11-05 19:59:37 +0200196 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
Areli Fussf11fcc72017-09-07 10:33:10 +0300197 </repository>
198 <repository>
199 <id>ecomp-staging</id>
200 <name>ECOMP Staging Repository</name>
Michael Landoca6aabe2017-11-05 19:59:37 +0200201 <url>https://nexus.onap.org/content/repositories/staging/</url>
Areli Fussf11fcc72017-09-07 10:33:10 +0300202 </repository>
203 </repositories>
Michael Landoca6aabe2017-11-05 19:59:37 +0200204 <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 Landobb953da2017-11-05 20:18:47 +0200231 <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 Shlosbergcb3fe732018-03-08 11:35:45 +0200245 <url>dav:https://nexus.onap.org/content/sites/site/org/onap/sdc/${project.version}</url>
Michael Landobb953da2017-11-05 20:18:47 +0200246 </site>
247 </distributionManagement>
Areli Fuss547839b2017-08-22 15:34:37 +0300248</project>