blob: 9c3ef2578fd0454794a53951146c1e7759108b85 [file] [log] [blame]
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04001<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 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <groupId>org.onap.so</groupId>
6 <artifactId>adapters</artifactId>
Rob Daugherty325d4e22018-10-19 15:13:38 -04007 <version>1.4.0-SNAPSHOT</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04008 </parent>
9 <artifactId>mso-openstack-adapters</artifactId>
10 <packaging>jar</packaging>
11 <name>mso-openstack-adapters</name>
12 <description>Consolidate openstack adapters into one Spring Boot project</description>
Munir Ahmad563a3572019-02-08 16:42:03 -050013 <properties>
14 <openfeign.version>10.1.0</openfeign.version>
15 </properties>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040016 <build>
17 <finalName>${project.artifactId}-${project.version}</finalName>
Munir Ahmad563a3572019-02-08 16:42:03 -050018
19 <plugins>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040020 <plugin>
21 <groupId>org.apache.maven.plugins</groupId>
22 <artifactId>maven-dependency-plugin</artifactId>
23 </plugin>
24 <plugin>
25 <groupId>org.springframework.boot</groupId>
26 <artifactId>spring-boot-maven-plugin</artifactId>
27 <configuration>
28 <mainClass>org.onap.so.adapters.openstack.MsoOpenstackAdaptersApplication</mainClass>
29 </configuration>
30 <executions>
31 <execution>
32 <goals>
33 <goal>
34 repackage
35 </goal>
36 </goals>
37 </execution>
38 </executions>
39 </plugin>
Benjamin, Max (mb388a)aaa93d42019-03-20 14:12:06 -040040 <plugin>
41 <groupId>org.apache.maven.plugins</groupId>
42 <artifactId>maven-surefire-plugin</artifactId>
43 <executions>
44 <execution>
45 <id>default-test</id>
46 <goals>
47 <goal>test</goal>
48 </goals>
49 <configuration>
50 <includes>
51 <include>**/AllTestsTestSuite.java</include>
52 </includes>
53 <parallel>suites</parallel>
54 </configuration>
55 </execution>
56 </executions>
57 </plugin>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040058
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -050059<!-- run the following plugin only when there's a wsdl change and you need to recompile the java classes
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040060 <plugin>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -050061 <groupId>org.codehaus.mojo</groupId>
62 <artifactId>jaxws-maven-plugin</artifactId>
63 <version>2.4.1</version>
64 <executions>
65 <execution>
66 <id>generate-network-async-stubs</id>
67 <phase>process-classes</phase>
68 <goals>
69 <goal>wsimport</goal>
70 </goals>
71 <configuration>
72 <vmArgs>
73 <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
74 </vmArgs>
75 <wsdlDirectory>src/main/resources/wsdl</wsdlDirectory>
76 <wsdlFiles>
77 <wsdlFile>NetworkAdapterNotify.wsdl</wsdlFile>
78 </wsdlFiles>
79 <wsdlLocation>/NetworkAdapterNotify.wsdl</wsdlLocation>
80 <packageName>org.onap.so.adapters.network.async.client</packageName>
81 <xnocompile>false</xnocompile>
82 <keep>true</keep>
83 </configuration>
84 </execution>
85
86 <execution>
87 <id>generate-vnf-async-stubs</id>
88 <phase>process-classes</phase>
89 <goals>
90 <goal>wsimport</goal>
91 </goals>
92 <configuration>
93 <vmArgs>
94 <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
95 </vmArgs>
96 <wsdlDirectory>src/main/resources/wsdl</wsdlDirectory>
97 <wsdlFiles>
98 <wsdlFile>VnfAdapterNotify.wsdl</wsdlFile>
99 </wsdlFiles>
100 <wsdlLocation>/VnfAdapterNotify.wsdl</wsdlLocation>
101 <packageName>org.onap.so.adapters.vnf.async.client</packageName>
102 <xnocompile>false</xnocompile>
103 <keep>true</keep>
104 </configuration>
105 </execution>
106 </executions>
107 </plugin>
108 <plugin>
109 <groupId>org.codehaus.mojo</groupId>
110 <artifactId>build-helper-maven-plugin</artifactId>
111 <version>3.0.0</version>
112 <executions>
113 <execution>
114 <id>add-source</id>
115 <phase>generate-sources</phase>
116 <goals>
117 <goal>add-source</goal>
118 </goals>
119 <configuration>
120 <sources>
121 <source>${project.build.directory}/generated-sources/wsimport/</source>
122 </sources>
123 </configuration>
124 </execution>
125 </executions>
126 </plugin>
127 --> <plugin>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400128 <groupId>org.jacoco</groupId>
129 <artifactId>jacoco-maven-plugin</artifactId>
130 </plugin>
131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-dependency-plugin</artifactId>
134 <executions>
135 <execution>
136 <id>extract-docker-file</id>
137 </execution>
138 </executions>
139 </plugin>
140 <plugin>
141 <groupId>io.fabric8</groupId>
142 <artifactId>fabric8-maven-plugin</artifactId>
143 <executions>
144 <execution>
145 <id>start</id>
146 </execution>
147 </executions>
148 </plugin>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500149 </plugins>
150
151
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400152 <pluginManagement>
153 <plugins>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500154 <!--This plugin's configuration is used to store Eclipse m2e settings
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400155 only. It has no influence on the Maven build itself. -->
156 <plugin>
157 <groupId>org.eclipse.m2e</groupId>
158 <artifactId>lifecycle-mapping</artifactId>
159 <version>1.0.0</version>
160 <configuration>
161 <lifecycleMappingMetadata>
162 <pluginExecutions>
163 <pluginExecution>
164 <pluginExecutionFilter>
165 <groupId>
166 org.jvnet.jax-ws-commons
167 </groupId>
168 <artifactId>
169 jaxws-maven-plugin
170 </artifactId>
171 <versionRange>
172 [2.3,)
173 </versionRange>
174 <goals>
175 <goal>wsgen</goal>
176 </goals>
177 </pluginExecutionFilter>
178 <action>
179 <ignore></ignore>
180 </action>
181 </pluginExecution>
182 </pluginExecutions>
183 </lifecycleMappingMetadata>
184 </configuration>
185 </plugin>
186 </plugins>
187 </pluginManagement>
188 </build>
189
190 <dependencies>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500191 <!-- added for spring boot support -->
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400192 <dependency>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500193 <groupId>org.springframework.boot</groupId>
194 <artifactId>spring-boot-starter-actuator</artifactId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400195 </dependency>
196 <dependency>
197 <groupId>org.springframework.boot</groupId>
198 <artifactId>spring-boot-starter-web</artifactId>
199 </dependency>
200 <dependency>
201 <groupId>org.springframework.boot</groupId>
202 <artifactId>spring-boot-starter-data-jpa</artifactId>
Kalkere Ramesh, Sharan (sk720x)a083e702019-02-26 15:59:30 -0500203 </dependency>
204 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400205 <groupId>org.apache.cxf</groupId>
206 <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500207 <version>${cxf.version}</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400208 </dependency>
209 <dependency>
210 <groupId>org.apache.cxf</groupId>
211 <artifactId>cxf-spring-boot-starter-jaxrs</artifactId>
Smokowski, Steve (ss835w)ffa1f2e2018-08-07 08:37:49 -0400212 <version>${cxf.version}</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400213 </dependency>
214 <dependency>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500215 <groupId>org.apache.cxf</groupId>
216 <artifactId>cxf-rt-rs-service-description-swagger</artifactId>
217 <version>${cxf.version}</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400218 </dependency>
219 <dependency>
Benjamin, Max (mb388a)e57ae2b2019-03-01 14:55:31 -0500220 <groupId>org.webjars</groupId>
221 <artifactId>swagger-ui</artifactId>
222 <version>3.5.0</version>
223 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400224 <dependency>
225 <groupId>org.springframework.boot</groupId>
226 <artifactId>spring-boot-starter-test</artifactId>
227 <scope>test</scope>
228 </dependency>
229 <dependency>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500230 <groupId>janino</groupId>
231 <artifactId>janino</artifactId>
232 <version>2.5.15</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400233 </dependency>
Munir Ahmad563a3572019-02-08 16:42:03 -0500234
235 <!-- end added for spring boot support -->
236
237 <dependency>
238 <groupId>org.pacesys</groupId>
239 <artifactId>openstack4j-core</artifactId>
240 <version>3.1.0</version>
241 </dependency>
242 <dependency>
243 <groupId>org.pacesys.openstack4j.connectors</groupId>
244 <artifactId>openstack4j-httpclient</artifactId>
245 <version>3.1.0</version>
246 </dependency>
247
248 <dependency>
249 <groupId>commons-collections</groupId>
250 <artifactId>commons-collections</artifactId>
251 <version>3.2.1</version>
252 </dependency>
253
254 <dependency>
255 <groupId>com.typesafe</groupId>
256 <artifactId>config</artifactId>
257 <version>1.3.2</version>
258 </dependency>
259 <dependency>
260 <groupId>com.google.code.findbugs</groupId>
261 <artifactId>jsr305</artifactId>
262 <version>1.3.9</version>
263 </dependency>
264
265 <dependency>
266 <groupId>commons-validator</groupId>
267 <artifactId>commons-validator</artifactId>
268 <version>1.4.0</version>
269 </dependency>
270
271 <!-- added for unit testing -->
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400272 <dependency>
273 <groupId>org.onap.so.adapters</groupId>
274 <artifactId>mso-adapter-utils</artifactId>
275 <version>${project.version}</version>
276 </dependency>
277 <dependency>
278 <groupId>org.onap.so.adapters</groupId>
279 <artifactId>mso-adapters-rest-interface</artifactId>
280 <version>${project.version}</version>
281 </dependency>
282 <dependency>
283 <groupId>javax.servlet</groupId>
284 <artifactId>javax.servlet-api</artifactId>
285 <scope>test</scope>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500286 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400287 <dependency>
288 <groupId>org.mariadb.jdbc</groupId>
289 <artifactId>mariadb-java-client</artifactId>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500290 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400291 <dependency>
292 <groupId>org.onap.so</groupId>
293 <artifactId>common</artifactId>
294 <version>${project.version}</version>
295 </dependency>
296 <dependency>
Benjamin, Max (mb388a)e57ae2b2019-03-01 14:55:31 -0500297 <groupId>ch.vorburger.mariaDB4j</groupId>
298 <artifactId>mariaDB4j</artifactId>
299 <version>2.2.3</version>
300 <scope>test</scope>
301 </dependency>
302 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400303 <groupId>org.springframework.cloud</groupId>
304 <artifactId>spring-cloud-contract-wiremock</artifactId>
305 <version>1.2.4.RELEASE</version>
306 <scope>test</scope>
307 </dependency>
Benjamin, Max (mb388a)a81aef22018-08-13 09:48:57 -0400308 <dependency>
Smokowski, Steve (ss835w)e2c77492018-09-04 15:31:38 -0400309 <groupId>org.onap.so</groupId>
310 <artifactId>cxf-logging</artifactId>
311 <version>${project.version}</version>
312 </dependency>
Benjamin, Max (mb388a)4e633482019-02-01 18:13:35 -0500313 <dependency>
314 <groupId>org.onap.so.libs.openstack-java-sdk</groupId>
Benjamin, Max (mb388a)e57ae2b2019-03-01 14:55:31 -0500315 <artifactId>nova-model</artifactId>
Benjamin, Max (mb388a)4e633482019-02-01 18:13:35 -0500316 <version>${openstack.version}</version>
317 </dependency>
318 <dependency>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500319 <groupId>org.camunda.bpm</groupId>
320 <artifactId>camunda-external-task-client</artifactId>
321 <version>1.1.1</version>
322 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400323 </dependencies>
324</project>