blob: 73f50ed908d4b94f4c805695bf04354ff16e5df7 [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>
40
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -050041<!-- 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 -040042 <plugin>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -050043 <groupId>org.codehaus.mojo</groupId>
44 <artifactId>jaxws-maven-plugin</artifactId>
45 <version>2.4.1</version>
46 <executions>
47 <execution>
48 <id>generate-network-async-stubs</id>
49 <phase>process-classes</phase>
50 <goals>
51 <goal>wsimport</goal>
52 </goals>
53 <configuration>
54 <vmArgs>
55 <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
56 </vmArgs>
57 <wsdlDirectory>src/main/resources/wsdl</wsdlDirectory>
58 <wsdlFiles>
59 <wsdlFile>NetworkAdapterNotify.wsdl</wsdlFile>
60 </wsdlFiles>
61 <wsdlLocation>/NetworkAdapterNotify.wsdl</wsdlLocation>
62 <packageName>org.onap.so.adapters.network.async.client</packageName>
63 <xnocompile>false</xnocompile>
64 <keep>true</keep>
65 </configuration>
66 </execution>
67
68 <execution>
69 <id>generate-vnf-async-stubs</id>
70 <phase>process-classes</phase>
71 <goals>
72 <goal>wsimport</goal>
73 </goals>
74 <configuration>
75 <vmArgs>
76 <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
77 </vmArgs>
78 <wsdlDirectory>src/main/resources/wsdl</wsdlDirectory>
79 <wsdlFiles>
80 <wsdlFile>VnfAdapterNotify.wsdl</wsdlFile>
81 </wsdlFiles>
82 <wsdlLocation>/VnfAdapterNotify.wsdl</wsdlLocation>
83 <packageName>org.onap.so.adapters.vnf.async.client</packageName>
84 <xnocompile>false</xnocompile>
85 <keep>true</keep>
86 </configuration>
87 </execution>
88 </executions>
89 </plugin>
90 <plugin>
91 <groupId>org.codehaus.mojo</groupId>
92 <artifactId>build-helper-maven-plugin</artifactId>
93 <version>3.0.0</version>
94 <executions>
95 <execution>
96 <id>add-source</id>
97 <phase>generate-sources</phase>
98 <goals>
99 <goal>add-source</goal>
100 </goals>
101 <configuration>
102 <sources>
103 <source>${project.build.directory}/generated-sources/wsimport/</source>
104 </sources>
105 </configuration>
106 </execution>
107 </executions>
108 </plugin>
109 --> <plugin>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400110 <groupId>org.jacoco</groupId>
111 <artifactId>jacoco-maven-plugin</artifactId>
112 </plugin>
113 <plugin>
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-dependency-plugin</artifactId>
116 <executions>
117 <execution>
118 <id>extract-docker-file</id>
119 </execution>
120 </executions>
121 </plugin>
122 <plugin>
123 <groupId>io.fabric8</groupId>
124 <artifactId>fabric8-maven-plugin</artifactId>
125 <executions>
126 <execution>
127 <id>start</id>
128 </execution>
129 </executions>
130 </plugin>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500131 </plugins>
132
133
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400134 <pluginManagement>
135 <plugins>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500136 <!--This plugin's configuration is used to store Eclipse m2e settings
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400137 only. It has no influence on the Maven build itself. -->
138 <plugin>
139 <groupId>org.eclipse.m2e</groupId>
140 <artifactId>lifecycle-mapping</artifactId>
141 <version>1.0.0</version>
142 <configuration>
143 <lifecycleMappingMetadata>
144 <pluginExecutions>
145 <pluginExecution>
146 <pluginExecutionFilter>
147 <groupId>
148 org.jvnet.jax-ws-commons
149 </groupId>
150 <artifactId>
151 jaxws-maven-plugin
152 </artifactId>
153 <versionRange>
154 [2.3,)
155 </versionRange>
156 <goals>
157 <goal>wsgen</goal>
158 </goals>
159 </pluginExecutionFilter>
160 <action>
161 <ignore></ignore>
162 </action>
163 </pluginExecution>
164 </pluginExecutions>
165 </lifecycleMappingMetadata>
166 </configuration>
167 </plugin>
168 </plugins>
169 </pluginManagement>
170 </build>
171
172 <dependencies>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500173 <!-- added for spring boot support -->
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400174 <dependency>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500175 <groupId>org.springframework.boot</groupId>
176 <artifactId>spring-boot-starter-actuator</artifactId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400177 </dependency>
178 <dependency>
179 <groupId>org.springframework.boot</groupId>
180 <artifactId>spring-boot-starter-web</artifactId>
181 </dependency>
182 <dependency>
183 <groupId>org.springframework.boot</groupId>
184 <artifactId>spring-boot-starter-data-jpa</artifactId>
Kalkere Ramesh, Sharan (sk720x)a083e702019-02-26 15:59:30 -0500185 </dependency>
186 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400187 <groupId>org.apache.cxf</groupId>
188 <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500189 <version>${cxf.version}</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400190 </dependency>
191 <dependency>
192 <groupId>org.apache.cxf</groupId>
193 <artifactId>cxf-spring-boot-starter-jaxrs</artifactId>
Smokowski, Steve (ss835w)ffa1f2e2018-08-07 08:37:49 -0400194 <version>${cxf.version}</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400195 </dependency>
196 <dependency>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500197 <groupId>org.apache.cxf</groupId>
198 <artifactId>cxf-rt-rs-service-description-swagger</artifactId>
199 <version>${cxf.version}</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400200 </dependency>
201 <dependency>
Benjamin, Max (mb388a)e57ae2b2019-03-01 14:55:31 -0500202 <groupId>org.webjars</groupId>
203 <artifactId>swagger-ui</artifactId>
204 <version>3.5.0</version>
205 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400206 <dependency>
207 <groupId>org.springframework.boot</groupId>
208 <artifactId>spring-boot-starter-test</artifactId>
209 <scope>test</scope>
210 </dependency>
211 <dependency>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500212 <groupId>janino</groupId>
213 <artifactId>janino</artifactId>
214 <version>2.5.15</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400215 </dependency>
Munir Ahmad563a3572019-02-08 16:42:03 -0500216
217 <!-- end added for spring boot support -->
218
219 <dependency>
220 <groupId>org.pacesys</groupId>
221 <artifactId>openstack4j-core</artifactId>
222 <version>3.1.0</version>
223 </dependency>
224 <dependency>
225 <groupId>org.pacesys.openstack4j.connectors</groupId>
226 <artifactId>openstack4j-httpclient</artifactId>
227 <version>3.1.0</version>
228 </dependency>
229
230 <dependency>
231 <groupId>commons-collections</groupId>
232 <artifactId>commons-collections</artifactId>
233 <version>3.2.1</version>
234 </dependency>
235
236 <dependency>
237 <groupId>com.typesafe</groupId>
238 <artifactId>config</artifactId>
239 <version>1.3.2</version>
240 </dependency>
241 <dependency>
242 <groupId>com.google.code.findbugs</groupId>
243 <artifactId>jsr305</artifactId>
244 <version>1.3.9</version>
245 </dependency>
246
247 <dependency>
248 <groupId>commons-validator</groupId>
249 <artifactId>commons-validator</artifactId>
250 <version>1.4.0</version>
251 </dependency>
252
253 <!-- added for unit testing -->
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400254 <dependency>
255 <groupId>org.onap.so.adapters</groupId>
256 <artifactId>mso-adapter-utils</artifactId>
257 <version>${project.version}</version>
258 </dependency>
259 <dependency>
260 <groupId>org.onap.so.adapters</groupId>
261 <artifactId>mso-adapters-rest-interface</artifactId>
262 <version>${project.version}</version>
263 </dependency>
264 <dependency>
265 <groupId>javax.servlet</groupId>
266 <artifactId>javax.servlet-api</artifactId>
267 <scope>test</scope>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500268 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400269 <dependency>
270 <groupId>org.mariadb.jdbc</groupId>
271 <artifactId>mariadb-java-client</artifactId>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500272 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400273 <dependency>
274 <groupId>org.onap.so</groupId>
275 <artifactId>common</artifactId>
276 <version>${project.version}</version>
277 </dependency>
278 <dependency>
Benjamin, Max (mb388a)e57ae2b2019-03-01 14:55:31 -0500279 <groupId>ch.vorburger.mariaDB4j</groupId>
280 <artifactId>mariaDB4j</artifactId>
281 <version>2.2.3</version>
282 <scope>test</scope>
283 </dependency>
284 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400285 <groupId>org.springframework.cloud</groupId>
286 <artifactId>spring-cloud-contract-wiremock</artifactId>
287 <version>1.2.4.RELEASE</version>
288 <scope>test</scope>
289 </dependency>
Benjamin, Max (mb388a)a81aef22018-08-13 09:48:57 -0400290 <dependency>
Smokowski, Steve (ss835w)e2c77492018-09-04 15:31:38 -0400291 <groupId>org.onap.so</groupId>
292 <artifactId>cxf-logging</artifactId>
293 <version>${project.version}</version>
294 </dependency>
Benjamin, Max (mb388a)4e633482019-02-01 18:13:35 -0500295 <dependency>
296 <groupId>org.onap.so.libs.openstack-java-sdk</groupId>
Benjamin, Max (mb388a)e57ae2b2019-03-01 14:55:31 -0500297 <artifactId>nova-model</artifactId>
Benjamin, Max (mb388a)4e633482019-02-01 18:13:35 -0500298 <version>${openstack.version}</version>
299 </dependency>
300 <dependency>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500301 <groupId>org.camunda.bpm</groupId>
302 <artifactId>camunda-external-task-client</artifactId>
303 <version>1.1.1</version>
304 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400305 </dependencies>
306</project>