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