Merge "make sure maven plugins only run when we want"
[so.git] / bpmn / mso-infrastructure-bpmn / 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     <groupId>org.onap.so</groupId>
5     <artifactId>bpmn</artifactId>
6     <version>1.6.0-SNAPSHOT</version>
7   </parent>
8   <modelVersion>4.0.0</modelVersion>
9   <artifactId>mso-infrastructure-bpmn</artifactId>
10   <packaging>jar</packaging>
11   <build>
12     <pluginManagement>
13       <plugins>
14         <plugin>
15           <groupId>org.eclipse.m2e</groupId>
16           <artifactId>lifecycle-mapping</artifactId>
17           <version>1.0.0</version>
18           <configuration>
19             <lifecycleMappingMetadata>
20               <pluginExecutions>
21                 <pluginExecution>
22                   <pluginExecutionFilter>
23                     <groupId>org.apache.maven.plugins</groupId>
24                     <artifactId>maven-dependency-plugin</artifactId>
25                     <versionRange>[1.0.0,)</versionRange>
26                     <goals>
27                       <goal>unpack</goal>
28                     </goals>
29                   </pluginExecutionFilter>
30                   <action>
31                     <execute />
32                   </action>
33                 </pluginExecution>
34               </pluginExecutions>
35             </lifecycleMappingMetadata>
36           </configuration>
37         </plugin>
38       </plugins>
39     </pluginManagement>
40     <plugins>
41       <plugin>
42         <groupId>org.apache.maven.plugins</groupId>
43         <artifactId>maven-dependency-plugin</artifactId>
44         <executions>
45           <execution>
46             <id>unpack</id>
47             <goals>
48               <goal>unpack</goal>
49             </goals>
50             <configuration>
51               <skip>true</skip>
52               <artifactItems>
53                 <artifactItem>
54                   <groupId>org.onap.so</groupId>
55                   <artifactId>MSOCommonBPMN</artifactId>
56                   <version>${project.version}</version>
57                   <type>jar</type>
58                   <overWrite>false</overWrite>
59                   <outputDirectory>${project.build.outputDirectory}</outputDirectory>
60                   <includes>**/*.bpmn</includes>
61                 </artifactItem>
62                 <artifactItem>
63                   <groupId>org.onap.so</groupId>
64                   <artifactId>so-bpmn-building-blocks</artifactId>
65                   <version>${project.version}</version>
66                   <type>jar</type>
67                   <overWrite>false</overWrite>
68                   <outputDirectory>${project.build.outputDirectory}</outputDirectory>
69                   <includes>**/*.bpmn</includes>
70                 </artifactItem>
71                 <artifactItem>
72                   <groupId>org.onap.so</groupId>
73                   <artifactId>so-bpmn-infrastructure-flows</artifactId>
74                   <version>${project.version}</version>
75                   <type>jar</type>
76                   <overWrite>false</overWrite>
77                   <outputDirectory>${project.build.outputDirectory}</outputDirectory>
78                   <includes>**/*.bpmn</includes>
79                 </artifactItem>
80               </artifactItems>
81             </configuration>
82           </execution>
83         </executions>
84       </plugin>
85       <plugin>
86         <groupId>org.apache.maven.plugins</groupId>
87         <artifactId>maven-surefire-plugin</artifactId>
88         <executions>
89           <execution>
90             <id>integration-test</id>
91             <goals>
92               <goal>test</goal>
93             </goals>
94             <configuration>
95               <skip>true</skip>
96               <includes>
97                 <include>**/IntegrationTestSuite.java</include>
98               </includes>
99             </configuration>
100           </execution>
101         </executions>
102       </plugin>
103       <plugin>
104         <groupId>org.apache.maven.plugins</groupId>
105         <artifactId>maven-compiler-plugin</artifactId>
106         <executions>
107           <execution>
108             <id>test-compile</id>
109             <phase>compile</phase>
110             <goals>
111               <goal>testCompile</goal>
112             </goals>
113             <configuration>
114               <skip>false</skip>
115             </configuration>
116           </execution>
117         </executions>
118       </plugin>
119       <plugin>
120         <groupId>org.apache.maven.plugins</groupId>
121         <artifactId>maven-jar-plugin</artifactId>
122         <executions>
123           <execution>
124             <id>tests-jar</id>
125             <goals>
126               <goal>test-jar</goal>
127             </goals>
128             <configuration>
129               <skip>false</skip>
130             </configuration>
131           </execution>
132           <execution>
133             <id>original</id>
134             <phase>package</phase>
135           </execution>
136         </executions>
137       </plugin>
138       <plugin>
139         <groupId>org.springframework.boot</groupId>
140         <artifactId>spring-boot-maven-plugin</artifactId>
141         <version>${springboot.version}</version>
142         <configuration>
143           <mainClass>org.onap.so.bpmn.infrastructure.MSOInfrastructureApplication</mainClass>
144         </configuration>
145         <executions>
146           <execution>
147             <goals>
148               <goal>repackage</goal>
149             </goals>
150           </execution>
151         </executions>
152       </plugin>
153       <plugin>
154         <groupId>org.apache.maven.plugins</groupId>
155         <artifactId>maven-dependency-plugin</artifactId>
156         <executions>
157           <execution>
158             <id>extract-docker-file</id>
159             <configuration>
160               <skip>false</skip>
161             </configuration>
162           </execution>
163         </executions>
164       </plugin>
165       <plugin>
166         <groupId>io.fabric8</groupId>
167         <artifactId>docker-maven-plugin</artifactId>
168         <executions>
169           <execution>
170             <id>start</id>
171           </execution>
172         </executions>
173       </plugin>
174     </plugins>
175     <resources>
176       <resource>
177         <directory>src/main/resources</directory>
178         <filtering>true</filtering>
179         <excludes>
180           <exclude>**/*.p12</exclude>
181           <exclude>**/*.jks</exclude>
182         </excludes>
183       </resource>
184       <resource>
185         <directory>src/main/resources</directory>
186         <filtering>false</filtering>
187         <includes>
188           <include>**/*.p12</include>
189           <include>**/*.jks</include>
190         </includes>
191       </resource>
192     </resources>
193   </build>
194   <dependencyManagement>
195     <dependencies>
196       <dependency>
197         <!-- Import dependency management from Spring Boot -->
198         <groupId>org.springframework.boot</groupId>
199         <artifactId>spring-boot-dependencies</artifactId>
200         <version>${springboot.version}</version>
201         <type>pom</type>
202         <scope>import</scope>
203       </dependency>
204     </dependencies>
205   </dependencyManagement>
206   <dependencies>
207     <dependency>
208       <groupId>org.camunda.bpm.springboot</groupId>
209       <artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
210       <version>${camunda.springboot.version}</version>
211       <exclusions>
212         <exclusion>
213           <groupId>org.camunda.bpmn</groupId>
214           <artifactId>camunda-engine-rest-core</artifactId>
215         </exclusion>
216         <exclusion>
217           <groupId>commons-fileupload</groupId>
218           <artifactId>commons-fileupload</artifactId>
219         </exclusion>
220       </exclusions>
221     </dependency>
222     <dependency>
223       <groupId>org.camunda.bpm.springboot</groupId>
224       <artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
225       <version>${camunda.springboot.version}</version>
226       <exclusions>
227         <exclusion>
228           <groupId>org.camunda.bpmn</groupId>
229           <artifactId>camunda-engine-rest-core</artifactId>
230         </exclusion>
231       </exclusions>
232     </dependency>
233     <dependency>
234       <groupId>org.springframework.boot</groupId>
235       <artifactId>spring-boot-starter-web</artifactId>
236     </dependency>
237     <dependency>
238       <groupId>org.springframework.boot</groupId>
239       <artifactId>spring-boot-starter-data-jpa</artifactId>
240       <exclusions>
241         <exclusion>
242           <groupId>org.apache.tomcat</groupId>
243           <artifactId>tomcat-jdbc</artifactId>
244         </exclusion>
245       </exclusions>
246       <optional>true</optional>
247     </dependency>
248     <dependency>
249       <groupId>org.springframework.boot</groupId>
250       <artifactId>spring-boot-starter-jdbc</artifactId>
251     </dependency>
252     <dependency>
253       <groupId>org.springframework.boot</groupId>
254       <artifactId>spring-boot-starter-test</artifactId>
255       <scope>test</scope>
256     </dependency>
257     <dependency>
258       <groupId>org.onap.so</groupId>
259       <artifactId>so-bpmn-infrastructure-common</artifactId>
260       <version>${project.version}</version>
261     </dependency>
262     <dependency>
263       <groupId>org.onap.so</groupId>
264       <artifactId>MSOCommonBPMN</artifactId>
265       <version>${project.version}</version>
266     </dependency>
267     <dependency>
268       <groupId>org.onap.so</groupId>
269       <artifactId>MSOCommonBPMN</artifactId>
270       <version>${project.version}</version>
271       <type>test-jar</type>
272       <scope>test</scope>
273     </dependency>
274     <dependency>
275       <groupId>org.onap.so</groupId>
276       <artifactId>so-bpmn-building-blocks</artifactId>
277       <version>${project.version}</version>
278     </dependency>
279     <dependency>
280       <groupId>org.onap.so</groupId>
281       <artifactId>so-bpmn-infrastructure-flows</artifactId>
282       <version>${project.version}</version>
283     </dependency>
284     <dependency>
285       <groupId>com.h2database</groupId>
286       <artifactId>h2</artifactId>
287     </dependency>
288     <dependency>
289       <groupId>org.springframework.cloud</groupId>
290       <artifactId>spring-cloud-contract-wiremock</artifactId>
291       <version>1.2.4.RELEASE</version>
292       <scope>test</scope>
293     </dependency>
294     <dependency>
295       <groupId>ch.vorburger.mariaDB4j</groupId>
296       <artifactId>mariaDB4j</artifactId>
297       <version>2.2.3</version>
298       <scope>test</scope>
299     </dependency>
300     <dependency>
301       <groupId>io.micrometer</groupId>
302       <artifactId>micrometer-core</artifactId>
303     </dependency>
304     <dependency>
305       <groupId>io.micrometer</groupId>
306       <artifactId>micrometer-registry-prometheus</artifactId>
307     </dependency>
308     <dependency>
309       <groupId>org.onap.so</groupId>
310       <artifactId>so-bpmn-tasks</artifactId>
311       <version>${project.version}</version>
312     </dependency>
313     <dependency>
314       <groupId>org.onap.so</groupId>
315       <artifactId>cxf-logging</artifactId>
316       <version>${project.version}</version>
317     </dependency>
318     <dependency>
319       <groupId>org.camunda.bpm.extension.mockito</groupId>
320       <artifactId>camunda-bpm-mockito</artifactId>
321       <version>3.2.1</version>
322       <scope>test</scope>
323     </dependency>
324     <dependency>
325       <groupId>org.camunda.bpm.extension</groupId>
326       <artifactId>camunda-bpm-assert</artifactId>
327       <version>2.0-alpha2</version>
328       <scope>test</scope>
329     </dependency>
330     <dependency>
331       <groupId>org.assertj</groupId>
332       <artifactId>assertj-core</artifactId>
333       <version>1.7.0</version>
334       <scope>test</scope>
335     </dependency>
336     <dependency>
337       <groupId>org.onap.aaf.authz</groupId>
338       <artifactId>aaf-cadi-aaf</artifactId>
339       <version>2.1.9</version>
340       <exclusions>
341         <exclusion>
342           <groupId>javax.servlet</groupId>
343           <artifactId>servlet-api</artifactId>
344         </exclusion>
345       </exclusions>
346     </dependency>
347   </dependencies>
348 </project>