blob: e2d288abd1b5023c1e304317a132183e17d68d6e [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<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
24
25 <!-- This is the Maven project object model (POM) file for the open-source
26 SDK web app. This is NOT the Portal - but it is developed and supported by
27 the Portal team. -->
28 <groupId>org.onap.osam</groupId>
29 <artifactId>onap-enabler-infra</artifactId>
30 <version>0.0.1-SNAPSHOT</version>
31 <packaging>war</packaging>
32
33 <properties>
34 <encoding>UTF-8</encoding>
35 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
37 <epsdk.version>2.4.0</epsdk.version>
38 <springframework.version>4.2.9.RELEASE</springframework.version>
39 <hibernate.version>4.3.11.Final</hibernate.version>
40 <!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false .. -->
41 <skipassembly>true</skipassembly>
42 <!-- Tests usually require some setup that maven cannot do, so skip. -->
43<!--
44 <skiptests>false</skiptests>
45-->
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
52 <!-- SONAR -->
53 <sonar.language>java</sonar.language>
54 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
55 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
56 <sonar.projectVersion>${project.version}</sonar.projectVersion>
Aharoni, Pavel (pa0916)0a8080c2018-11-22 15:45:19 +020057 <swagger.version>2.8.0</swagger.version>
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +030058 </properties>
59
60 <repositories>
61 <repository>
62 <id>ecomp-releases</id>
63 <name>VID Release Repository</name>
64 <url>${nexusproxy}${releaseNexusPath}</url>
65 </repository>
66 <repository>
67 <id>ecomp-snapshots</id>
68 <name>VID Snapshot Repository</name>
69 <url>${nexusproxy}${snapshotNexusPath}</url>
70 </repository>
71 <repository>
72 <id>ecomp-staging</id>
73 <name>VID Staging Repository</name>
74 <url>${nexusproxy}${stagingNexusPath}</url>
75 </repository>
76 <repository>
77 <!-- Snapshots repository has ECOMP snapshot artifacts -->
78 <id>oss-snapshots</id>
79 <name>oss Central - Snapshots</name>
80 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
81 </repository>
82 </repositories>
83 <distributionManagement>
84 <repository>
85 <id>ecomp-releases</id>
86 <name>VID Release Repository</name>
87 <url>${nexusproxy}/${releaseNexusPath}</url>
88 </repository>
89 <snapshotRepository>
90 <id>ecomp-snapshots</id>
91 <name>VID Snapshot Repository</name>
92 <url>${nexusproxy}/${snapshotNexusPath}</url>
93 </snapshotRepository>
94 <!-- added for javadoc -->
95 <site>
96 <id>ecomp-site</id>
97 <url>dav:${nexusproxy}${sitePath}</url>
98 </site>
99 </distributionManagement>
100
101 <profiles>
102 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
103 <profile>
104 <id>doclint-java8-disable</id>
105 <activation>
106 <jdk>[1.8,)</jdk>
107 </activation>
108 <build>
109 <plugins>
110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-javadoc-plugin</artifactId>
113 <version>2.10.4</version>
114 <configuration>
115 <additionalparam>-Xdoclint:none</additionalparam>
116 </configuration>
117 </plugin>
118 </plugins>
119 </build>
120 </profile>
121 </profiles>
122
123 <build>
124 <finalName>onap-enabler</finalName>
125 <plugins>
126 <!-- License plugin should only run once at the start of the project.
127 For new classes, the header should be added manually by the company which creates it.-->
128
129 <!--<plugin>
130 <groupId>org.codehaus.mojo</groupId>
131 <artifactId>license-maven-plugin</artifactId>
132 <version>1.16</version>
133 <configuration>
134 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
135 <processStartTag>============LICENSE_START=======================================================</processStartTag>
136 <processEndTag>============LICENSE_END=========================================================</processEndTag>
137 <sectionDelimiter>================================================================================</sectionDelimiter>
138 <licenseName>apache_v2</licenseName>
139 <inceptionYear>2018</inceptionYear>
140 <organizationName>AT&amp;T</organizationName>
141 <projectName>OSAM</projectName>
142 <canUpdateCopyright>true</canUpdateCopyright>
143 <canUpdateDescription>true</canUpdateDescription>
144 <canUpdateLicense>true</canUpdateLicense>
145 <emptyLineAfterHeader>true</emptyLineAfterHeader>
146 <verbose>false</verbose>
147 <includes>
148 <include>**/*.java</include>
149 </includes>
150 </configuration>
151 <executions>
152 <execution>
153 <id>first</id>
154 <goals>
155 <goal>update-file-header</goal>
156 </goals>
157 <phase>process-sources</phase>
158 </execution>
159 </executions>
160 </plugin>-->
161 <plugin>
162 <groupId>org.sonatype.plugins</groupId>
163 <artifactId>nexus-staging-maven-plugin</artifactId>
164 <version>1.6.7</version>
165 <extensions>true</extensions>
166 <configuration>
167 <nexusUrl>${nexusproxy}</nexusUrl>
168 <stagingProfileId>176c31dfe190a</stagingProfileId>
169 <serverId>ecomp-staging</serverId>
170 </configuration>
171 </plugin>
172
173 <!-- Compile to Java 1.8 class output format -->
174 <plugin>
175 <groupId>org.apache.maven.plugins</groupId>
176 <artifactId>maven-compiler-plugin</artifactId>
177 <version>3.1</version>
178 <configuration>
179 <source>1.8</source>
180 <target>1.8</target>
181 </configuration>
182 </plugin>
183
184 <plugin>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-surefire-plugin</artifactId>
187 <version>2.19.1</version>
188 <configuration>
189<!--
190 <skipTests>${skiptests}</skipTests>
191-->
192 <includes>
193 <include>**/Test*.java</include>
194 <include>**/*Test.java</include>
195 <include>**/*TestCase.java</include>
196 </includes>
197 <additionalClasspathElements>
198 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
199 </additionalClasspathElements>
200 <systemPropertyVariables>
201 <container.classpath>classpath:</container.classpath>
202 </systemPropertyVariables>
203 </configuration>
204 </plugin>
205
206 <!-- add version number to manifest -->
207 <plugin>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-war-plugin</artifactId>
210 <version>2.0.2</version>
211 <configuration>
212 <archive>
213 <manifest>
214 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
215 </manifest>
216 <manifestEntries>
217 <Build-Number>${project.version}</Build-Number>
218 <Build-Time>${maven.build.timestamp}</Build-Time>
219 </manifestEntries>
220 </archive>
221 </configuration>
222 </plugin>
223
224 <plugin>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-assembly-plugin</artifactId>
227 <version>3.0.0</version>
228 <configuration>
229 <skipAssembly>${skipassembly}</skipAssembly>
230 <descriptors>
231 <descriptor>${basedir}/distribution.xml</descriptor>
232 </descriptors>
233 </configuration>
234 <executions>
235 <execution>
236 <id>make-assembly</id>
237 <phase>package</phase>
238 <goals>
239 <goal>single</goal>
240 </goals>
241 </execution>
242 </executions>
243 </plugin>
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-site-plugin</artifactId>
247 <version>3.6</version>
248 <dependencies>
249 <dependency>
250 <groupId>org.apache.maven.wagon</groupId>
251 <artifactId>wagon-webdav-jackrabbit</artifactId>
252 <version>2.10</version>
253 </dependency>
254 </dependencies>
255 </plugin>
256 <plugin>
257 <groupId>org.sonarsource.scanner.maven</groupId>
258 <artifactId>sonar-maven-plugin</artifactId>
259 <version>3.3.0.603</version>
260 </plugin>
261 <plugin>
262 <groupId>org.jacoco</groupId>
263 <artifactId>jacoco-maven-plugin</artifactId>
264 <version>0.7.9</version>
265 <executions>
266 <execution>
267 <id>default-prepare-agent</id>
268 <goals>
269 <goal>prepare-agent</goal>
270 </goals>
271 </execution>
272 <execution>
273 <id>default-report</id>
274 <goals>
275 <goal>report</goal>
276 </goals>
277 </execution>
278 </executions>
279 </plugin>
280
281 </plugins>
282 </build>
283
284 <reporting>
285 <plugins>
286 <plugin>
287 <groupId>org.apache.maven.plugins</groupId>
288 <artifactId>maven-javadoc-plugin</artifactId>
289 <version>2.10.4</version>
290 <configuration>
291 <failOnError>false</failOnError>
292 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
293 <docletArtifact>
294 <groupId>org.umlgraph</groupId>
295 <artifactId>umlgraph</artifactId>
296 <version>5.6</version>
297 </docletArtifact>
298 <additionalparam>-views</additionalparam>
299 <useStandardDocletOptions>true</useStandardDocletOptions>
300 </configuration>
301 </plugin>
302 </plugins>
303 </reporting>
304 <dependencies>
305 <!-- SDK overlay war -->
306 <dependency>
307 <groupId>org.onap.portal.sdk</groupId>
308 <artifactId>epsdk-app-overlay</artifactId>
309 <version>${epsdk.version}</version>
310 <type>war</type>
311 </dependency>
312 <dependency>
313 <groupId>org.onap.portal.sdk</groupId>
314 <artifactId>epsdk-app-common</artifactId>
315 <version>${epsdk.version}</version>
316 <type>jar</type>
317 <exclusions>
318 <exclusion>
319 <groupId>com.fasterxml.jackson.core</groupId>
320 <artifactId>jackson-core</artifactId>
321 </exclusion>
322 </exclusions>
323 </dependency>
324 <dependency>
325 <groupId>org.onap.osam</groupId>
326 <artifactId>onap-enabler-be</artifactId>
327 <version>${project.version}</version>
328 <type>war</type>
329 <exclusions>
330 <exclusion>
331 <groupId>com.fasterxml.jackson.core</groupId>
332 <artifactId>jackson-core</artifactId>
333 </exclusion>
334 </exclusions>
335 </dependency>
336 <dependency>
337 <groupId>org.onap.osam</groupId>
338 <artifactId>onap-enabler-be</artifactId>
339 <version>${project.version}</version>
340 <type>jar</type>
341 <classifier>classes</classifier>
342 </dependency>
343 <!-- SDK components -->
344 <dependency>
345 <groupId>org.onap.portal.sdk</groupId>
346 <artifactId>epsdk-core</artifactId>
347 <version>${epsdk.version}</version>
348 <exclusions>
349 <exclusion>
350 <groupId>com.fasterxml.jackson.core</groupId>
351 <artifactId>jackson-core</artifactId>
352 </exclusion>
353 </exclusions>
354 </dependency>
355 <dependency>
356 <groupId>org.onap.portal.sdk</groupId>
357 <artifactId>epsdk-analytics</artifactId>
358 <version>${epsdk.version}</version>
359 <exclusions>
360 <exclusion>
361 <groupId>com.fasterxml.jackson.core</groupId>
362 <artifactId>jackson-core</artifactId>
363 </exclusion>
364 </exclusions>
365 </dependency>
366 <dependency>
367 <groupId>org.onap.portal.sdk</groupId>
368 <artifactId>epsdk-workflow</artifactId>
369 <version>${epsdk.version}</version>
370 <exclusions>
371 <exclusion>
372 <groupId>com.fasterxml.jackson.core</groupId>
373 <artifactId>jackson-core</artifactId>
374 </exclusion>
375 </exclusions>
376 </dependency>
377 <dependency>
378 <groupId>com.att.eelf</groupId>
379 <artifactId>eelf-core</artifactId>
380 <version>1.0.0</version>
381 </dependency>
382
383 <!-- Mapper -->
384 <dependency>
385 <groupId>com.fasterxml.jackson.core</groupId>
386 <artifactId>jackson-annotations</artifactId>
387 <version>2.6.3</version>
388 </dependency>
389 <dependency>
390 <groupId>com.fasterxml.jackson.core</groupId>
391 <artifactId>jackson-core</artifactId>
392 <version>2.8.6</version>
393 </dependency>
394 <dependency>
395 <groupId>com.fasterxml.jackson.core</groupId>
396 <artifactId>jackson-databind</artifactId>
397 <version>2.6.7.1</version>
398 <exclusions>
399 <exclusion>
400 <groupId>com.fasterxml.jackson.core</groupId>
401 <artifactId>jackson-core</artifactId>
402 </exclusion>
403 </exclusions>
404 </dependency>
405 <dependency>
406 <groupId>com.mchange</groupId>
407 <artifactId>c3p0</artifactId>
408 <version>0.9.5.2</version>
409 </dependency>
410 <dependency>
411 <groupId>io.searchbox</groupId>
412 <artifactId>jest</artifactId>
413 <version>2.0.0</version>
414 <exclusions>
415 <exclusion>
416 <groupId>commons-logging</groupId>
417 <artifactId>commons-logging</artifactId>
418 </exclusion>
419 </exclusions>
420 </dependency>
421 <dependency>
422 <groupId>javax.servlet</groupId>
423 <artifactId>javax.servlet-api</artifactId>
424 <version>3.1.0</version>
425 </dependency>
426 <dependency>
427 <groupId>junit</groupId>
428 <artifactId>junit</artifactId>
429 <version>4.12</version>
430 </dependency>
431 <dependency>
432 <groupId>org.json</groupId>
433 <artifactId>json</artifactId>
434 <version>20160212</version>
435 </dependency>
436 <dependency>
437 <groupId>org.quartz-scheduler</groupId>
438 <artifactId>quartz</artifactId>
439 <version>2.2.1</version>
440 <exclusions>
441 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
442 <exclusion>
443 <groupId>c3p0</groupId>
444 <artifactId>c3p0</artifactId>
445 </exclusion>
446 </exclusions>
447 </dependency>
448 <!-- bridge to implement commons-logging using slf4j -->
449 <dependency>
450 <groupId>org.slf4j</groupId>
451 <artifactId>jcl-over-slf4j</artifactId>
452 <version>1.7.12</version>
453 </dependency>
454 <dependency>
455 <groupId>org.springframework</groupId>
456 <artifactId>spring-context-support</artifactId>
457 <version>${springframework.version}</version>
458 </dependency>
459 <dependency>
460 <groupId>org.springframework</groupId>
461 <artifactId>spring-core</artifactId>
462 <version>${springframework.version}</version>
463 <exclusions>
464 <exclusion>
465 <groupId>commons-logging</groupId>
466 <artifactId>commons-logging</artifactId>
467 </exclusion>
468 </exclusions>
469 </dependency>
470 <dependency>
471 <groupId>org.springframework</groupId>
472 <artifactId>spring-aop</artifactId>
473 <version>${springframework.version}</version>
474 </dependency>
475 <dependency>
476 <groupId>org.springframework</groupId>
477 <artifactId>spring-test</artifactId>
478 <version>${springframework.version}</version>
479 </dependency>
480 <dependency>
481 <groupId>org.springframework</groupId>
482 <artifactId>spring-tx</artifactId>
483 <version>${springframework.version}</version>
484 </dependency>
485 <dependency>
486 <groupId>org.springframework</groupId>
487 <artifactId>spring-web</artifactId>
488 <version>${springframework.version}</version>
489 </dependency>
490 <dependency>
491 <groupId>org.springframework</groupId>
492 <artifactId>spring-webmvc</artifactId>
493 <version>${springframework.version}</version>
494 </dependency>
Aharoni, Pavel (pa0916)0a8080c2018-11-22 15:45:19 +0200495 <dependency>
496 <groupId>io.springfox</groupId>
497 <artifactId>springfox-swagger2</artifactId>
498 <version>${swagger.version}</version>
499 </dependency>
500 <dependency>
501 <groupId>io.springfox</groupId>
502 <artifactId>springfox-swagger-ui</artifactId>
503 <version>${swagger.version}</version>
504 </dependency>
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +0300505 </dependencies>
506</project>