blob: 46e73246a077b7f84924d1f8220bafbe7cb78764 [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>
13
14 <build>
15 <finalName>${project.artifactId}-${project.version}</finalName>
16
17 <plugins>
18 <plugin>
19 <groupId>org.apache.maven.plugins</groupId>
20 <artifactId>maven-dependency-plugin</artifactId>
21 </plugin>
22 <plugin>
23 <groupId>org.springframework.boot</groupId>
24 <artifactId>spring-boot-maven-plugin</artifactId>
25 <configuration>
26 <mainClass>org.onap.so.adapters.openstack.MsoOpenstackAdaptersApplication</mainClass>
27 </configuration>
28 <executions>
29 <execution>
30 <goals>
31 <goal>
32 repackage
33 </goal>
34 </goals>
35 </execution>
36 </executions>
37 </plugin>
38
39<!-- run the following plugin only when there's a wsdl change and you need to recompile the java classes
40 <plugin>
41 <groupId>org.codehaus.mojo</groupId>
42 <artifactId>jaxws-maven-plugin</artifactId>
43 <version>2.4.1</version>
44 <executions>
45 <execution>
46 <id>generate-network-async-stubs</id>
47 <phase>process-classes</phase>
48 <goals>
49 <goal>wsimport</goal>
50 </goals>
51 <configuration>
52 <vmArgs>
53 <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
54 </vmArgs>
55 <wsdlDirectory>src/main/resources/wsdl</wsdlDirectory>
56 <wsdlFiles>
57 <wsdlFile>NetworkAdapterNotify.wsdl</wsdlFile>
58 </wsdlFiles>
59 <wsdlLocation>/NetworkAdapterNotify.wsdl</wsdlLocation>
60 <packageName>org.onap.so.adapters.network.async.client</packageName>
61 <xnocompile>false</xnocompile>
62 <keep>true</keep>
63 </configuration>
64 </execution>
65
66 <execution>
67 <id>generate-vnf-async-stubs</id>
68 <phase>process-classes</phase>
69 <goals>
70 <goal>wsimport</goal>
71 </goals>
72 <configuration>
73 <vmArgs>
74 <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
75 </vmArgs>
76 <wsdlDirectory>src/main/resources/wsdl</wsdlDirectory>
77 <wsdlFiles>
78 <wsdlFile>VnfAdapterNotify.wsdl</wsdlFile>
79 </wsdlFiles>
80 <wsdlLocation>/VnfAdapterNotify.wsdl</wsdlLocation>
81 <packageName>org.onap.so.adapters.vnf.async.client</packageName>
82 <xnocompile>false</xnocompile>
83 <keep>true</keep>
84 </configuration>
85 </execution>
86 </executions>
87 </plugin>
88 <plugin>
89 <groupId>org.codehaus.mojo</groupId>
90 <artifactId>build-helper-maven-plugin</artifactId>
91 <version>3.0.0</version>
92 <executions>
93 <execution>
94 <id>add-source</id>
95 <phase>generate-sources</phase>
96 <goals>
97 <goal>add-source</goal>
98 </goals>
99 <configuration>
100 <sources>
101 <source>${project.build.directory}/generated-sources/wsimport/</source>
102 </sources>
103 </configuration>
104 </execution>
105 </executions>
106 </plugin>
107 --> <plugin>
108 <groupId>org.jacoco</groupId>
109 <artifactId>jacoco-maven-plugin</artifactId>
110 </plugin>
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-dependency-plugin</artifactId>
114 <executions>
115 <execution>
116 <id>extract-docker-file</id>
117 </execution>
118 </executions>
119 </plugin>
120 <plugin>
121 <groupId>io.fabric8</groupId>
122 <artifactId>fabric8-maven-plugin</artifactId>
123 <executions>
124 <execution>
125 <id>start</id>
126 </execution>
127 </executions>
128 </plugin>
129 </plugins>
130
131
132 <pluginManagement>
133 <plugins>
134 <!--This plugin's configuration is used to store Eclipse m2e settings
135 only. It has no influence on the Maven build itself. -->
136 <plugin>
137 <groupId>org.eclipse.m2e</groupId>
138 <artifactId>lifecycle-mapping</artifactId>
139 <version>1.0.0</version>
140 <configuration>
141 <lifecycleMappingMetadata>
142 <pluginExecutions>
143 <pluginExecution>
144 <pluginExecutionFilter>
145 <groupId>
146 org.jvnet.jax-ws-commons
147 </groupId>
148 <artifactId>
149 jaxws-maven-plugin
150 </artifactId>
151 <versionRange>
152 [2.3,)
153 </versionRange>
154 <goals>
155 <goal>wsgen</goal>
156 </goals>
157 </pluginExecutionFilter>
158 <action>
159 <ignore></ignore>
160 </action>
161 </pluginExecution>
162 </pluginExecutions>
163 </lifecycleMappingMetadata>
164 </configuration>
165 </plugin>
166 </plugins>
167 </pluginManagement>
168 </build>
169
170 <dependencies>
171 <!-- added for spring boot support -->
172 <dependency>
173 <groupId>org.springframework.boot</groupId>
174 <artifactId>spring-boot-starter-actuator</artifactId>
175 </dependency>
176 <dependency>
177 <groupId>org.springframework.boot</groupId>
178 <artifactId>spring-boot-starter-web</artifactId>
179 </dependency>
180 <dependency>
181 <groupId>org.springframework.boot</groupId>
182 <artifactId>spring-boot-starter-data-jpa</artifactId>
183 <exclusions>
184 <exclusion>
185 <groupId>org.apache.tomcat</groupId>
186 <artifactId>tomcat-jdbc</artifactId>
187 </exclusion>
188 </exclusions>
189 </dependency>
190 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400191 <groupId>org.apache.cxf</groupId>
192 <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
Smokowski, Steve (ss835w)ffa1f2e2018-08-07 08:37:49 -0400193 <version>${cxf.version}</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400194 </dependency>
195 <dependency>
196 <groupId>org.apache.cxf</groupId>
197 <artifactId>cxf-spring-boot-starter-jaxrs</artifactId>
Smokowski, Steve (ss835w)ffa1f2e2018-08-07 08:37:49 -0400198 <version>${cxf.version}</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400199 </dependency>
200 <dependency>
201 <groupId>org.apache.cxf</groupId>
202 <artifactId>cxf-rt-rs-service-description-swagger</artifactId>
Smokowski, Steve (ss835w)ffa1f2e2018-08-07 08:37:49 -0400203 <version>${cxf.version}</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400204 </dependency>
205 <dependency>
206 <groupId>org.webjars</groupId>
207 <artifactId>swagger-ui</artifactId>
208 <version>3.5.0</version>
209 </dependency>
210
211 <dependency>
212 <groupId>org.springframework.boot</groupId>
213 <artifactId>spring-boot-starter-test</artifactId>
214 <scope>test</scope>
215 </dependency>
216 <dependency>
217 <groupId>janino</groupId>
218 <artifactId>janino</artifactId>
219 <version>2.5.15</version>
220 </dependency>
221
222 <!-- end added for spring boot support -->
223
224
225
226 <!-- added for unit testing -->
227 <dependency>
228 <groupId>org.onap.so.adapters</groupId>
229 <artifactId>mso-adapter-utils</artifactId>
230 <version>${project.version}</version>
231 </dependency>
232 <dependency>
233 <groupId>org.onap.so.adapters</groupId>
234 <artifactId>mso-adapters-rest-interface</artifactId>
235 <version>${project.version}</version>
236 </dependency>
237 <dependency>
238 <groupId>javax.servlet</groupId>
239 <artifactId>javax.servlet-api</artifactId>
240 <scope>test</scope>
241 </dependency>
242 <dependency>
243 <groupId>org.mariadb.jdbc</groupId>
244 <artifactId>mariadb-java-client</artifactId>
245 </dependency>
246 <dependency>
247 <groupId>org.onap.so</groupId>
248 <artifactId>common</artifactId>
249 <version>${project.version}</version>
250 </dependency>
251 <dependency>
252 <groupId>ch.vorburger.mariaDB4j</groupId>
253 <artifactId>mariaDB4j</artifactId>
254 <version>2.2.3</version>
255 <scope>test</scope>
256 </dependency>
257 <dependency>
258 <groupId>org.springframework.cloud</groupId>
259 <artifactId>spring-cloud-contract-wiremock</artifactId>
260 <version>1.2.4.RELEASE</version>
261 <scope>test</scope>
262 </dependency>
Benjamin, Max (mb388a)a81aef22018-08-13 09:48:57 -0400263 <dependency>
Smokowski, Steve (ss835w)e2c77492018-09-04 15:31:38 -0400264 <groupId>org.onap.so</groupId>
265 <artifactId>cxf-logging</artifactId>
266 <version>${project.version}</version>
267 </dependency>
Benjamin, Max (mb388a)4e633482019-02-01 18:13:35 -0500268 <dependency>
269 <groupId>org.onap.so.libs.openstack-java-sdk</groupId>
270 <artifactId>nova-model</artifactId>
271 <version>${openstack.version}</version>
272 </dependency>
273 <dependency>
274 <groupId>org.camunda.bpm</groupId>
275 <artifactId>camunda-external-task-client</artifactId>
276 <version>1.2.0-SNAPSHOT</version>
277 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400278 </dependencies>
279</project>