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