blob: e376678c1c773021fd99cbeb557dea74bc4cd046 [file] [log] [blame]
Aharoni, Pavel (pa0916)d2946182018-12-17 11:21:02 +02001<?xml version="1.0"?>
2<!--/*-
3 * ============LICENSE_START=======================================================
4 * OSAM Core
5 * ================================================================================
6 * Copyright (C) 2018 AT&T
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
20 */-->
21
22<project
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
24 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
25 <modelVersion>4.0.0</modelVersion>
26 <parent>
27 <groupId>org.onap.osam</groupId>
28 <artifactId>onap-enabler</artifactId>
29 <version>0.0.2</version>
30 </parent>
31 <artifactId>onap-enabler-be</artifactId>
32 <packaging>war</packaging>
33
34 <!-- this should be commented for local debugging -->
35 <!-- <deployenv>local</deployenv> -->
36
37
38 <build>
39 <finalName>onap-enabler-be</finalName>
40
41 <plugins>
42 <!-- License plugin should only run once at the start of the project.
43 For new classes, the header should be added manually by the company which creates it.-->
44
45 <!--plugin>
46 <groupId>org.codehaus.mojo</groupId>
47 <artifactId>license-maven-plugin</artifactId>
48 <version>1.16</version>
49 <configuration>
50 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
51 <processStartTag>============LICENSE_START=======================================================</processStartTag>
52 <processEndTag>============LICENSE_END=========================================================</processEndTag>
53 <sectionDelimiter>================================================================================</sectionDelimiter>
54 <licenseName>apache_v2</licenseName>
55 <inceptionYear>2018</inceptionYear>
56 <organizationName>AT&amp;T</organizationName>
57 <projectName>OSAM</projectName>
58 <canUpdateCopyright>true</canUpdateCopyright>
59 <canUpdateDescription>true</canUpdateDescription>
60 <canUpdateLicense>true</canUpdateLicense>
61 <emptyLineAfterHeader>true</emptyLineAfterHeader>
62 <verbose>false</verbose>
63 <includes>
64 <include>**/*.java</include>
65 </includes>
66 </configuration>
67 <executions>
68 <execution>
69 <id>first</id>
70 <goals>
71 <goal>update-file-header</goal>
72 </goals>
73 <phase>process-sources</phase>
74 </execution>
75 </executions>
76 </plugin-->
77 <plugin>
78 <groupId>org.sonatype.plugins</groupId>
79 <artifactId>nexus-staging-maven-plugin</artifactId>
80 </plugin>
81 <plugin>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-compiler-plugin</artifactId>
84 </plugin>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-surefire-plugin</artifactId>
88 </plugin>
89 <plugin>
90 <groupId>org.jacoco</groupId>
91 <artifactId>jacoco-maven-plugin</artifactId>
92 </plugin>
93 <!-- Generate POJOs from MSO json schema -->
94 <plugin>
95 <groupId>org.jsonschema2pojo</groupId>
96 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
97 <version>0.4.23</version>
98 <configuration>
99 <sourceDirectory>${basedir}/src/main/resources/json/mso</sourceDirectory>
100 <targetPackage>org.onap.osam.domain.mso</targetPackage>
101 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
102 </configuration>
103 <executions>
104 <execution>
105 <goals>
106 <goal>generate</goal>
107 </goals>
108 </execution>
109 </executions>
110 </plugin>
111
112
113
114 <plugin>
115 <artifactId>maven-assembly-plugin</artifactId>
116 <configuration>
117 <skipAssembly>${skipassembly}</skipAssembly>
118 <descriptors>
119 <descriptor>${basedir}/distribution.xml</descriptor>
120 </descriptors>
121 </configuration>
122 <executions>
123 <execution>
124 <id>make-assembly</id>
125 <phase>package</phase>
126 <goals>
127 <goal>single</goal>
128 </goals>
129 </execution>
130 </executions>
131 </plugin>
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-war-plugin</artifactId>
135 <configuration>
136 <!-- Build a jar with all the Java classes -->
137 <attachClasses>true</attachClasses>
138 <!-- Do not put any jars in the war -->
139 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
140 </configuration>
141 </plugin>
142 <plugin>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-site-plugin</artifactId>
145 </plugin>
146 <plugin>
147 <groupId>pl.project13.maven</groupId>
148 <artifactId>git-commit-id-plugin</artifactId>
149 <version>2.2.4</version>
150 <executions>
151 <execution>
152 <id>get-the-git-infos</id>
153 <goals>
154 <goal>revision</goal>
155 </goals>
156 </execution>
157 </executions>
158 <configuration>
159 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
160 <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
161 <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
162 <generateGitPropertiesFile>true</generateGitPropertiesFile>
163 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
164 <includeOnlyProperties>
165 <includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
166 <includeOnlyProperty>^git.commit.message.short$</includeOnlyProperty>
167 <includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
168 </includeOnlyProperties>
169 </configuration>
170 </plugin>
171 </plugins>
172 </build>
173
174 <dependencies>
175
176 <dependency>
177 <groupId>com.opencsv</groupId>
178 <artifactId>opencsv</artifactId>
179 </dependency>
180 <dependency>
181 <groupId>com.att.eelf</groupId>
182 <artifactId>eelf-core</artifactId>
183 </dependency>
184 <!-- Mapper -->
185 <dependency>
186 <groupId>com.fasterxml.jackson.core</groupId>
187 <artifactId>jackson-annotations</artifactId>
188 </dependency>
189 <dependency>
190 <groupId>com.fasterxml.jackson.core</groupId>
191 <artifactId>jackson-core</artifactId>
192 </dependency>
193 <dependency>
194 <groupId>com.fasterxml.jackson.core</groupId>
195 <artifactId>jackson-databind</artifactId>
196 </dependency>
197 <dependency>
198 <groupId>com.mchange</groupId>
199 <artifactId>c3p0</artifactId>
200 </dependency>
201 <dependency>
202 <groupId>io.joshworks.unirest</groupId>
203 <artifactId>unirest-java</artifactId>
204 </dependency>
205 <dependency>
206 <groupId>io.searchbox</groupId>
207 <artifactId>jest</artifactId>
208 <exclusions>
209 <exclusion>
210 <groupId>commons-logging</groupId>
211 <artifactId>commons-logging</artifactId>
212 </exclusion>
213 </exclusions>
214 </dependency>
215 <dependency>
216 <groupId>javax.servlet</groupId>
217 <artifactId>javax.servlet-api</artifactId>
218 <scope>provided</scope>
219 </dependency>
220 <dependency>
221 <groupId>org.json</groupId>
222 <artifactId>json</artifactId>
223 </dependency>
224 <dependency>
225 <groupId>org.quartz-scheduler</groupId>
226 <artifactId>quartz</artifactId>
227 <exclusions>
228 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
229 <exclusion>
230 <groupId>c3p0</groupId>
231 <artifactId>c3p0</artifactId>
232 </exclusion>
233 </exclusions>
234 </dependency>
235 <dependency>
236 <groupId>org.apache.httpcomponents</groupId>
237 <artifactId>httpclient</artifactId>
238 </dependency>
239 <dependency>
240 <groupId>org.apache.httpcomponents</groupId>
241 <artifactId>httpasyncclient</artifactId>
242 </dependency>
243 <dependency>
244 <groupId>org.apache.httpcomponents</groupId>
245 <artifactId>httpmime</artifactId>
246 </dependency>
247
248
249 <!-- Helpers -->
250 <dependency>
251 <groupId>org.projectlombok</groupId>
252 <artifactId>lombok</artifactId>
253 <scope>provided</scope>
254 </dependency>
255 <dependency>
256 <groupId>io.vavr</groupId>
257 <artifactId>vavr</artifactId>
258 </dependency>
259
260 <!-- SDK overlay war -->
261 <dependency>
262 <groupId>org.onap.portal.sdk</groupId>
263 <artifactId>epsdk-app-overlay</artifactId>
264 <type>war</type>
265 </dependency>
266 <dependency>
267 <groupId>org.onap.portal.sdk</groupId>
268 <artifactId>epsdk-app-common</artifactId>
269 </dependency>
270
271 <dependency>
272 <groupId>org.onap.portal.sdk</groupId>
273 <artifactId>epsdk-core</artifactId>
274 </dependency>
275 <dependency>
276 <groupId>org.onap.portal.sdk</groupId>
277 <artifactId>epsdk-analytics</artifactId>
278 </dependency>
279 <dependency>
280 <groupId>org.onap.portal.sdk</groupId>
281 <artifactId>epsdk-workflow</artifactId>
282 </dependency>
283 <dependency>
284 <groupId>ch.qos.logback</groupId>
285 <artifactId>logback-core</artifactId>
286 </dependency>
287 <dependency>
288 <groupId>ch.qos.logback</groupId>
289 <artifactId>logback-classic</artifactId>
290 </dependency>
291 <dependency>
292 <groupId>commons-io</groupId>
293 <artifactId>commons-io</artifactId>
294 </dependency>
295
296 <!-- bridge to implement commons-logging using slf4j -->
297 <dependency>
298 <groupId>org.slf4j</groupId>
299 <artifactId>jcl-over-slf4j</artifactId>
300 </dependency>
301 <dependency>
302 <groupId>org.springframework</groupId>
303 <artifactId>spring-context-support</artifactId>
304 </dependency>
305 <dependency>
306 <groupId>org.springframework</groupId>
307 <artifactId>spring-core</artifactId>
308 <exclusions>
309 <exclusion>
310 <groupId>commons-logging</groupId>
311 <artifactId>commons-logging</artifactId>
312 </exclusion>
313 </exclusions>
314 </dependency>
315 <dependency>
316 <groupId>org.springframework</groupId>
317 <artifactId>spring-test</artifactId>
318 </dependency>
319 <dependency>
320 <groupId>org.springframework</groupId>
321 <artifactId>spring-tx</artifactId>
322 </dependency>
323 <dependency>
324 <groupId>org.springframework</groupId>
325 <artifactId>spring-web</artifactId>
326 </dependency>
327 <dependency>
328 <groupId>org.springframework</groupId>
329 <artifactId>spring-webmvc</artifactId>
330 </dependency>
331 <dependency>
332 <groupId>org.glassfish.jersey.core</groupId>
333 <artifactId>jersey-client</artifactId>
334 </dependency>
335 <dependency>
336 <groupId>org.glassfish.jersey.connectors</groupId>
337 <artifactId>jersey-jetty-connector</artifactId>
338 </dependency>
339 <dependency>
340 <groupId>com.fasterxml.jackson.jaxrs</groupId>
341 <artifactId>jackson-jaxrs-json-provider</artifactId>
342 </dependency>
343 <dependency>
344 <groupId>commons-beanutils</groupId>
345 <artifactId>commons-beanutils</artifactId>
346 </dependency>
347 <dependency>
348 <groupId>com.googlecode.json-simple</groupId>
349 <artifactId>json-simple</artifactId>
350 </dependency>
351 <dependency>
352 <groupId>xml-apis</groupId>
353 <artifactId>xml-apis</artifactId>
354 </dependency>
355 <dependency>
356 <groupId>org.yaml</groupId>
357 <artifactId>snakeyaml</artifactId>
358 </dependency>
359 <dependency>
360 <groupId>org.skyscreamer</groupId>
361 <artifactId>jsonassert</artifactId>
362 </dependency>
363 <dependency>
364 <groupId>org.apache.commons</groupId>
365 <artifactId>commons-text</artifactId>
366 </dependency>
367 <dependency>
368 <groupId>org.togglz</groupId>
369 <artifactId>togglz-spring-core</artifactId>
370 </dependency>
371 <dependency>
372 <groupId>org.assertj</groupId>
373 <artifactId>assertj-core</artifactId>
374 </dependency>
375 <dependency>
376 <groupId>io.springfox</groupId>
377 <artifactId>springfox-swagger2</artifactId>
378 </dependency>
379 <dependency>
380 <groupId>io.springfox</groupId>
381 <artifactId>springfox-swagger-ui</artifactId>
382 </dependency>
383 <dependency>
384 <groupId>org.onap.osam</groupId>
385 <artifactId>osam-common</artifactId>
386 </dependency>
387
388 <!-- TEST-->
389 <dependency>
390 <groupId>com.xebialabs.restito</groupId>
391 <artifactId>restito</artifactId>
392 <scope>test</scope>
393 </dependency>
394 <dependency>
395 <groupId>org.testng</groupId>
396 <artifactId>testng</artifactId>
397 <scope>test</scope>
398 </dependency>
399 <dependency>
400 <groupId>net.javacrumbs.json-unit</groupId>
401 <artifactId>json-unit</artifactId>
402 <scope>test</scope>
403 </dependency>
404 <dependency>
405 <groupId>org.hamcrest</groupId>
406 <artifactId>java-hamcrest</artifactId>
407 <scope>test</scope>
408 </dependency>
409 <dependency>
410 <groupId>junit</groupId>
411 <artifactId>junit</artifactId>
412 <scope>test</scope>
413 </dependency>
414 <dependency>
415 <groupId>com.google.code.bean-matchers</groupId>
416 <artifactId>bean-matchers</artifactId>
417 <scope>test</scope>
418 </dependency>
419 </dependencies>
420</project>