Update CCSDK dockers to use 0.5.2 artifacts
[ccsdk/distribution.git] / odlsli / odlsli-ubuntu / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3         <modelVersion>4.0.0</modelVersion>
4
5         <parent>
6                 <groupId>org.onap.ccsdk.parent</groupId>
7                 <artifactId>odlparent-lite</artifactId>
8                 <version>1.3.3</version>
9                 <relativePath/>
10         </parent>
11
12         <groupId>org.onap.ccsdk.distribution</groupId>
13         <artifactId>distribution-odlsli-ubuntu</artifactId>
14         <version>0.5.2-SNAPSHOT</version>
15         <packaging>pom</packaging>
16
17         <name>ccsdk-distribution :: odlsli-ubuntu</name>
18         <description>Creates Ubuntu-based ODLSLI  Docker container</description>
19         <organization>
20                 <name>openECOMP</name>
21         </organization>
22
23         <properties>
24             <base.image.name>onap/ccsdk-odl-fluorine-ubuntu-image</base.image.name>
25                 <image.name>onap/ccsdk-odlsli-image</image.name>
26                 <ccsdk.project.version>${project.version}</ccsdk.project.version>
27                 <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp>
28                 <ccsdk.features.version>0.5.2</ccsdk.features.version>
29                 <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy>
30                 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
31                 <opendaylight.root>opt/opendaylight</opendaylight.root>
32                 <docker.push.phase>deploy</docker.push.phase>
33                 <docker.verbose>true</docker.verbose>
34                 <ansible.gpg.key>93C4A3FD7BB9C367</ansible.gpg.key>
35                 <odl.features.extra>odl-restconf-all,odl-mdsal-all,odl-mdsal-apidocs, odl-daexim-all,odl-restconf-nb-rfc8040</odl.features.extra>
36                 <ccsdk.odl.features>ccsdk-sli-core-all,ccsdk-sli-adaptors-all,ccsdk-sli-northbound-all,ccsdk-sli-plugins-all,ccsdk-features-all</ccsdk.odl.features>
37                 <odl.boot.features.extra>${odl.features.extra},${ccsdk.odl.features}</odl.boot.features.extra>
38
39                 <ccsdk.sli.core.version>0.5.2</ccsdk.sli.core.version>
40                 <ccsdk.sli.adaptors.version>0.5.2</ccsdk.sli.adaptors.version>
41                 <ccsdk.sli.northbound.version>0.5.2</ccsdk.sli.northbound.version>
42                 <ccsdk.sli.plugins.version>0.5.2</ccsdk.sli.plugins.version>
43         </properties>
44
45         <dependencies>
46                 <dependency>
47                         <groupId>${project.groupId}</groupId>
48                         <artifactId>dependencies</artifactId>
49                         <version>${project.version}</version>
50                         <classifier>repo</classifier>
51                         <type>zip</type>
52                 </dependency>
53
54                 <dependency>
55                         <groupId>org.onap.ccsdk.sli.core</groupId>
56                         <artifactId>dblib-installer</artifactId>
57                         <version>${ccsdk.sli.core.version}</version>
58                         <classifier>repo</classifier>
59                         <type>zip</type>
60                 </dependency>
61                 <dependency>
62                         <groupId>org.onap.ccsdk.sli.core</groupId>
63                         <artifactId>filters-installer</artifactId>
64                         <version>${ccsdk.sli.core.version}</version>
65                         <classifier>repo</classifier>
66                         <type>zip</type>
67                 </dependency>
68                 <dependency>
69                         <groupId>org.onap.ccsdk.sli.core</groupId>
70                         <artifactId>sli-installer</artifactId>
71                         <version>${ccsdk.sli.core.version}</version>
72                         <classifier>repo</classifier>
73                         <type>zip</type>
74                 </dependency>
75                 <dependency>
76                         <groupId>org.onap.ccsdk.sli.core</groupId>
77                         <artifactId>sliapi-installer</artifactId>
78                         <version>${ccsdk.sli.core.version}</version>
79                         <classifier>repo</classifier>
80                         <type>zip</type>
81                 </dependency>
82                 <dependency>
83                         <groupId>org.onap.ccsdk.sli.core</groupId>
84                         <artifactId>sliPluginUtils-installer</artifactId>
85                         <version>${ccsdk.sli.core.version}</version>
86                         <classifier>repo</classifier>
87                         <type>zip</type>
88                 </dependency>
89                 <dependency>
90                         <groupId>org.onap.ccsdk.sli.core</groupId>
91                         <artifactId>utils-installer</artifactId>
92                         <version>${ccsdk.sli.core.version}</version>
93                         <classifier>repo</classifier>
94                         <type>zip</type>
95                 </dependency>
96                 <dependency>
97                         <groupId>org.onap.ccsdk.sli.core</groupId>
98                         <artifactId>slicore-features-installer</artifactId>
99                         <version>${ccsdk.sli.core.version}</version>
100                         <classifier>repo</classifier>
101                         <type>zip</type>
102                 </dependency>
103                 <dependency>
104                         <groupId>org.onap.ccsdk.sli.adaptors</groupId>
105                         <artifactId>aai-service-installer</artifactId>
106                         <version>${ccsdk.sli.adaptors.version}</version>
107                         <classifier>repo</classifier>
108                         <type>zip</type>
109                 </dependency>
110         <dependency>
111                         <groupId>org.onap.ccsdk.sli.adaptors</groupId>
112                         <artifactId>ansible-adapter-installer</artifactId>
113                         <version>${ccsdk.sli.adaptors.version}</version>
114                         <classifier>repo</classifier>
115                         <type>zip</type>
116                 </dependency>
117                 <dependency>
118                         <groupId>org.onap.ccsdk.sli.adaptors</groupId>
119                         <artifactId>base-http-installer</artifactId>
120                         <version>${ccsdk.sli.adaptors.version}</version>
121                         <classifier>repo</classifier>
122                         <type>zip</type>
123                 </dependency>
124                 <dependency>
125                         <groupId>org.onap.ccsdk.sli.adaptors</groupId>
126                         <artifactId>mdsal-resource-installer</artifactId>
127                         <version>${ccsdk.sli.adaptors.version}</version>
128                         <classifier>repo</classifier>
129                         <type>zip</type>
130                 </dependency>
131                 <dependency>
132                         <groupId>org.onap.ccsdk.sli.adaptors.messagerouter</groupId>
133                         <artifactId>publisher.installer</artifactId>
134                         <version>${ccsdk.sli.adaptors.version}</version>
135                         <classifier>repo</classifier>
136                         <type>zip</type>
137                 </dependency>
138                 <dependency>
139                         <groupId>org.onap.ccsdk.sli.adaptors</groupId>
140                         <artifactId>netbox-client-installer</artifactId>
141                         <version>${ccsdk.sli.adaptors.version}</version>
142                         <classifier>repo</classifier>
143                         <type>zip</type>
144                 </dependency>
145                 <dependency>
146                         <groupId>org.onap.ccsdk.sli.adaptors</groupId>
147                         <artifactId>resource-assignment-installer</artifactId>
148                         <version>${ccsdk.sli.adaptors.version}</version>
149                         <classifier>repo</classifier>
150                         <type>zip</type>
151                 </dependency>
152                 <dependency>
153                         <groupId>org.onap.ccsdk.sli.adaptors</groupId>
154                         <artifactId>saltstack-adapter-installer</artifactId>
155                         <version>${ccsdk.sli.adaptors.version}</version>
156                         <classifier>repo</classifier>
157                         <type>zip</type>
158                 </dependency>
159                 <dependency>
160                         <groupId>org.onap.ccsdk.sli.adaptors</groupId>
161                         <artifactId>sql-resource-installer</artifactId>
162                         <version>${ccsdk.sli.adaptors.version}</version>
163                         <classifier>repo</classifier>
164                         <type>zip</type>
165                 </dependency>
166                 <dependency>
167                         <groupId>org.onap.ccsdk.sli.adaptors</groupId>
168                         <artifactId>sliadaptors-features-installer</artifactId>
169                         <version>${ccsdk.sli.adaptors.version}</version>
170                         <classifier>repo</classifier>
171                         <type>zip</type>
172                 </dependency>
173                 <dependency>
174                         <groupId>org.onap.ccsdk.sli.northbound</groupId>
175                         <artifactId>asdcApi-installer</artifactId>
176                         <version>${ccsdk.sli.northbound.version}</version>
177                         <classifier>repo</classifier>
178                         <type>zip</type>
179                 </dependency>
180                 <dependency>
181                         <groupId>org.onap.ccsdk.sli.northbound</groupId>
182                         <artifactId>dataChange-installer</artifactId>
183                         <version>${ccsdk.sli.northbound.version}</version>
184                         <classifier>repo</classifier>
185                         <type>zip</type>
186                 </dependency>
187                 <dependency>
188                         <groupId>org.onap.ccsdk.sli.northbound</groupId>
189                         <artifactId>lcm-installer</artifactId>
190                         <version>${ccsdk.sli.northbound.version}</version>
191                         <classifier>repo</classifier>
192                         <type>zip</type>
193                 </dependency>
194                 <dependency>
195                         <groupId>org.onap.ccsdk.sli.northbound</groupId>
196                         <artifactId>slinorthbound-features-installer</artifactId>
197                         <version>${ccsdk.sli.northbound.version}</version>
198                         <classifier>repo</classifier>
199                         <type>zip</type>
200                 </dependency>
201                 <dependency>
202                         <groupId>org.onap.ccsdk.sli.plugins</groupId>
203                         <artifactId>properties-node-installer</artifactId>
204                         <version>${ccsdk.sli.plugins.version}</version>
205                         <classifier>repo</classifier>
206                         <type>zip</type>
207                 </dependency>
208                 <dependency>
209                         <groupId>org.onap.ccsdk.sli.plugins</groupId>
210                         <artifactId>restapi-call-node-installer</artifactId>
211                         <version>${ccsdk.sli.plugins.version}</version>
212                         <classifier>repo</classifier>
213                         <type>zip</type>
214                 </dependency>
215                 <dependency>
216                         <groupId>org.onap.ccsdk.sli.plugins</groupId>
217                         <artifactId>template-node-installer</artifactId>
218                         <version>${ccsdk.sli.plugins.version}</version>
219                         <classifier>repo</classifier>
220                         <type>zip</type>
221                 </dependency>
222                 <dependency>
223                         <groupId>org.onap.ccsdk.sli.plugins</groupId>
224                         <artifactId>restconf-client-installer</artifactId>
225                         <version>${ccsdk.sli.plugins.version}</version>
226                         <classifier>repo</classifier>
227                         <type>zip</type>
228                 </dependency>
229                 <dependency>
230                         <groupId>org.onap.ccsdk.sli.plugins</groupId>
231                         <artifactId>sshapi-call-node-installer</artifactId>
232                         <version>${ccsdk.sli.plugins.version}</version>
233                         <classifier>repo</classifier>
234                         <type>zip</type>
235                 </dependency>
236                 <dependency>
237                         <groupId>org.onap.ccsdk.sli.plugins</groupId>
238                         <artifactId>sliplugins-features-installer</artifactId>
239                         <version>${ccsdk.sli.plugins.version}</version>
240                         <classifier>repo</classifier>
241                         <type>zip</type>
242                 </dependency>
243                 <dependency>
244                         <groupId>org.onap.ccsdk.features</groupId>
245                         <artifactId>features-installer</artifactId>
246                         <version>${ccsdk.features.version}</version>
247                         <classifier>repo</classifier>
248                         <type>zip</type>
249                 </dependency>
250                 <dependency>
251                         <groupId>org.onap.ccsdk.features</groupId>
252                         <artifactId>blueprints-processor-installer</artifactId>
253                         <version>${ccsdk.features.version}</version>
254                         <classifier>repo</classifier>
255                         <type>zip</type>
256                 </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>
261                         <classifier>repo</classifier>
262                         <type>zip</type>
263                 </dependency>
264                 <dependency>
265                         <groupId>org.onap.ccsdk.features</groupId>
266                         <artifactId>aafshiro-installer</artifactId>
267                         <version>${ccsdk.features.version}</version>
268                         <classifier>repo</classifier>
269                         <type>zip</type>
270                 </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>
275       <classifier>repo</classifier>
276       <type>zip</type>
277     </dependency>
278                 <dependency>
279                         <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
280                         <artifactId>oofpcipoc-installer</artifactId>
281                         <version>${ccsdk.features.version}</version>
282                         <classifier>repo</classifier>
283                         <type>zip</type>
284                 </dependency>
285         </dependencies>
286
287         <build>
288         <extensions>
289                 <extension>
290                         <!-- this extension is required by wagon in order to pass the proxy -->
291                         <groupId>org.apache.maven.wagon</groupId>
292                         <artifactId>wagon-http-lightweight</artifactId>
293                         <version>2.2</version>
294                 </extension>
295         </extensions>
296                 <plugins>
297
298
299                         <plugin>
300                                 <groupId>org.codehaus.groovy.maven</groupId>
301                                 <artifactId>gmaven-plugin</artifactId>
302                                 <executions>
303                                         <execution>
304                                                 <phase>validate</phase>
305                                                 <goals>
306                                                         <goal>execute</goal>
307                                                 </goals>
308                                                 <configuration>
309                                                         <source>${basedir}/../../src/main/scripts/TagVersion.groovy</source>
310                                                 </configuration>
311                                         </execution>
312                                 </executions>
313                         </plugin>
314
315
316
317                         <plugin>
318                                 <artifactId>maven-resources-plugin</artifactId>
319                                 <version>2.6</version>
320                                 <executions>
321                                         <execution>
322                                                 <id>copy-dockerfile</id>
323                                                 <goals>
324                                                         <goal>copy-resources</goal>
325                                                 </goals><!-- here the phase you need -->
326                                                 <phase>validate</phase>
327                                                 <configuration>
328                                                         <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
329                                                         <resources>
330                                                                 <resource>
331                                                                         <directory>src/main/docker</directory>
332                                                                         <includes>
333                                                                                 <include>Dockerfile</include>
334                                                                         </includes>
335                                                                         <filtering>true</filtering>
336                                                                 </resource>
337                                                         </resources>
338                                                 </configuration>
339                                         </execution>
340
341                                         <execution>
342                                                 <id>copy-scripts</id>
343                                                 <goals>
344                                                         <goal>copy-resources</goal>
345                                                 </goals><!-- here the phase you need -->
346                                                 <phase>validate</phase>
347                                                 <configuration>
348                                                         <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk/bin</outputDirectory>
349                                                         <resources>
350                                                                 <resource>
351                                                                         <directory>../src/main/scripts</directory>
352                                                                         <includes>
353                                                                                 <include>*.sh</include>
354                                                                         </includes>
355                                                                         <filtering>false</filtering>
356                                                                 </resource>
357                                                         </resources>
358                                                 </configuration>
359                                         </execution>
360
361                                         <execution>
362                                                 <id>copy-odl-resources</id>
363                                                 <goals>
364                                                         <goal>copy-resources</goal>
365                                                 </goals><!-- here the phase you need -->
366                                                 <phase>validate</phase>
367                                                 <configuration>
368                                                         <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
369                                                         <resources>
370                                                                 <resource>
371                                                                         <directory>../src/main/resources</directory>
372                                                                         <includes>
373                                                                                 <include>idmlight.db.mv.db</include>
374                                                                                 <include>org.ops4j.pax.logging.cfg</include>
375                                                                                 <include>install_ccsdk.yml</include>
376                                                                                 <include>ansible-sources.list</include>
377                                                                         </includes>
378                                                                         <filtering>false</filtering>
379                                                                 </resource>
380                                                         </resources>
381                                                 </configuration>
382                                         </execution>
383                                         <execution>
384                                                 <id>copy-config</id>
385                                                 <goals>
386                                                         <goal>copy-resources</goal>
387                                                 </goals><!-- here the phase you need -->
388                                                 <phase>validate</phase>
389                                                 <configuration>
390                                                         <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
391                                                         <resources>
392                                                                 <resource>
393                                                                         <directory>../src/main/resources</directory>
394                                                                         <includes>
395                                                                                 <include>org.ops4j.pax.logging.cfg</include>
396                                                                         </includes>
397                                                                         <filtering>false</filtering>
398                                                                 </resource>
399                                                         </resources>
400                                                 </configuration>
401                                         </execution>
402                                         <execution>
403                                                 <id>copy-data</id>
404                                                 <goals>
405                                                         <goal>copy-resources</goal>
406                                                 </goals><!-- here the phase you need -->
407                                                 <phase>validate</phase>
408                                                 <configuration>
409                                                         <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk/data</outputDirectory>
410                                                         <resources>
411                                                                 <resource>
412                                                                         <directory>../src/main/resources</directory>
413                                                                         <includes>
414                                                                                 <include>*.dump</include>
415                                                                         </includes>
416                                                                         <filtering>false</filtering>
417                                                                 </resource>
418                                                         </resources>
419                                                 </configuration>
420                                         </execution>
421                                         <execution>
422                                                 <id>copy-properties</id>
423                                                 <goals>
424                                                         <goal>copy-resources</goal>
425                                                 </goals><!-- here the phase you need -->
426                                                 <phase>validate</phase>
427                                                 <configuration>
428                                                         <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk/data/properties</outputDirectory>
429                                                         <resources>
430                                                                 <resource>
431                                                                         <directory>../src/main/properties</directory>
432                                                                         <includes>
433                                                                                 <include>*.properties</include>
434                                                                                 <include>*.vt</include>
435                                                                         </includes>
436                                                                         <filtering>false</filtering>
437                                                                 </resource>
438                                                         </resources>
439                                                 </configuration>
440                                         </execution>
441                                         <execution>
442                                                 <id>copy-keystores</id>
443                                                 <goals>
444                                                         <goal>copy-resources</goal>
445                                                 </goals><!-- here the phase you need -->
446                                                 <phase>validate</phase>
447                                                 <configuration>
448                                                         <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk/data/stores</outputDirectory>
449                                                         <resources>
450                                                                 <resource>
451                                                                         <directory>../src/main/stores</directory>
452                                                                         <includes>
453                                                                                 <include>*.jks</include>
454                                                                         </includes>
455                                                                         <filtering>false</filtering>
456                                                                 </resource>
457                                                         </resources>
458                                                 </configuration>
459                                         </execution>
460                                 </executions>
461                         </plugin>
462                         <plugin>
463                                 <groupId>org.apache.maven.plugins</groupId>
464                                 <artifactId>maven-dependency-plugin</artifactId>
465                                 <version>3.0.2</version>
466                                 <executions>
467                                         <execution>
468                                                 <id>unpack features</id>
469                                                 <phase>generate-sources</phase>
470                                                 <goals>
471                                                         <goal>unpack-dependencies</goal>
472                                                 </goals>
473                                                 <configuration>
474                                                         <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
475                                                         <excludeTransitive>true</excludeTransitive>
476                                                 </configuration>
477                                         </execution>
478                                         <execution>
479                                                 <id>unpack dgs</id>
480                                                 <phase>generate-sources</phase>
481                                                 <goals>
482                                                         <goal>unpack</goal>
483                                                 </goals>
484                                                 <configuration>
485                                                         <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk</outputDirectory>
486                                                         <artifactItems>
487                                                                 <artifactItem>
488                                                                         <groupId>${project.groupId}</groupId>
489                                                                         <artifactId>platform-logic-installer</artifactId>
490                                                                         <version>${project.version}</version>
491                                                                         <type>zip</type>
492                                                                 </artifactItem>
493                                                         </artifactItems>
494                                                 </configuration>
495                                         </execution>
496                                 </executions>
497                         </plugin>
498                         <plugin>
499                                 <groupId>org.codehaus.mojo</groupId>
500                                 <artifactId>exec-maven-plugin</artifactId>
501                                 <version>1.5.0</version>
502                                 <executions>
503
504                                         <execution>
505                                                 <id>change shell permissions</id>
506                                                 <phase>process-sources</phase>
507                                                 <goals>
508                                                         <goal>exec</goal>
509                                                 </goals>
510                                                 <configuration>
511                                                         <executable>/usr/bin/find</executable>
512                                                         <arguments>
513                                                                 <argument>${basedir}/target/docker-stage/opt/onap/ccsdk</argument>
514                                                                 <argument>-name</argument>
515                                                                 <argument>*.sh</argument>
516                                                                 <argument>-exec</argument>
517                                                                 <argument>chmod</argument>
518                                                                 <argument>+x</argument>
519                                                                 <argument>{}</argument>
520                                                                 <argument>;</argument>
521                                                         </arguments>
522                                                 </configuration>
523                                         </execution>
524                                 </executions>
525                         </plugin>
526
527
528                 </plugins>
529         </build>
530
531         <profiles>
532                 <profile>
533                         <id>docker</id>
534                         <build>
535                                 <plugins>
536                                         <plugin>
537                                                 <groupId>io.fabric8</groupId>
538                                                 <artifactId>docker-maven-plugin</artifactId>
539                                                 <version>0.16.5</version>
540                                                 <inherited>false</inherited>
541                                                 <configuration>
542                                                         <images>
543                                                                 <image>
544                                                                         <name>${image.name}</name>
545                                                                         <build>
546                                                                                 <cleanup>try</cleanup>
547                                                                                 <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
548                                                                                 <dockerFile>${basedir}/target/docker-stage/Dockerfile</dockerFile>
549                                                                                 <tags>
550                                                                                         <tag>${project.docker.latestminortag.version}</tag>
551                                                                                         <tag>${project.docker.latestfulltag.version}</tag>
552                                                                                         <tag>${project.docker.latesttagtimestamp.version}</tag>
553                                                                                 </tags>
554                                                                         </build>
555                                                                 </image>
556                                                         </images>
557                                                 </configuration>
558                                                 <executions>
559                                                         <execution>
560                                                                 <id>generate-images</id>
561                                                                 <phase>package</phase>
562                                                                 <goals>
563                                                                         <goal>build</goal>
564                                                                 </goals>
565                                                         </execution>
566
567                                                         <execution>
568                                                                 <id>push-images</id>
569                                                                 <phase>${docker.push.phase}</phase>
570                                                                 <goals>
571                                                                         <goal>build</goal>
572                                                                         <goal>push</goal>
573                                                                 </goals>
574                                                         </execution>
575                                                 </executions>
576                                         </plugin>
577                                 </plugins>
578                         </build>
579                 </profile>
580         </profiles>
581 </project>

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use