blob: 3939a63579f1ac9c91ac829640c5535321d53459 [file] [log] [blame]
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +03001<?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
27 <!-- This is the Maven project object model (POM) file for VID web application
28 based on the ECOMP SDK distribution. This file stands alone; it does not
29 inherit from a parent maven module. -->
30 <groupId>org.onap.osam</groupId>
31 <artifactId>onap-enabler-be</artifactId>
32 <version>0.0.1-SNAPSHOT</version>
33 <packaging>war</packaging>
34
35 <properties>
36 <encoding>UTF-8</encoding>
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
39 <epsdk.version>2.4.0</epsdk.version>
40 <springframework.version>4.2.9.RELEASE</springframework.version>
41 <hibernate.version>4.3.11.Final</hibernate.version>
42 <!-- Skip assembling the zip by default -->
43 <skipassembly>true</skipassembly>
44 <!-- Tests usually require some setup that maven cannot do, so skip. -->
45 <!--<skiptests>false</skiptests>-->
46 <nexusproxy>https://nexus.onap.org</nexusproxy>
47 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
48 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
49 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
50 <sitePath>/content/sites/site/org/onap/vid/${project.version}</sitePath>
Aharoni, Pavel (pa0916)0a8080c2018-11-22 15:45:19 +020051 <swagger.version>2.8.0</swagger.version>
52 </properties>
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +030053
54
55 <!-- this should be commented for local debugging -->
56 <!-- <deployenv>local</deployenv> -->
57
58 <repositories>
59 <repository>
60 <id>ecomp-releases</id>
61 <name>VID Release Repository</name>
62 <url>${nexusproxy}${releaseNexusPath}</url>
63 </repository>
64 <repository>
65 <id>ecomp-snapshots</id>
66 <name>VID Snapshot Repository</name>
67 <url>${nexusproxy}${snapshotNexusPath}</url>
68 </repository>
69 <repository>
70 <id>ecomp-staging</id>
71 <name>VID Staging Repository</name>
72 <url>${nexusproxy}${stagingNexusPath}</url>
73 </repository>
74 <repository>
75 <!-- Snapshots repository has ECOMP snapshot artifacts -->
76 <id>oss-snapshots</id>
77 <name>oss Central - Snapshots</name>
78 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
79 </repository>
80 <repository>
81 <id>maven2-repo</id>
82 <name>Maven2 repo</name>
83 <url>https://repo.maven.apache.org/maven2</url>
84 </repository>
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +030085 </repositories>
86 <distributionManagement>
87 <repository>
88 <id>ecomp-releases</id>
89 <name>VID Release Repository</name>
90 <url>${nexusproxy}/${releaseNexusPath}</url>
91 </repository>
92 <snapshotRepository>
93 <id>ecomp-snapshots</id>
94 <name>VID Snapshot Repository</name>
95 <url>${nexusproxy}/${snapshotNexusPath}</url>
96 </snapshotRepository>
97 <!-- added for javadoc -->
98 <site>
99 <id>ecomp-site</id>
100 <url>dav:${nexusproxy}${sitePath}</url>
101 </site>
102 </distributionManagement>
103
104 <build>
105 <finalName>onap-enabler-be</finalName>
106
107 <plugins>
108 <!-- License plugin should only run once at the start of the project.
109 For new classes, the header should be added manually by the company which creates it.-->
110
Aharoni, Pavel (pa0916)0a8080c2018-11-22 15:45:19 +0200111 <!--plugin>
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +0300112 <groupId>org.codehaus.mojo</groupId>
113 <artifactId>license-maven-plugin</artifactId>
114 <version>1.16</version>
115 <configuration>
116 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
117 <processStartTag>============LICENSE_START=======================================================</processStartTag>
118 <processEndTag>============LICENSE_END=========================================================</processEndTag>
119 <sectionDelimiter>================================================================================</sectionDelimiter>
120 <licenseName>apache_v2</licenseName>
121 <inceptionYear>2018</inceptionYear>
122 <organizationName>AT&amp;T</organizationName>
123 <projectName>OSAM</projectName>
124 <canUpdateCopyright>true</canUpdateCopyright>
125 <canUpdateDescription>true</canUpdateDescription>
126 <canUpdateLicense>true</canUpdateLicense>
127 <emptyLineAfterHeader>true</emptyLineAfterHeader>
128 <verbose>false</verbose>
129 <includes>
130 <include>**/*.java</include>
131 </includes>
132 </configuration>
133 <executions>
134 <execution>
135 <id>first</id>
136 <goals>
137 <goal>update-file-header</goal>
138 </goals>
139 <phase>process-sources</phase>
140 </execution>
141 </executions>
Aharoni, Pavel (pa0916)0a8080c2018-11-22 15:45:19 +0200142 </plugin-->
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +0300143 <plugin>
144 <groupId>org.sonatype.plugins</groupId>
145 <artifactId>nexus-staging-maven-plugin</artifactId>
146 <version>1.6.7</version>
147 <extensions>true</extensions>
148 <configuration>
149 <nexusUrl>${nexusproxy}</nexusUrl>
150 <stagingProfileId>176c31dfe190a</stagingProfileId>
151 <serverId>ecomp-staging</serverId>
152 </configuration>
153 </plugin>
154 <plugin>
155 <groupId>org.jacoco</groupId>
156 <artifactId>jacoco-maven-plugin</artifactId>
157 <version>0.7.9</version>
158 <executions>
159 <execution>
160 <id>default-prepare-agent</id>
161 <goals>
162 <goal>prepare-agent</goal>
163 </goals>
164 </execution>
165 <execution>
166 <id>default-report</id>
167 <goals>
168 <goal>report</goal>
169 </goals>
170 </execution>
171 </executions>
172 </plugin>
173 <plugin>
174 <groupId>org.apache.tomcat.maven</groupId>
175 <artifactId>tomcat6-maven-plugin</artifactId>
176 <version>2.2</version>
177 </plugin>
178 <plugin>
179 <groupId>org.apache.tomcat.maven</groupId>
180 <artifactId>tomcat7-maven-plugin</artifactId>
181 <version>2.2</version>
182 </plugin>
183
184 <!-- Generate POJOs from MSO json schema -->
185 <plugin>
186 <groupId>org.jsonschema2pojo</groupId>
187 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
188 <version>0.4.23</version>
189 <configuration>
190 <sourceDirectory>${basedir}/src/main/resources/json/mso</sourceDirectory>
191 <targetPackage>org.onap.osam.domain.mso</targetPackage>
192 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
193 </configuration>
194 <executions>
195 <execution>
196 <goals>
197 <goal>generate</goal>
198 </goals>
199 </execution>
200 </executions>
201 </plugin>
202
203 <plugin>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-compiler-plugin</artifactId>
206 <version>3.1</version>
207 <configuration>
208 <source>1.8</source>
209 <target>1.8</target>
210 </configuration>
211 </plugin>
212
213 <plugin>
214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-surefire-plugin</artifactId>
216 <version>2.19.1</version>
217 <configuration>
218 <!--<skipTests>${skiptests}</skipTests>-->
219 <includes>
220 <include>**/Test*.java</include>
221 <include>**/*Test.java</include>
222 <include>**/*TestCase.java</include>
223 </includes>
224 <excludes>
225 <exclude>**/selenium/*.java</exclude>
226 <exclude>**/integrationTest/*.java</exclude>
227 </excludes>
228 <additionalClasspathElements>
229 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
230 </additionalClasspathElements>
231 <systemPropertyVariables>
232 <container.classpath>classpath:</container.classpath>
233 </systemPropertyVariables>
234 </configuration>
235 </plugin>
236
237 <plugin>
238 <artifactId>maven-assembly-plugin</artifactId>
239 <configuration>
240 <skipAssembly>${skipassembly}</skipAssembly>
241 <descriptors>
242 <descriptor>${basedir}/distribution.xml</descriptor>
243 </descriptors>
244 </configuration>
245 <executions>
246 <execution>
247 <id>make-assembly</id>
248 <phase>package</phase>
249 <goals>
250 <goal>single</goal>
251 </goals>
252 </execution>
253 </executions>
254 </plugin>
255
256
257 <plugin>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-war-plugin</artifactId>
260 <version>3.0.0</version>
261 <configuration>
262 <!-- Build a jar with all the Java classes -->
263 <attachClasses>true</attachClasses>
264 <!-- Do not put any jars in the war -->
265 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
266 </configuration>
267 </plugin>
268 <plugin>
269 <groupId>org.apache.maven.plugins</groupId>
270 <artifactId>maven-site-plugin</artifactId>
271 <version>3.6</version>
272 <dependencies>
273 <dependency>
274 <groupId>org.apache.maven.wagon</groupId>
275 <artifactId>wagon-webdav-jackrabbit</artifactId>
276 <version>2.10</version>
277 </dependency>
278 </dependencies>
279 </plugin>
280 <plugin>
281 <groupId>pl.project13.maven</groupId>
282 <artifactId>git-commit-id-plugin</artifactId>
283 <version>2.2.4</version>
284 <executions>
285 <execution>
286 <id>get-the-git-infos</id>
287 <goals>
288 <goal>revision</goal>
289 </goals>
290 </execution>
291 </executions>
292 <configuration>
293 <dotGitDirectory>${project.basedir}/.git</dotGitDirectory>
294 <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
295 <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone>
296 <generateGitPropertiesFile>true</generateGitPropertiesFile>
297 <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
298 <includeOnlyProperties>
299 <includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
300 <includeOnlyProperty>^git.commit.message.short$</includeOnlyProperty>
301 <includeOnlyProperty>^git.commit.time$</includeOnlyProperty>
302 </includeOnlyProperties>
303 </configuration>
304 </plugin>
305 </plugins>
306 </build>
307
308 <reporting>
309 <plugins>
310 <plugin>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-javadoc-plugin</artifactId>
313 <version>2.10.4</version>
314 <configuration>
315 <failOnError>false</failOnError>
316 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
317 <docletArtifact>
318 <groupId>org.umlgraph</groupId>
319 <artifactId>umlgraph</artifactId>
320 <version>5.6</version>
321 </docletArtifact>
322 <additionalparam>-views</additionalparam>
323 <useStandardDocletOptions>true</useStandardDocletOptions>
324 </configuration>
325 </plugin>
326 </plugins>
327 </reporting>
328
329 <dependencies>
330
331 <dependency>
332 <groupId>com.opencsv</groupId>
333 <artifactId>opencsv</artifactId>
334 <version>4.1</version>
335 </dependency>
336
337 <!-- HTTP client -->
338
339 <dependency>
340 <groupId>io.joshworks.unirest</groupId>
341 <artifactId>unirest-java</artifactId>
342 <version>0.2.1</version>
343 </dependency>
344 <dependency>
345 <groupId>org.apache.httpcomponents</groupId>
346 <artifactId>httpclient</artifactId>
347 <version>4.3.6</version>
348 </dependency>
349 <dependency>
350 <groupId>org.apache.httpcomponents</groupId>
351 <artifactId>httpasyncclient</artifactId>
352 <version>4.0.2</version>
353 </dependency>
354 <dependency>
355 <groupId>org.apache.httpcomponents</groupId>
356 <artifactId>httpmime</artifactId>
357 <version>4.3.6</version>
358 </dependency>
359 <dependency>
360 <groupId>com.xebialabs.restito</groupId>
361 <artifactId>restito</artifactId>
362 <version>0.9.3</version>
363 <scope>test</scope>
364 </dependency>
365
366 <!-- Helpers -->
367 <dependency>
368 <groupId>org.projectlombok</groupId>
369 <artifactId>lombok</artifactId>
370 <version>1.18.2</version>
371 <scope>provided</scope>
372 </dependency>
373 <dependency>
374 <groupId>io.vavr</groupId>
375 <artifactId>vavr</artifactId>
376 <version>0.9.2</version>
377 </dependency>
378
379 <!-- SDK overlay war -->
380 <dependency>
381 <groupId>org.onap.portal.sdk</groupId>
382 <artifactId>epsdk-app-overlay</artifactId>
383 <version>${epsdk.version}</version>
384 <type>war</type>
385 </dependency>
386 <dependency>
387 <groupId>org.onap.portal.sdk</groupId>
388 <artifactId>epsdk-app-common</artifactId>
389 <version>${epsdk.version}</version>
390 <type>jar</type>
391 </dependency>
392
393 <dependency>
394 <groupId>org.onap.portal.sdk</groupId>
395 <artifactId>epsdk-core</artifactId>
396 <version>${epsdk.version}</version>
397 </dependency>
398 <dependency>
399 <groupId>org.onap.portal.sdk</groupId>
400 <artifactId>epsdk-analytics</artifactId>
401 <version>${epsdk.version}</version>
402 </dependency>
403 <dependency>
404 <groupId>org.onap.portal.sdk</groupId>
405 <artifactId>epsdk-workflow</artifactId>
406 <version>${epsdk.version}</version>
407 </dependency>
408 <dependency>
409 <groupId>com.att.eelf</groupId>
410 <artifactId>eelf-core</artifactId>
411 <version>1.0.0</version>
412 </dependency>
413 <dependency>
414 <groupId>ch.qos.logback</groupId>
415 <artifactId>logback-core</artifactId>
416 <version>1.2.3</version>
417 </dependency>
418 <dependency>
419 <groupId>ch.qos.logback</groupId>
420 <artifactId>logback-classic</artifactId>
421 <version>1.2.3</version>
422 </dependency>
423
424 <!-- Mapper -->
425 <dependency>
426 <groupId>com.fasterxml.jackson.core</groupId>
427 <artifactId>jackson-annotations</artifactId>
428 <version>2.6.3</version>
429 </dependency>
430 <dependency>
431 <groupId>com.fasterxml.jackson.core</groupId>
432 <artifactId>jackson-core</artifactId>
433 <version>2.8.6</version>
434 </dependency>
435 <dependency>
436 <groupId>com.fasterxml.jackson.core</groupId>
437 <artifactId>jackson-databind</artifactId>
438 <version>2.6.7.1</version>
439 </dependency>
440 <dependency>
441 <groupId>com.mchange</groupId>
442 <artifactId>c3p0</artifactId>
443 <version>0.9.5.2</version>
444 </dependency>
445 <dependency>
446 <groupId>io.searchbox</groupId>
447 <artifactId>jest</artifactId>
448 <version>2.0.0</version>
449 <exclusions>
450 <exclusion>
451 <groupId>commons-logging</groupId>
452 <artifactId>commons-logging</artifactId>
453 </exclusion>
454 </exclusions>
455 </dependency>
456 <dependency>
457 <groupId>javax.servlet</groupId>
458 <artifactId>javax.servlet-api</artifactId>
459 <version>3.1.0</version>
460 <scope>provided</scope>
461 </dependency>
462 <dependency>
463 <groupId>junit</groupId>
464 <artifactId>junit</artifactId>
465 <version>4.12</version>
466 </dependency>
467 <dependency>
468 <groupId>commons-io</groupId>
469 <artifactId>commons-io</artifactId>
470 <version>2.4</version>
471 <!--<scope>test</scope>-->
472 </dependency>
473 <dependency>
474 <groupId>com.google.code.bean-matchers</groupId>
475 <artifactId>bean-matchers</artifactId>
476 <version>0.11</version>
477 <scope>test</scope>
478 </dependency>
479 <dependency>
480 <groupId>org.json</groupId>
481 <artifactId>json</artifactId>
482 <version>20160212</version>
483 </dependency>
484 <dependency>
485 <groupId>org.quartz-scheduler</groupId>
486 <artifactId>quartz</artifactId>
487 <version>2.2.1</version>
488 <exclusions>
489 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
490 <exclusion>
491 <groupId>c3p0</groupId>
492 <artifactId>c3p0</artifactId>
493 </exclusion>
494 </exclusions>
495 </dependency>
496 <!-- bridge to implement commons-logging using slf4j -->
497 <dependency>
498 <groupId>org.slf4j</groupId>
499 <artifactId>jcl-over-slf4j</artifactId>
500 <version>1.7.12</version>
501 </dependency>
502 <dependency>
503 <groupId>org.springframework</groupId>
504 <artifactId>spring-context-support</artifactId>
505 <version>${springframework.version}</version>
506 </dependency>
507 <dependency>
508 <groupId>org.springframework</groupId>
509 <artifactId>spring-core</artifactId>
510 <version>${springframework.version}</version>
511 <exclusions>
512 <exclusion>
513 <groupId>commons-logging</groupId>
514 <artifactId>commons-logging</artifactId>
515 </exclusion>
516 </exclusions>
517 </dependency>
518 <dependency>
519 <groupId>org.springframework</groupId>
520 <artifactId>spring-test</artifactId>
521 <version>${springframework.version}</version>
522 </dependency>
523 <dependency>
524 <groupId>org.springframework</groupId>
525 <artifactId>spring-tx</artifactId>
526 <version>${springframework.version}</version>
527 </dependency>
528 <dependency>
529 <groupId>org.springframework</groupId>
530 <artifactId>spring-web</artifactId>
531 <version>${springframework.version}</version>
532 </dependency>
533 <dependency>
534 <groupId>org.springframework</groupId>
535 <artifactId>spring-webmvc</artifactId>
536 <version>${springframework.version}</version>
537 </dependency>
538 <dependency>
539 <groupId>org.glassfish.jersey.core</groupId>
540 <artifactId>jersey-client</artifactId>
541 <version>2.23.1</version>
542 </dependency>
543 <dependency>
544 <groupId>org.glassfish.jersey.connectors</groupId>
545 <artifactId>jersey-jetty-connector</artifactId>
546 <version>2.23.1</version>
547 </dependency>
548 <dependency>
549 <groupId>com.fasterxml.jackson.jaxrs</groupId>
550 <artifactId>jackson-jaxrs-json-provider</artifactId>
551 <version>2.6.3</version>
552 </dependency>
553 <dependency>
554 <groupId>commons-beanutils</groupId>
555 <artifactId>commons-beanutils</artifactId>
556 <version>1.9.3</version>
557 </dependency>
558 <dependency>
559 <groupId>com.googlecode.json-simple</groupId>
560 <artifactId>json-simple</artifactId>
561 <version>1.1.1</version>
562 </dependency>
563 <dependency>
564 <groupId>org.seleniumhq.selenium</groupId>
565 <artifactId>selenium-java</artifactId>
566 <version>2.53.1</version>
567 <scope>test</scope>
568 </dependency>
569 <dependency>
570 <groupId>org.seleniumhq.selenium</groupId>
571 <artifactId>selenium-api</artifactId>
572 <version>2.53.1</version>
573 <scope>test</scope>
574 </dependency>
575 <dependency>
576 <groupId>org.testng</groupId>
577 <artifactId>testng</artifactId>
578 <version>6.8</version>
579 <scope>test</scope>
580 </dependency>
581 <dependency>
582 <groupId>org.seleniumhq.selenium</groupId>
583 <artifactId>selenium-firefox-driver</artifactId>
584 <version>2.53.1</version>
585 </dependency>
586 <dependency>
587 <groupId>xml-apis</groupId>
588 <artifactId>xml-apis</artifactId>
589 <version>1.4.01</version>
590 </dependency>
591 <dependency>
592 <groupId>org.yaml</groupId>
593 <artifactId>snakeyaml</artifactId>
594 <version>1.16</version>
595 </dependency>
596 <dependency>
597 <groupId>org.skyscreamer</groupId>
598 <artifactId>jsonassert</artifactId>
599 <version>1.5.0</version>
600 </dependency>
601 <dependency>
602 <groupId>org.onap.sdc.sdc-tosca</groupId>
603 <artifactId>sdc-tosca</artifactId>
604 <version>1.4.1</version>
605 <scope>compile</scope>
606 </dependency>
607 <dependency>
608 <groupId>net.javacrumbs.json-unit</groupId>
609 <artifactId>json-unit</artifactId>
610 <version>1.23.0</version>
611 <scope>test</scope>
612 </dependency>
613 <dependency>
614 <groupId>org.apache.commons</groupId>
615 <artifactId>commons-text</artifactId>
616 <version>1.1</version>
617 </dependency>
618 <dependency>
619 <groupId>org.hamcrest</groupId>
620 <artifactId>java-hamcrest</artifactId>
621 <version>2.0.0.0</version>
622 <scope>test</scope>
623 </dependency>
624 <dependency>
625 <groupId>org.togglz</groupId>
626 <artifactId>togglz-spring-core</artifactId>
627 <version>2.5.0.Final</version>
628 </dependency>
629 <dependency>
630 <groupId>org.assertj</groupId>
631 <artifactId>assertj-core</artifactId>
632 <version>3.10.0</version>
633 <scope>compile</scope>
634 </dependency>
Aharoni, Pavel (pa0916)0a8080c2018-11-22 15:45:19 +0200635 <dependency>
636 <groupId>io.springfox</groupId>
637 <artifactId>springfox-swagger2</artifactId>
638 <version>${swagger.version}</version>
639 </dependency>
640 <dependency>
641 <groupId>io.springfox</groupId>
642 <artifactId>springfox-swagger-ui</artifactId>
643 <version>${swagger.version}</version>
644 </dependency>
645 <dependency>
646 <groupId>org.onap.osam</groupId>
647 <artifactId>osam-common</artifactId>
648 <version>${project.version}</version>
649 </dependency>
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +0300650 </dependencies>
651</project>