blob: df503fa90c25e257d35c5d5b21d8ee86b9c4b48b [file] [log] [blame]
Timoney, Dan (dt5972)b1ac7252018-12-14 13:00:43 -05001<?xml version="1.0" encoding="UTF-8"?>
Dan Timoneye787c2e2020-03-06 10:25:18 -05002<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Dan Timoneyf85fb6f2020-03-05 16:14:55 -05003 <modelVersion>4.0.0</modelVersion>
Timoney, Dan (dt5972)b1ac7252018-12-14 13:00:43 -05004
Dan Timoneyf85fb6f2020-03-05 16:14:55 -05005 <parent>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Dan Timoney616b6742020-11-30 09:46:11 -05008 <version>2.1.0</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -05009 <relativePath/>
10 </parent>
Timoney, Dan (dt5972)b1ac7252018-12-14 13:00:43 -050011
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050012 <groupId>org.onap.ccsdk.distribution</groupId>
13 <artifactId>distribution-odlsli-alpine</artifactId>
Dan Timoney692718d2020-12-07 11:24:54 -050014 <version>1.1.1-SNAPSHOT</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050015 <packaging>pom</packaging>
Timoney, Dan (dt5972)b1ac7252018-12-14 13:00:43 -050016
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050017 <name>ccsdk-distribution :: odlsli-alpine</name>
18 <description>Creates Alpine-based ODLSLI Docker container</description>
19 <organization>
20 <name>openECOMP</name>
21 </organization>
Timoney, Dan (dt5972)b1ac7252018-12-14 13:00:43 -050022
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050023 <properties>
Dan Timoney22264e52020-07-14 09:46:02 -040024 <base.image.name>onap/ccsdk-odl-sodium-alpine-image</base.image.name>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050025 <image.name>onap/ccsdk-odlsli-alpine-image</image.name>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050026
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050027 <ccsdk.project.version>${project.version}</ccsdk.project.version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050028 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050029 <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp>
30
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050031 <docker.verbose>true</docker.verbose>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050032
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050033 <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy>
34 <opendaylight.root>opt/opendaylight</opendaylight.root>
35
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050036 <ansible.gpg.key>93C4A3FD7BB9C367</ansible.gpg.key>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050037 <odl.features.extra>odl-restconf-all,odl-mdsal-all,odl-mdsal-apidocs, odl-daexim-all, odl-restconf-nb-rfc8040</odl.features.extra>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050038 <ccsdk.odl.features>
39 ccsdk-sli-core-all,ccsdk-sli-adaptors-all,ccsdk-sli-northbound-all,ccsdk-sli-plugins-all,ccsdk-features-all
40 </ccsdk.odl.features>
41 <odl.boot.features.extra>${odl.features.extra},${ccsdk.odl.features}</odl.boot.features.extra>
Sandeep Shah1ae396c2019-11-03 11:09:47 -060042
Dan Timoney616b6742020-11-30 09:46:11 -050043 <ccsdk.features.version>1.1.0</ccsdk.features.version>
44 <ccsdk.sli.core.version>1.1.0</ccsdk.sli.core.version>
45 <ccsdk.sli.adaptors.version>1.1.0</ccsdk.sli.adaptors.version>
46 <ccsdk.sli.northbound.version>1.1.0</ccsdk.sli.northbound.version>
47 <ccsdk.sli.plugins.version>1.1.0</ccsdk.sli.plugins.version>
48 <ccsdk.oran.a1adapter.version>1.1.0</ccsdk.oran.a1adapter.version>
Dan Timoney0f244522020-11-17 07:42:27 -050049 <docker.autoCreateCustomNetworks>true</docker.autoCreateCustomNetworks>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050050 </properties>
Sandeep Shahb7c724b2019-04-27 03:05:08 -050051
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050052 <dependencies>
Timoney, Dan (dt5972)b1ac7252018-12-14 13:00:43 -050053 <dependency>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050054 <groupId>${project.groupId}</groupId>
55 <artifactId>dependencies</artifactId>
56 <version>${project.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050057 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050058 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050059 </dependency>
Timoney, Dan (dt5972)a92a8382019-04-02 10:35:09 -070060
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050061 <dependency>
62 <groupId>org.onap.ccsdk.sli.core</groupId>
63 <artifactId>dblib-installer</artifactId>
64 <version>${ccsdk.sli.core.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050065 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050066 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050067 </dependency>
68 <dependency>
69 <groupId>org.onap.ccsdk.sli.core</groupId>
70 <artifactId>filters-installer</artifactId>
71 <version>${ccsdk.sli.core.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050072 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050073 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050074 </dependency>
75 <dependency>
76 <groupId>org.onap.ccsdk.sli.core</groupId>
77 <artifactId>sli-installer</artifactId>
78 <version>${ccsdk.sli.core.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050079 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050080 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050081 </dependency>
82 <dependency>
83 <groupId>org.onap.ccsdk.sli.core</groupId>
84 <artifactId>sliapi-installer</artifactId>
85 <version>${ccsdk.sli.core.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050086 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050087 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050088 </dependency>
89 <dependency>
90 <groupId>org.onap.ccsdk.sli.core</groupId>
91 <artifactId>sliPluginUtils-installer</artifactId>
92 <version>${ccsdk.sli.core.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050093 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -050094 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -050095 </dependency>
96 <dependency>
97 <groupId>org.onap.ccsdk.sli.core</groupId>
98 <artifactId>utils-installer</artifactId>
99 <version>${ccsdk.sli.core.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500100 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500101 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500102 </dependency>
103 <dependency>
104 <groupId>org.onap.ccsdk.sli.core</groupId>
105 <artifactId>slicore-features-installer</artifactId>
106 <version>${ccsdk.sli.core.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500107 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500108 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500109 </dependency>
110 <dependency>
111 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
112 <artifactId>aai-service-installer</artifactId>
113 <version>${ccsdk.sli.adaptors.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500114 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500115 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500116 </dependency>
117 <dependency>
118 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
119 <artifactId>ansible-adapter-installer</artifactId>
120 <version>${ccsdk.sli.adaptors.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500121 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500122 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500123 </dependency>
124 <dependency>
125 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
126 <artifactId>base-http-installer</artifactId>
127 <version>${ccsdk.sli.adaptors.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500128 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500129 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500130 </dependency>
131 <dependency>
132 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
133 <artifactId>mdsal-resource-installer</artifactId>
134 <version>${ccsdk.sli.adaptors.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500135 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500136 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500137 </dependency>
138 <dependency>
139 <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId>
140 <artifactId>publisher.installer</artifactId>
141 <version>${ccsdk.sli.adaptors.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500142 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500143 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500144 </dependency>
145 <dependency>
146 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
147 <artifactId>netbox-client-installer</artifactId>
148 <version>${ccsdk.sli.adaptors.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500149 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500150 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500151 </dependency>
152 <dependency>
153 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
154 <artifactId>resource-assignment-installer</artifactId>
155 <version>${ccsdk.sli.adaptors.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500156 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500157 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500158 </dependency>
159 <dependency>
160 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
161 <artifactId>saltstack-adapter-installer</artifactId>
162 <version>${ccsdk.sli.adaptors.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500163 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500164 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500165 </dependency>
166 <dependency>
167 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
168 <artifactId>sql-resource-installer</artifactId>
169 <version>${ccsdk.sli.adaptors.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500170 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500171 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500172 </dependency>
173 <dependency>
174 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
175 <artifactId>sliadaptors-features-installer</artifactId>
176 <version>${ccsdk.sli.adaptors.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500177 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500178 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500179 </dependency>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500180 <dependency>
181 <groupId>org.onap.ccsdk.sli.northbound</groupId>
182 <artifactId>asdcApi-installer</artifactId>
183 <version>${ccsdk.sli.northbound.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500184 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500185 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500186 </dependency>
187 <dependency>
188 <groupId>org.onap.ccsdk.sli.northbound</groupId>
189 <artifactId>dataChange-installer</artifactId>
190 <version>${ccsdk.sli.northbound.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500191 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500192 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500193 </dependency>
194 <dependency>
195 <groupId>org.onap.ccsdk.sli.northbound</groupId>
196 <artifactId>lcm-installer</artifactId>
197 <version>${ccsdk.sli.northbound.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500198 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500199 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500200 </dependency>
201 <dependency>
202 <groupId>org.onap.ccsdk.sli.northbound</groupId>
203 <artifactId>slinorthbound-features-installer</artifactId>
204 <version>${ccsdk.sli.northbound.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500205 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500206 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500207 </dependency>
208 <dependency>
209 <groupId>org.onap.ccsdk.sli.plugins</groupId>
210 <artifactId>properties-node-installer</artifactId>
211 <version>${ccsdk.sli.plugins.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500212 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500213 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500214 </dependency>
215 <dependency>
216 <groupId>org.onap.ccsdk.sli.plugins</groupId>
217 <artifactId>restapi-call-node-installer</artifactId>
218 <version>${ccsdk.sli.plugins.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500219 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500220 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500221 </dependency>
222 <dependency>
223 <groupId>org.onap.ccsdk.sli.plugins</groupId>
224 <artifactId>template-node-installer</artifactId>
225 <version>${ccsdk.sli.plugins.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500226 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500227 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500228 </dependency>
229 <dependency>
230 <groupId>org.onap.ccsdk.sli.plugins</groupId>
231 <artifactId>restconf-client-installer</artifactId>
232 <version>${ccsdk.sli.plugins.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500233 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500234 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500235 </dependency>
236 <dependency>
237 <groupId>org.onap.ccsdk.sli.plugins</groupId>
238 <artifactId>sshapi-call-node-installer</artifactId>
239 <version>${ccsdk.sli.plugins.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500240 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500241 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500242 </dependency>
243 <dependency>
244 <groupId>org.onap.ccsdk.sli.plugins</groupId>
245 <artifactId>sliplugins-features-installer</artifactId>
246 <version>${ccsdk.sli.plugins.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500247 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500248 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500249 </dependency>
250 <dependency>
251 <groupId>org.onap.ccsdk.features</groupId>
252 <artifactId>features-installer</artifactId>
253 <version>${ccsdk.features.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500254 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500255 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500256 </dependency>
257 <dependency>
258 <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
259 <artifactId>sdnr-wt-feature-aggregator-installer</artifactId>
260 <version>${ccsdk.features.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500261 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500262 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500263 </dependency>
264 <dependency>
265 <groupId>org.onap.ccsdk.features</groupId>
266 <artifactId>aafshiro-installer</artifactId>
267 <version>${ccsdk.features.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500268 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500269 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500270 </dependency>
271 <dependency>
272 <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
273 <artifactId>sdnr-northbound-features-installer</artifactId>
274 <version>${ccsdk.features.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500275 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500276 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500277 </dependency>
278 <dependency>
Lathish0e5d6a02020-08-06 10:25:41 +0100279 <groupId>org.onap.ccsdk.oran</groupId>
280 <artifactId>a1-adapter-northbound-installer</artifactId>
281 <version>${ccsdk.oran.a1adapter.version}</version>
Lathish0e5d6a02020-08-06 10:25:41 +0100282 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500283 <classifier>repo</classifier>
Lathish0e5d6a02020-08-06 10:25:41 +0100284 </dependency>
285 <dependency>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500286 <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
287 <artifactId>oofpcipoc-installer</artifactId>
288 <version>${ccsdk.features.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500289 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500290 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500291 </dependency>
292 <dependency>
RehanRaza600b9442020-08-24 15:43:29 +0200293 <groupId>org.onap.ccsdk.oran</groupId>
294 <artifactId>a1-adapter-installer</artifactId>
295 <version>${ccsdk.oran.a1adapter.version}</version>
RehanRaza600b9442020-08-24 15:43:29 +0200296 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500297 <classifier>repo</classifier>
RehanRaza600b9442020-08-24 15:43:29 +0200298 </dependency>
299 <dependency>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500300 <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
301 <artifactId>CMNotify-installer</artifactId>
302 <version>${ccsdk.features.version}</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500303 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500304 <classifier>repo</classifier>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500305 </dependency>
Sandeep Shah025091f2020-08-20 10:37:52 -0500306 <dependency>
307 <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
308 <artifactId>ranSlice-installer</artifactId>
309 <version>${ccsdk.features.version}</version>
Sandeep Shah025091f2020-08-20 10:37:52 -0500310 <type>zip</type>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500311 <classifier>repo</classifier>
Sandeep Shah025091f2020-08-20 10:37:52 -0500312 </dependency>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500313 </dependencies>
314
315 <build>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500316 <plugins>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500317 <plugin>
318 <groupId>org.codehaus.groovy.maven</groupId>
319 <artifactId>gmaven-plugin</artifactId>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500320 <version>1.0</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500321 <executions>
322 <execution>
323 <phase>validate</phase>
324 <goals>
325 <goal>execute</goal>
326 </goals>
327 <configuration>
Lasse Kaihlavirta0c4500a2020-12-03 17:54:13 +0200328 <source>${basedir}/../../src/main/scripts/TagSnapshotVersion.groovy</source>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500329 </configuration>
330 </execution>
331 </executions>
332 </plugin>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500333 <plugin>
334 <artifactId>maven-resources-plugin</artifactId>
335 <version>2.6</version>
336 <executions>
337 <execution>
338 <id>copy-dockerfile</id>
339 <goals>
340 <goal>copy-resources</goal>
341 </goals><!-- here the phase you need -->
342 <phase>validate</phase>
343 <configuration>
344 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
345 <resources>
346 <resource>
347 <directory>src/main/docker</directory>
348 <includes>
349 <include>Dockerfile</include>
350 </includes>
351 <filtering>true</filtering>
352 </resource>
353 </resources>
354 </configuration>
355 </execution>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500356 <execution>
357 <id>copy-scripts</id>
358 <goals>
359 <goal>copy-resources</goal>
360 </goals><!-- here the phase you need -->
361 <phase>validate</phase>
362 <configuration>
363 <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk/bin</outputDirectory>
364 <resources>
365 <resource>
366 <directory>../src/main/scripts</directory>
367 <includes>
368 <include>*.sh</include>
369 </includes>
370 <filtering>false</filtering>
371 </resource>
372 </resources>
373 </configuration>
374 </execution>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500375 <execution>
376 <id>copy-odl-resources</id>
377 <goals>
378 <goal>copy-resources</goal>
379 </goals><!-- here the phase you need -->
380 <phase>validate</phase>
381 <configuration>
382 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
383 <resources>
384 <resource>
385 <directory>../src/main/resources</directory>
386 <includes>
387 <include>idmlight.db.mv.db</include>
388 <include>org.ops4j.pax.logging.cfg</include>
389 <include>install_ccsdk.yml</include>
390 <include>ansible-sources.list</include>
391 </includes>
392 <filtering>false</filtering>
393 </resource>
394 </resources>
395 </configuration>
396 </execution>
397 <execution>
398 <id>copy-config</id>
399 <goals>
400 <goal>copy-resources</goal>
401 </goals><!-- here the phase you need -->
402 <phase>validate</phase>
403 <configuration>
404 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
405 <resources>
406 <resource>
407 <directory>../src/main/resources</directory>
408 <includes>
409 <include>org.ops4j.pax.logging.cfg</include>
410 </includes>
411 <filtering>false</filtering>
412 </resource>
413 </resources>
414 </configuration>
415 </execution>
416 <execution>
417 <id>copy-data</id>
418 <goals>
419 <goal>copy-resources</goal>
420 </goals><!-- here the phase you need -->
421 <phase>validate</phase>
422 <configuration>
423 <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk/data</outputDirectory>
424 <resources>
425 <resource>
426 <directory>../src/main/resources</directory>
427 <includes>
428 <include>*.dump</include>
429 </includes>
430 <filtering>false</filtering>
431 </resource>
432 </resources>
433 </configuration>
434 </execution>
435 <execution>
436 <id>copy-properties</id>
437 <goals>
438 <goal>copy-resources</goal>
439 </goals><!-- here the phase you need -->
440 <phase>validate</phase>
441 <configuration>
442 <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk/data/properties
443 </outputDirectory>
444 <resources>
445 <resource>
446 <directory>../src/main/properties</directory>
447 <includes>
448 <include>*.properties</include>
449 <include>*.vt</include>
450 </includes>
451 <filtering>false</filtering>
452 </resource>
453 </resources>
454 </configuration>
455 </execution>
456 <execution>
457 <id>copy-keystores</id>
458 <goals>
459 <goal>copy-resources</goal>
460 </goals><!-- here the phase you need -->
461 <phase>validate</phase>
462 <configuration>
463 <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk/data/stores</outputDirectory>
464 <resources>
465 <resource>
466 <directory>../src/main/stores</directory>
467 <includes>
468 <include>*.jks</include>
469 </includes>
470 <filtering>false</filtering>
471 </resource>
472 </resources>
473 </configuration>
474 </execution>
475 </executions>
476 </plugin>
477 <plugin>
478 <groupId>org.apache.maven.plugins</groupId>
479 <artifactId>maven-dependency-plugin</artifactId>
480 <version>3.0.2</version>
481 <executions>
482 <execution>
483 <id>unpack features</id>
484 <phase>generate-sources</phase>
485 <goals>
486 <goal>unpack-dependencies</goal>
487 </goals>
488 <configuration>
489 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
490 <excludeTransitive>true</excludeTransitive>
491 </configuration>
492 </execution>
493 <execution>
494 <id>unpack dgs</id>
495 <phase>generate-sources</phase>
496 <goals>
497 <goal>unpack</goal>
498 </goals>
499 <configuration>
500 <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk</outputDirectory>
501 <artifactItems>
502 <artifactItem>
503 <groupId>${project.groupId}</groupId>
504 <artifactId>platform-logic-installer</artifactId>
505 <version>${project.version}</version>
506 <type>zip</type>
507 </artifactItem>
508 </artifactItems>
509 </configuration>
510 </execution>
511 </executions>
512 </plugin>
513 <plugin>
514 <groupId>org.codehaus.mojo</groupId>
515 <artifactId>exec-maven-plugin</artifactId>
516 <version>1.5.0</version>
517 <executions>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500518 <execution>
519 <id>change shell permissions</id>
520 <phase>process-sources</phase>
521 <goals>
522 <goal>exec</goal>
523 </goals>
524 <configuration>
525 <executable>/usr/bin/find</executable>
526 <arguments>
527 <argument>${basedir}/target/docker-stage/opt/onap/ccsdk</argument>
528 <argument>-name</argument>
529 <argument>*.sh</argument>
530 <argument>-exec</argument>
531 <argument>chmod</argument>
532 <argument>+x</argument>
533 <argument>{}</argument>
534 <argument>;</argument>
535 </arguments>
536 </configuration>
537 </execution>
538 </executions>
539 </plugin>
Dan Timoney0f244522020-11-17 07:42:27 -0500540 <plugin>
541 <groupId>org.apache.maven.plugins</groupId>
542 <artifactId>maven-failsafe-plugin</artifactId>
543 <executions>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500544 <execution>
545 <goals>
546 <goal>integration-test</goal>
547 <goal>verify</goal>
548 </goals>
549 </execution>
Dan Timoney0f244522020-11-17 07:42:27 -0500550 </executions>
551 <configuration>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500552 <skipITs>true</skipITs>
Dan Timoney0f244522020-11-17 07:42:27 -0500553 </configuration>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500554 </plugin>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500555 </plugins>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500556 <extensions>
557 <extension><!-- this extension is required by wagon in order to pass the proxy -->
558 <groupId>org.apache.maven.wagon</groupId>
559 <artifactId>wagon-http-lightweight</artifactId>
560 <version>2.2</version>
561 </extension>
562 </extensions>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500563 </build>
Timoney, Dan (dt5972)b1ac7252018-12-14 13:00:43 -0500564
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500565 <profiles>
566 <profile>
567 <id>docker</id>
568 <build>
569 <plugins>
570 <plugin>
Dan Timoney0f244522020-11-17 07:42:27 -0500571 <groupId>org.apache.maven.plugins</groupId>
572 <artifactId>maven-failsafe-plugin</artifactId>
573 <executions>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500574 <execution>
575 <goals>
576 <goal>integration-test</goal>
577 <goal>verify</goal>
578 </goals>
579 </execution>
Dan Timoney0f244522020-11-17 07:42:27 -0500580 </executions>
581 <configuration>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500582 <skipITs>false</skipITs>
583 <environmentVariables>
584 <ODLSLI_PORT>${odlsli.port}</ODLSLI_PORT>
585 </environmentVariables>
Dan Timoney0f244522020-11-17 07:42:27 -0500586 </configuration>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500587 </plugin>
Dan Timoney0f244522020-11-17 07:42:27 -0500588 <plugin>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500589 <groupId>io.fabric8</groupId>
590 <artifactId>docker-maven-plugin</artifactId>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500591 <version>0.34.0</version>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500592 <inherited>false</inherited>
593 <configuration>
594 <images>
595 <image>
596 <name>${image.name}</name>
597 <build>
598 <cleanup>try</cleanup>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500599 <contextDir>${basedir}/target/docker-stage</contextDir>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500600 <dockerFile>Dockerfile</dockerFile>
601 <tags>
Lasse Kaihlavirta110bb112020-12-15 12:00:06 +0200602 <tag>${project.docker.latestminortag.snapshot.version}</tag>
603 <tag>${project.docker.latestfulltag.snapshot.version}</tag>
604 <tag>${project.docker.latesttagtimestamp.snapshot.version}</tag>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500605 </tags>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500606 </build>
607 </image>
608 </images>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500609 <verbose>${docker.verbose}</verbose>
Lasse Kaihlavirta133593a2021-01-15 17:20:00 +0200610 <skipPush>${docker.skip.push}</skipPush>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500611 </configuration>
612 <executions>
613 <execution>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500614 <id>build-images</id>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500615 <phase>package</phase>
616 <goals>
617 <goal>build</goal>
618 </goals>
619 </execution>
Dan Timoney0f244522020-11-17 07:42:27 -0500620 <execution>
621 <id>start-it-instance</id>
622 <phase>pre-integration-test</phase>
623 <goals>
624 <goal>start</goal>
625 </goals>
626 <configuration>
627 <images>
628 <image>
629 <name>mariadb:10.5</name>
630 <alias>odlsli-db</alias>
631 <run>
632 <env>
633 <MYSQL_ROOT_PASSWORD>itsASecret</MYSQL_ROOT_PASSWORD>
634 <MYSQL_USER>sdnctl</MYSQL_USER>
635 <MYSQL_PASSWORD>gamma</MYSQL_PASSWORD>
636 <MYSQL_DATABASE>sdnctl</MYSQL_DATABASE>
637 </env>
638 <network>
639 <mode>custom</mode>
640 <name>onap</name>
641 <alias>dbhost</alias>
642 <alias>sdnctldb01</alias>
643 <alias>sdnctldb02</alias>
644 </network>
645 <ports>
646 <port>odlslidb.port:3306</port>
647 </ports>
648 <log>
649 <enabled>true</enabled>
650 </log>
651 </run>
652 </image>
653 <image>
Lasse Kaihlavirta110bb112020-12-15 12:00:06 +0200654 <name>${image.name}:${project.docker.latesttagtimestamp.snapshot.version}</name>
Dan Timoney0f244522020-11-17 07:42:27 -0500655 <alias>odlsli-container</alias>
656 <run>
657 <env>
658 <MYSQL_ROOT_PASSWORD>itsASecret</MYSQL_ROOT_PASSWORD>
659 <MYSQL_USER>sdnctl</MYSQL_USER>
660 <MYSQL_PASSWORD>gamma</MYSQL_PASSWORD>
661 <MYSQL_DATABASE>sdnctl</MYSQL_DATABASE>
662 <SDNC_CONFIG_DIR>/opt/onap/ccsdk/data/properties</SDNC_CONFIG_DIR>
663 <KARAF_CONSOLE_LOG_LEVEL>INFO</KARAF_CONSOLE_LOG_LEVEL>
664 </env>
665 <dependsOn>
666 <container>odlsli-db</container>
667 </dependsOn>
668 <network>
669 <mode>custom</mode>
670 <name>onap</name>
671 <alias>odlsli</alias>
Lasse Kaihlavirta133593a2021-01-15 17:20:00 +0200672 </network>
Dan Timoney0f244522020-11-17 07:42:27 -0500673 <ports>
674 <port>odlsli.port:8181</port>
675 </ports>
676 <wait>
677 <log>all warp coils are now operating at peak efficiency</log>
678 <time>120000</time>
679 </wait>
680 <log>
681 <enabled>true</enabled>
682 </log>
683 </run>
684 </image>
685 </images>
686 </configuration>
687 </execution>
688 <execution>
689 <id>stop-it-instance</id>
690 <phase>post-integration-test</phase>
691 <goals>
692 <goal>stop</goal>
693 </goals>
694 </execution>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500695 <execution>
696 <id>push-images</id>
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500697 <goals>
Singal, Kapil (ks220y)b6e7d962020-12-17 14:37:06 -0500698 <!--<goal>build</goal>-->
Dan Timoneyf85fb6f2020-03-05 16:14:55 -0500699 <goal>push</goal>
700 </goals>
701 </execution>
702 </executions>
703 </plugin>
704 </plugins>
705 </build>
706 </profile>
707 </profiles>
Timoney, Dan (dt5972)b1ac7252018-12-14 13:00:43 -0500708</project>