Added CSIT for Macroflow with HEAT
[integration/csit.git] / plans / so / integration-etsi-testing / so-simulators / package / docker / pom.xml
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/xsd/maven-4.0.0.xsd">
3     <parent>
4         <artifactId>package</artifactId>
5         <groupId>org.onap.so.simulators</groupId>
6         <version>1.0-SNAPSHOT</version>
7     </parent>
8     <modelVersion>4.0.0</modelVersion>
9     <artifactId>docker</artifactId>
10     <packaging>pom</packaging>
11     <name>${project.artifactId}</name>
12     <build>
13         <finalName>${project.artifactId}-${project.version}</finalName>
14         <plugins>
15             <plugin>
16                 <groupId>io.fabric8</groupId>
17                 <artifactId>docker-maven-plugin</artifactId>
18                 <version>0.28.0</version>
19                 <configuration>
20                     <verbose>true</verbose>
21                     <apiVersion>1.23</apiVersion>
22                     <pullRegistry>${docker.pull.registry}</pullRegistry>
23                     <pushRegistry>${docker.push.registry}</pushRegistry>
24                     <images>
25                         <image>
26                             <name>jobs/workaround-job-container</name>
27                             <build>
28                                 <cleanup>try</cleanup>
29                                 <dockerFileDir>docker-files</dockerFileDir>
30                                 <dockerFile>Dockerfile.workaround-job-container</dockerFile>
31                             </build>
32                         </image>
33                         <image>
34                             <name>simulators/sdc-simulator</name>
35                             <build>
36                                 <cleanup>try</cleanup>
37                                 <dockerFileDir>docker-files</dockerFileDir>
38                                 <dockerFile>Dockerfile.so-simulator-base-image</dockerFile>
39                                 <tags>
40                                     <tag>${project.version}</tag>
41                                 </tags>
42                                 <assembly>
43                                     <inline>
44                                         <dependencySets>
45                                             <dependencySet>
46                                                 <includes>
47                                                     <include>org.onap.so.simulators:sdc-simulator</include>
48                                                 </includes>
49                                                 <outputFileNameMapping>app.jar</outputFileNameMapping>
50                                             </dependencySet>
51                                         </dependencySets>
52                                     </inline>
53                                 </assembly>
54                             </build>
55                         </image>
56                         <image>
57                             <name>simulators/aai-simulator</name>
58                             <build>
59                                 <cleanup>try</cleanup>
60                                 <dockerFileDir>docker-files</dockerFileDir>
61                                 <dockerFile>Dockerfile.so-simulator-base-image</dockerFile>
62                                 <tags>
63                                     <tag>${project.version}</tag>
64                                 </tags>
65                                 <assembly>
66                                     <inline>
67                                         <dependencySets>
68                                             <dependencySet>
69                                                 <includes>
70                                                     <include>org.onap.so.simulators:aai-simulator</include>
71                                                 </includes>
72                                                 <outputFileNameMapping>app.jar</outputFileNameMapping>
73                                             </dependencySet>
74                                         </dependencySets>
75                                     </inline>
76                                 </assembly>
77                             </build>
78                         </image>
79                         <image>
80                             <name>simulators/sdnc-simulator</name>
81                             <build>
82                                 <cleanup>try</cleanup>
83                                 <dockerFileDir>docker-files</dockerFileDir>
84                                 <dockerFile>Dockerfile.so-simulator-base-image</dockerFile>
85                                 <tags>
86                                     <tag>${project.version}</tag>
87                                 </tags>
88                                 <assembly>
89                                     <inline>
90                                         <dependencySets>
91                                             <dependencySet>
92                                                 <includes>
93                                                     <include>org.onap.so.simulators:sdnc-simulator</include>
94                                                 </includes>
95                                                 <outputFileNameMapping>app.jar</outputFileNameMapping>
96                                             </dependencySet>
97                                         </dependencySets>
98                                     </inline>
99                                 </assembly>
100                             </build>
101                         </image>
102                         <image>
103                             <name>simulators/multicloud-simulator</name>
104                             <build>
105                                 <cleanup>try</cleanup>
106                                 <dockerFileDir>docker-files</dockerFileDir>
107                                 <dockerFile>Dockerfile.multicloud-simulator-base-image</dockerFile>
108                                 <tags>
109                                     <tag>${project.version}</tag>
110                                 </tags>
111                                 <assembly>
112                                     <inline>
113                                         <dependencySets>
114                                             <dependencySet>
115                                                 <includes>
116                                                     <include>org.onap.so.simulators:multicloud-simulator</include>
117                                                 </includes>
118                                                 <outputFileNameMapping>app.jar</outputFileNameMapping>
119                                             </dependencySet>
120                                         </dependencySets>
121                                     </inline>
122                                 </assembly>
123                             </build>
124                         </image>
125                         <image>
126                             <name>simulators/vnfm-simulator</name>
127                             <build>
128                                 <cleanup>try</cleanup>
129                                 <dockerFileDir>docker-files</dockerFileDir>
130                                 <dockerFile>Dockerfile.so-simulator-base-image</dockerFile>
131                                 <tags>
132                                     <tag>${project.version}</tag>
133                                 </tags>
134                                 <assembly>
135                                     <inline>
136                                         <dependencySets>
137                                             <dependencySet>
138                                                 <includes>
139                                                     <include>org.onap.so.simulators.vnfm:vnfm-service</include>
140                                                 </includes>
141                                                 <outputFileNameMapping>app.jar</outputFileNameMapping>
142                                             </dependencySet>
143                                         </dependencySets>
144                                     </inline>
145                                 </assembly>
146                             </build>
147                         </image>
148                     </images>
149                 </configuration>
150                 <executions>
151                     <execution>
152                         <id>clean-images</id>
153                         <phase>pre-clean</phase>
154                         <goals>
155                             <goal>remove</goal>
156                         </goals>
157                         <configuration>
158                             <removeAll>true</removeAll>
159                         </configuration>
160                     </execution>
161                     <execution>
162                         <id>generate-images</id>
163                         <phase>generate-sources</phase>
164                         <goals>
165                             <goal>build</goal>
166                         </goals>
167                     </execution>
168                 </executions>
169             </plugin>
170             <plugin>
171                 <groupId>org.apache.maven.plugins</groupId>
172                 <artifactId>maven-deploy-plugin</artifactId>
173                 <version>2.8</version>
174                 <configuration>
175                     <skip>true</skip>
176                 </configuration>
177             </plugin>
178         </plugins>
179     </build>
180     <dependencies>
181         <dependency>
182             <groupId>${project.parent.groupId}</groupId>
183             <artifactId>sdc-simulator</artifactId>
184             <version>${project.version}</version>
185         </dependency>
186         <dependency>
187             <groupId>${project.parent.groupId}</groupId>
188             <artifactId>aai-simulator</artifactId>
189             <version>${project.version}</version>
190         </dependency>
191         <dependency>
192             <groupId>${project.parent.groupId}</groupId>
193             <artifactId>sdnc-simulator</artifactId>
194             <version>${project.version}</version>
195         </dependency>
196         <dependency>
197             <groupId>${project.parent.groupId}</groupId>
198             <artifactId>multicloud-simulator</artifactId>
199             <version>${project.version}</version>
200         </dependency>
201         <dependency>
202             <groupId>org.onap.so.simulators.vnfm</groupId>
203             <artifactId>vnfm-service</artifactId>
204             <version>${project.version}</version>
205         </dependency>
206     </dependencies>
207 </project>