blob: cb35e90860aa450f8597c3f2e7b04bdbf9d3bbc2 [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>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -050016
17 <plugins>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040018 <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
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -050039<!-- 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 -040040 <plugin>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -050041 <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>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400108 <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>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500129 </plugins>
130
131
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400132 <pluginManagement>
133 <plugins>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500134 <!--This plugin's configuration is used to store Eclipse m2e settings
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400135 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>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500171 <!-- added for spring boot support -->
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400172 <dependency>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500173 <groupId>org.springframework.boot</groupId>
174 <artifactId>spring-boot-starter-actuator</artifactId>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400175 </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>
Kalkere Ramesh, Sharan (sk720x)a083e702019-02-26 15:59:30 -0500183 </dependency>
184 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400185 <groupId>org.apache.cxf</groupId>
186 <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500187 <version>${cxf.version}</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400188 </dependency>
189 <dependency>
190 <groupId>org.apache.cxf</groupId>
191 <artifactId>cxf-spring-boot-starter-jaxrs</artifactId>
Smokowski, Steve (ss835w)ffa1f2e2018-08-07 08:37:49 -0400192 <version>${cxf.version}</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400193 </dependency>
194 <dependency>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500195 <groupId>org.apache.cxf</groupId>
196 <artifactId>cxf-rt-rs-service-description-swagger</artifactId>
197 <version>${cxf.version}</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400198 </dependency>
199 <dependency>
Benjamin, Max (mb388a)e57ae2b2019-03-01 14:55:31 -0500200 <groupId>org.webjars</groupId>
201 <artifactId>swagger-ui</artifactId>
202 <version>3.5.0</version>
203 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400204 <dependency>
205 <groupId>org.springframework.boot</groupId>
206 <artifactId>spring-boot-starter-test</artifactId>
207 <scope>test</scope>
208 </dependency>
209 <dependency>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500210 <groupId>janino</groupId>
211 <artifactId>janino</artifactId>
212 <version>2.5.15</version>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400213 </dependency>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500214
215 <!-- end added for spring boot support -->
216
217
218
219 <!-- added for unit testing -->
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400220 <dependency>
221 <groupId>org.onap.so.adapters</groupId>
222 <artifactId>mso-adapter-utils</artifactId>
223 <version>${project.version}</version>
224 </dependency>
225 <dependency>
226 <groupId>org.onap.so.adapters</groupId>
227 <artifactId>mso-adapters-rest-interface</artifactId>
228 <version>${project.version}</version>
229 </dependency>
230 <dependency>
231 <groupId>javax.servlet</groupId>
232 <artifactId>javax.servlet-api</artifactId>
233 <scope>test</scope>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500234 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400235 <dependency>
236 <groupId>org.mariadb.jdbc</groupId>
237 <artifactId>mariadb-java-client</artifactId>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500238 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400239 <dependency>
240 <groupId>org.onap.so</groupId>
241 <artifactId>common</artifactId>
242 <version>${project.version}</version>
243 </dependency>
244 <dependency>
Benjamin, Max (mb388a)e57ae2b2019-03-01 14:55:31 -0500245 <groupId>ch.vorburger.mariaDB4j</groupId>
246 <artifactId>mariaDB4j</artifactId>
247 <version>2.2.3</version>
248 <scope>test</scope>
249 </dependency>
250 <dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400251 <groupId>org.springframework.cloud</groupId>
252 <artifactId>spring-cloud-contract-wiremock</artifactId>
253 <version>1.2.4.RELEASE</version>
254 <scope>test</scope>
255 </dependency>
Benjamin, Max (mb388a)a81aef22018-08-13 09:48:57 -0400256 <dependency>
Smokowski, Steve (ss835w)e2c77492018-09-04 15:31:38 -0400257 <groupId>org.onap.so</groupId>
258 <artifactId>cxf-logging</artifactId>
259 <version>${project.version}</version>
260 </dependency>
Benjamin, Max (mb388a)4e633482019-02-01 18:13:35 -0500261 <dependency>
262 <groupId>org.onap.so.libs.openstack-java-sdk</groupId>
Benjamin, Max (mb388a)e57ae2b2019-03-01 14:55:31 -0500263 <artifactId>nova-model</artifactId>
Benjamin, Max (mb388a)4e633482019-02-01 18:13:35 -0500264 <version>${openstack.version}</version>
265 </dependency>
266 <dependency>
Benjamin, Max (mb388a)a339f932019-03-05 16:56:09 -0500267 <groupId>org.camunda.bpm</groupId>
268 <artifactId>camunda-external-task-client</artifactId>
269 <version>1.1.1</version>
270 </dependency>
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400271 </dependencies>
272</project>