Effort to reduce image layer and size
[sdnc/oam.git] / platform-logic / setup / 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.sdnc.oam</groupId>
7         <artifactId>platform-logic</artifactId>
8         <version>2.2.0-SNAPSHOT</version>
9     </parent>
10
11     <artifactId>platform-logic-setup</artifactId>
12     <packaging>pom</packaging>
13
14     <name>sdnc-oam :: platform-logic :: ${project.artifactId}</name>
15     <description>Copies base ONAP platform-logic</description>
16
17     <build>
18         <plugins>
19
20             <plugin>
21                 <groupId>org.apache.maven.plugins</groupId>
22                 <artifactId>maven-dependency-plugin</artifactId>
23                 <version>3.0.0</version>
24                 <executions>
25                     <execution>
26                         <id>unpack</id>
27                         <phase>validate</phase>
28                         <goals>
29                             <goal>unpack</goal>
30                         </goals>
31                         <configuration>
32                             <artifactItems>
33                                 <artifactItem>
34                                     <groupId>org.onap.ccsdk.distribution</groupId>
35                                     <artifactId>platform-logic-installer</artifactId>
36                                     <version>${ccsdk.distribution.version}</version>
37                                     <type>zip</type>
38                                     <overWrite>true</overWrite>
39                                     <outputDirectory>../target</outputDirectory>
40                                 </artifactItem>
41                             </artifactItems>
42                             <overWriteReleases>false</overWriteReleases>
43                             <overWriteSnapshots>true</overWriteSnapshots>
44                             <overWriteIfNewer>true</overWriteIfNewer>
45                         </configuration>
46                     </execution>
47                 </executions>
48             </plugin>
49         </plugins>
50     </build>
51 </project>