bde7e6f2801971b2101fa1339fae43070afa9133
[so.git] / bpmn / so-bpmn-tasks / 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.12.1-SNAPSHOT</version>
7   </parent>
8   <modelVersion>4.0.0</modelVersion>
9   <artifactId>so-bpmn-tasks</artifactId>
10   <packaging>jar</packaging>
11   <properties>
12     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
14     <so-cnfm-lcm-api.version>1.9.0-SNAPSHOT</so-cnfm-lcm-api.version>
15     <jqno.equalsverifier.version>2.5.1</jqno.equalsverifier.version>
16   </properties>
17   <build>
18     <plugins>
19       <plugin>
20         <groupId>org.apache.maven.plugins</groupId>
21         <artifactId>maven-surefire-plugin</artifactId>
22         <executions>
23           <execution>
24             <id>default-test</id>
25             <goals>
26               <goal>test</goal>
27             </goals>
28             <configuration>
29               <includes>
30                 <include>**/UnitTestSuite.java</include>
31               </includes>
32             </configuration>
33           </execution>
34           <execution>
35             <id>integration-test</id>
36             <goals>
37               <goal>test</goal>
38             </goals>
39             <configuration>
40               <includes>
41                 <include>**/IntegrationTestSuite.java</include>
42               </includes>
43             </configuration>
44           </execution>
45         </executions>
46         <configuration>
47           <parallel>suites</parallel>
48         </configuration>
49       </plugin>
50       <plugin>
51         <groupId>io.swagger.codegen.v3</groupId>
52         <artifactId>swagger-codegen-maven-plugin</artifactId>
53         <version>3.0.24</version>
54         <executions>
55           <execution>
56             <goals>
57               <goal>generate</goal>
58             </goals>
59             <configuration>
60               <inputSpec>${project.basedir}/src/main/resources/naming-service/swagger.json</inputSpec>
61               <apiPackage>org.onap.namingservice.api</apiPackage>
62               <modelPackage>org.onap.namingservice.model</modelPackage>
63               <invokerPackage>org.onap.namingservice.invoker</invokerPackage>
64             </configuration>
65           </execution>
66         </executions>
67         <configuration>
68           <inputSpec>${project.basedir}/src/main/resources/swagger.json</inputSpec>
69           <language>java</language>
70           <configOptions>
71             <sourceFolder>src/gen/java/main</sourceFolder>
72             <serializableModel>true</serializableModel>
73           </configOptions>
74           <output>${project.build.directory}/generated-sources</output>
75           <generateApis>false</generateApis>
76           <library>jersey2</library>
77           <generateSupportingFiles>false</generateSupportingFiles>
78         </configuration>
79       </plugin>
80       <plugin>
81         <groupId>org.codehaus.mojo</groupId>
82         <artifactId>build-helper-maven-plugin</artifactId>
83         <executions>
84           <execution>
85             <id>add-source</id>
86             <phase>generate-sources</phase>
87             <goals>
88               <goal>add-source</goal>
89             </goals>
90             <configuration>
91               <sources>
92                 <source>${project.basedir}/target/generated-sources/src/gen/java/main</source>
93               </sources>
94             </configuration>
95           </execution>
96         </executions>
97       </plugin>
98     </plugins>
99     <pluginManagement>
100       <plugins>
101         <plugin>
102           <groupId>org.eclipse.m2e</groupId>
103           <artifactId>lifecycle-mapping</artifactId>
104           <version>1.0.0</version>
105           <configuration>
106             <lifecycleMappingMetadata>
107               <pluginExecutions>
108                 <pluginExecution>
109                   <pluginExecutionFilter>
110                     <groupId>io.swagger.codegen.v3</groupId>
111                     <artifactId>swagger-codegen-maven-plugin</artifactId>
112                     <goals>
113                       <goal>generate</goal>
114                     </goals>
115                     <versionRange>[2.2.0,)</versionRange>
116                   </pluginExecutionFilter>
117                   <action>
118                     <execute>
119                       <runOnIncremental>false</runOnIncremental>
120                     </execute>
121                   </action>
122                 </pluginExecution>
123                 <pluginExecution>
124                   <pluginExecutionFilter>
125                     <groupId>org.apache.maven.plugins</groupId>
126                     <artifactId>maven-dependency-plugin</artifactId>
127                     <versionRange>[1.0.0,)</versionRange>
128                     <goals>
129                       <goal>unpack</goal>
130                     </goals>
131                   </pluginExecutionFilter>
132                   <action>
133                     <execute />
134                   </action>
135                 </pluginExecution>
136                 <pluginExecution>
137                   <pluginExecutionFilter>
138                     <groupId>org.codehaus.mojo</groupId>
139                     <artifactId>build-helper-maven-plugin</artifactId>
140                     <versionRange>[1.0.0,)</versionRange>
141                     <goals>
142                       <goal>add-source</goal>
143                     </goals>
144                   </pluginExecutionFilter>
145                   <action>
146                     <execute />
147                   </action>
148                 </pluginExecution>
149               </pluginExecutions>
150             </lifecycleMappingMetadata>
151           </configuration>
152         </plugin>
153       </plugins>
154     </pluginManagement>
155   </build>
156   <dependencyManagement>
157     <dependencies>
158       <dependency>
159         <!-- Import dependency management from Spring Boot -->
160         <groupId>org.springframework.boot</groupId>
161         <artifactId>spring-boot-dependencies</artifactId>
162         <version>${springboot.version}</version>
163         <type>pom</type>
164         <scope>import</scope>
165       </dependency>
166       <dependency>
167         <groupId>io.grpc</groupId>
168         <artifactId>grpc-testing</artifactId>
169         <version>1.25.0</version>
170         <scope>test</scope>
171       </dependency>
172     </dependencies>
173   </dependencyManagement>
174   <dependencies>
175     <dependency>
176       <groupId>org.camunda.bpm.springboot</groupId>
177       <artifactId>camunda-bpm-spring-boot-starter</artifactId>
178       <scope>test</scope>
179     </dependency>
180     <dependency>
181       <groupId>org.springframework.cloud</groupId>
182       <artifactId>spring-cloud-contract-wiremock</artifactId>
183       <scope>test</scope>
184     </dependency>
185     <dependency>
186       <groupId>org.springframework.boot</groupId>
187       <artifactId>spring-boot-starter-test</artifactId>
188       <scope>test</scope>
189     </dependency>
190     <dependency>
191       <groupId>org.camunda.bpm.extension.mockito</groupId>
192       <artifactId>camunda-bpm-mockito</artifactId>
193     </dependency>
194     <dependency>
195       <groupId>org.onap.so</groupId>
196       <artifactId>MSOCommonBPMN</artifactId>
197       <version>${project.version}</version>
198     </dependency>
199     <dependency>
200       <groupId>org.onap.so</groupId>
201       <artifactId>so-bpmn-infrastructure-common</artifactId>
202       <version>${project.version}</version>
203     </dependency>
204     <dependency>
205       <groupId>org.onap.so.adapters</groupId>
206       <artifactId>mso-adapter-utils</artifactId>
207       <version>${project.version}</version>
208     </dependency>
209     <dependency>
210       <groupId>ch.vorburger.mariaDB4j</groupId>
211       <artifactId>mariaDB4j</artifactId>
212       <scope>test</scope>
213     </dependency>
214     <dependency>
215       <groupId>org.apache.commons</groupId>
216       <artifactId>commons-lang3</artifactId>
217     </dependency>
218     <dependency>
219       <groupId>org.onap.so.adapters.so-etsi-sol003-adapter.lcm</groupId>
220       <artifactId>so-etsi-sol003-adapter-lcm-api</artifactId>
221       <version>${so-etsi-sol003-adapter-version}</version>
222       <exclusions>
223         <exclusion>
224           <groupId>io.swagger</groupId>
225           <artifactId>swagger-annotations</artifactId>
226         </exclusion>
227       </exclusions>
228     </dependency>
229     <dependency>
230       <groupId>nl.jqno.equalsverifier</groupId>
231       <artifactId>equalsverifier</artifactId>
232       <version>${jqno.equalsverifier.version}</version>
233       <scope>test</scope>
234     </dependency>
235     <dependency>
236       <groupId>io.grpc</groupId>
237       <artifactId>grpc-testing</artifactId>
238       <scope>test</scope>
239     </dependency>
240     <dependency>
241       <groupId>org.onap.so</groupId>
242       <artifactId>so-optimization-clients</artifactId>
243       <version>${project.version}</version>
244     </dependency>
245     <dependency>
246       <groupId>org.onap.so</groupId>
247       <artifactId>so-sdn-clients</artifactId>
248       <version>${project.version}</version>
249     </dependency>
250     <dependency>
251       <groupId>org.onap.so.adapters.so-cnf-adapter.so-cnfm.lcm</groupId>
252       <artifactId>so-cnfm-lcm-api</artifactId>
253       <version>${so-cnfm-lcm-api.version}</version>
254     </dependency>
255   </dependencies>
256 </project>