update poms to be compatible with eclipse IDE
[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.6.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     <maven.compiler.target>1.8</maven.compiler.target>
15     <maven.compiler.source>1.8</maven.compiler.source>
16     <grpc.version>1.17.1</grpc.version>
17   </properties>
18   <build>
19     <plugins>
20       <plugin>
21         <groupId>org.apache.maven.plugins</groupId>
22         <artifactId>maven-surefire-plugin</artifactId>
23         <executions>
24           <execution>
25             <id>default-test</id>
26             <goals>
27               <goal>test</goal>
28             </goals>
29             <configuration>
30               <includes>
31                 <include>**/UnitTestSuite.java</include>
32               </includes>
33             </configuration>
34           </execution>
35           <execution>
36             <id>integration-test</id>
37             <goals>
38               <goal>test</goal>
39             </goals>
40             <configuration>
41               <includes>
42                 <include>**/IntegrationTestSuite.java</include>
43               </includes>
44             </configuration>
45           </execution>
46         </executions>
47         <configuration>
48           <parallel>suites</parallel>
49         </configuration>
50       </plugin>
51       <plugin>
52         <groupId>io.swagger</groupId>
53         <artifactId>swagger-codegen-maven-plugin</artifactId>
54         <version>2.3.1</version>
55         <executions>
56           <execution>
57             <goals>
58               <goal>generate</goal>
59             </goals>
60             <configuration>
61               <inputSpec>${project.basedir}/src/main/resources/naming-service/swagger.json</inputSpec>
62               <apiPackage>org.onap.namingservice.api</apiPackage>
63               <modelPackage>org.onap.namingservice.model</modelPackage>
64               <invokerPackage>org.onap.namingservice.invoker</invokerPackage>
65             </configuration>
66           </execution>
67         </executions>
68         <configuration>
69           <inputSpec>${project.basedir}/src/main/resources/swagger.json</inputSpec>
70           <language>java</language>
71           <configOptions>
72             <sourceFolder>src/gen/java/main</sourceFolder>
73             <serializableModel>true</serializableModel>
74           </configOptions>
75           <output>${project.build.directory}/generated-sources</output>
76           <generateApis>false</generateApis>
77           <library>jersey2</library>
78           <generateSupportingFiles>false</generateSupportingFiles>
79         </configuration>
80       </plugin>
81       <plugin>
82         <groupId>org.codehaus.mojo</groupId>
83         <artifactId>build-helper-maven-plugin</artifactId>
84         <executions>
85           <execution>
86             <id>add-source</id>
87             <phase>generate-sources</phase>
88             <goals>
89               <goal>add-source</goal>
90             </goals>
91             <configuration>
92               <sources>
93                 <source>${project.basedir}/target/generated-sources/src/gen/java/main</source>
94               </sources>
95             </configuration>
96           </execution>
97         </executions>
98       </plugin>
99     </plugins>
100   </build>
101   <dependencyManagement>
102     <dependencies>
103       <dependency>
104         <!-- Import dependency management from Spring Boot -->
105         <groupId>org.springframework.boot</groupId>
106         <artifactId>spring-boot-dependencies</artifactId>
107         <version>${springboot.version}</version>
108         <type>pom</type>
109         <scope>import</scope>
110       </dependency>
111     </dependencies>
112   </dependencyManagement>
113   <dependencies>
114     <dependency>
115       <groupId>org.camunda.bpm.springboot</groupId>
116       <artifactId>camunda-bpm-spring-boot-starter</artifactId>
117       <version>${camunda.springboot.version}</version>
118       <scope>test</scope>
119     </dependency>
120     <dependency>
121       <groupId>org.springframework.cloud</groupId>
122       <artifactId>spring-cloud-contract-wiremock</artifactId>
123       <version>1.2.4.RELEASE</version>
124       <scope>test</scope>
125     </dependency>
126     <dependency>
127       <groupId>org.springframework.boot</groupId>
128       <artifactId>spring-boot-starter-test</artifactId>
129       <scope>test</scope>
130     </dependency>
131     <dependency>
132       <groupId>org.camunda.bpm.extension.mockito</groupId>
133       <artifactId>camunda-bpm-mockito</artifactId>
134     </dependency>
135     <dependency>
136       <groupId>org.onap.so</groupId>
137       <artifactId>MSOCommonBPMN</artifactId>
138       <version>${project.version}</version>
139     </dependency>
140     <dependency>
141       <groupId>org.onap.so</groupId>
142       <artifactId>so-bpmn-infrastructure-common</artifactId>
143       <version>${project.version}</version>
144     </dependency>
145     <dependency>
146       <groupId>org.onap.so.adapters</groupId>
147       <artifactId>mso-adapter-utils</artifactId>
148       <version>${project.version}</version>
149     </dependency>
150     <dependency>
151       <groupId>org.onap.sdnc.northbound</groupId>
152       <artifactId>generic-resource-api-client</artifactId>
153       <version>${sdnc.northbound.version}</version>
154       <exclusions>
155         <exclusion>
156           <groupId>javax.ws.rs</groupId>
157           <artifactId>jsr311-api</artifactId>
158         </exclusion>
159       </exclusions>
160     </dependency>
161     <dependency>
162       <groupId>ch.vorburger.mariaDB4j</groupId>
163       <artifactId>mariaDB4j</artifactId>
164       <version>2.2.3</version>
165       <scope>test</scope>
166     </dependency>
167     <dependency>
168       <groupId>org.apache.commons</groupId>
169       <artifactId>commons-lang3</artifactId>
170     </dependency>
171     <dependency>
172       <groupId>org.onap.so.adapters</groupId>
173       <artifactId>mso-vnfm-adapter-api</artifactId>
174       <version>${project.version}</version>
175     </dependency>
176     <dependency>
177       <groupId>org.springframework.boot</groupId>
178       <artifactId>spring-boot-configuration-processor</artifactId>
179       <optional>true</optional>
180     </dependency>
181     <dependency>
182       <groupId>nl.jqno.equalsverifier</groupId>
183       <artifactId>equalsverifier</artifactId>
184       <version>2.5.1</version>
185       <scope>test</scope>
186     </dependency>
187     <dependency>
188       <groupId>io.grpc</groupId>
189       <artifactId>grpc-testing</artifactId>
190       <version>${grpc.version}</version>
191       <scope>test</scope>
192     </dependency>
193   </dependencies>
194 </project>