Began adding pluging to lifecycle mapping
[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             <configuration>
135               <skip>false</skip>
136             </configuration>
137           </execution>
138         </executions>
139       </plugin>
140       <plugin>
141         <groupId>org.springframework.boot</groupId>
142         <artifactId>spring-boot-maven-plugin</artifactId>
143         <version>${springboot.version}</version>
144         <configuration>
145           <mainClass>org.onap.so.bpmn.infrastructure.MSOInfrastructureApplication</mainClass>
146         </configuration>
147         <executions>
148           <execution>
149             <goals>
150               <goal>repackage</goal>
151             </goals>
152           </execution>
153         </executions>
154       </plugin>
155       <plugin>
156         <groupId>org.apache.maven.plugins</groupId>
157         <artifactId>maven-dependency-plugin</artifactId>
158         <executions>
159           <execution>
160             <id>extract-docker-file</id>
161           </execution>
162         </executions>
163       </plugin>
164       <plugin>
165         <groupId>io.fabric8</groupId>
166         <artifactId>docker-maven-plugin</artifactId>
167         <executions>
168           <execution>
169             <id>start</id>
170           </execution>
171         </executions>
172       </plugin>
173     </plugins>
174     <resources>
175       <resource>
176         <directory>src/main/resources</directory>
177         <filtering>true</filtering>
178         <excludes>
179           <exclude>**/*.p12</exclude>
180           <exclude>**/*.jks</exclude>
181         </excludes>
182       </resource>
183       <resource>
184         <directory>src/main/resources</directory>
185         <filtering>false</filtering>
186         <includes>
187           <include>**/*.p12</include>
188           <include>**/*.jks</include>
189         </includes>
190       </resource>
191     </resources>
192   </build>
193   <dependencyManagement>
194     <dependencies>
195       <dependency>
196         <!-- Import dependency management from Spring Boot -->
197         <groupId>org.springframework.boot</groupId>
198         <artifactId>spring-boot-dependencies</artifactId>
199         <version>${springboot.version}</version>
200         <type>pom</type>
201         <scope>import</scope>
202       </dependency>
203     </dependencies>
204   </dependencyManagement>
205   <dependencies>
206     <dependency>
207       <groupId>org.camunda.bpm.springboot</groupId>
208       <artifactId>camunda-bpm-spring-boot-starter-rest</artifactId>
209       <version>${camunda.springboot.version}</version>
210       <exclusions>
211         <exclusion>
212           <groupId>org.camunda.bpmn</groupId>
213           <artifactId>camunda-engine-rest-core</artifactId>
214         </exclusion>
215         <exclusion>
216           <groupId>commons-fileupload</groupId>
217           <artifactId>commons-fileupload</artifactId>
218         </exclusion>
219       </exclusions>
220     </dependency>
221     <dependency>
222       <groupId>org.camunda.bpm.springboot</groupId>
223       <artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
224       <version>${camunda.springboot.version}</version>
225       <exclusions>
226         <exclusion>
227           <groupId>org.camunda.bpmn</groupId>
228           <artifactId>camunda-engine-rest-core</artifactId>
229         </exclusion>
230       </exclusions>
231     </dependency>
232     <dependency>
233       <groupId>org.springframework.boot</groupId>
234       <artifactId>spring-boot-starter-web</artifactId>
235     </dependency>
236     <dependency>
237       <groupId>org.springframework.boot</groupId>
238       <artifactId>spring-boot-starter-data-jpa</artifactId>
239       <exclusions>
240         <exclusion>
241           <groupId>org.apache.tomcat</groupId>
242           <artifactId>tomcat-jdbc</artifactId>
243         </exclusion>
244       </exclusions>
245       <optional>true</optional>
246     </dependency>
247     <dependency>
248       <groupId>org.springframework.boot</groupId>
249       <artifactId>spring-boot-starter-jdbc</artifactId>
250     </dependency>
251     <dependency>
252       <groupId>org.springframework.boot</groupId>
253       <artifactId>spring-boot-starter-test</artifactId>
254       <scope>test</scope>
255     </dependency>
256     <dependency>
257       <groupId>org.onap.so</groupId>
258       <artifactId>so-bpmn-infrastructure-common</artifactId>
259       <version>${project.version}</version>
260     </dependency>
261     <dependency>
262       <groupId>org.onap.so</groupId>
263       <artifactId>MSOCommonBPMN</artifactId>
264       <version>${project.version}</version>
265     </dependency>
266     <dependency>
267       <groupId>org.onap.so</groupId>
268       <artifactId>MSOCommonBPMN</artifactId>
269       <version>${project.version}</version>
270       <type>test-jar</type>
271       <scope>test</scope>
272     </dependency>
273     <dependency>
274       <groupId>org.onap.so</groupId>
275       <artifactId>so-bpmn-building-blocks</artifactId>
276       <version>${project.version}</version>
277     </dependency>
278     <dependency>
279       <groupId>org.onap.so</groupId>
280       <artifactId>so-bpmn-infrastructure-flows</artifactId>
281       <version>${project.version}</version>
282     </dependency>
283     <dependency>
284       <groupId>com.h2database</groupId>
285       <artifactId>h2</artifactId>
286     </dependency>
287     <dependency>
288       <groupId>org.springframework.cloud</groupId>
289       <artifactId>spring-cloud-contract-wiremock</artifactId>
290       <version>1.2.4.RELEASE</version>
291       <scope>test</scope>
292     </dependency>
293     <dependency>
294       <groupId>ch.vorburger.mariaDB4j</groupId>
295       <artifactId>mariaDB4j</artifactId>
296       <version>2.2.3</version>
297       <scope>test</scope>
298     </dependency>
299     <dependency>
300       <groupId>io.micrometer</groupId>
301       <artifactId>micrometer-core</artifactId>
302     </dependency>
303     <dependency>
304       <groupId>io.micrometer</groupId>
305       <artifactId>micrometer-registry-prometheus</artifactId>
306     </dependency>
307     <dependency>
308       <groupId>org.onap.so</groupId>
309       <artifactId>so-bpmn-tasks</artifactId>
310       <version>${project.version}</version>
311     </dependency>
312     <dependency>
313       <groupId>org.onap.so</groupId>
314       <artifactId>cxf-logging</artifactId>
315       <version>${project.version}</version>
316     </dependency>
317     <dependency>
318       <groupId>org.camunda.bpm.extension.mockito</groupId>
319       <artifactId>camunda-bpm-mockito</artifactId>
320       <version>3.2.1</version>
321       <scope>test</scope>
322     </dependency>
323     <dependency>
324       <groupId>org.camunda.bpm.extension</groupId>
325       <artifactId>camunda-bpm-assert</artifactId>
326       <version>2.0-alpha2</version>
327       <scope>test</scope>
328     </dependency>
329     <dependency>
330       <groupId>org.assertj</groupId>
331       <artifactId>assertj-core</artifactId>
332       <version>1.7.0</version>
333       <scope>test</scope>
334     </dependency>
335     <dependency>
336       <groupId>org.onap.aaf.authz</groupId>
337       <artifactId>aaf-cadi-aaf</artifactId>
338       <version>2.1.9</version>
339       <exclusions>
340         <exclusion>
341           <groupId>javax.servlet</groupId>
342           <artifactId>servlet-api</artifactId>
343         </exclusion>
344       </exclusions>
345     </dependency>
346   </dependencies>
347 </project>