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