blob: 0fb1e2b4ac8161fbf5a1aee41e015e32167143af [file] [log] [blame]
jimmydot3982f4f2017-05-07 14:58:24 -04001<?xml version="1.0"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5
6 <!-- This is the Maven project object model (POM) file for the open-source
7 SDK web app. This is NOT the Portal - but it is developed and supported by
8 the Portal team. -->
jimmydotd8d45ec2017-05-08 11:20:53 -04009 <groupId>org.openecomp.vid</groupId>
jimmydot3982f4f2017-05-07 14:58:24 -040010 <artifactId>epsdk-app-onap</artifactId>
11 <version>1.1.0-SNAPSHOT</version>
12 <packaging>war</packaging>
13 <name>ECOMP SDK Webapp for OpenSource</name>
14 <description>ECOMP SDK Web Application for public release</description>
15
16 <properties>
17 <encoding>UTF-8</encoding>
18 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Krzysztof Kwiecien4c1fe212017-07-21 11:37:05 +020020 <epsdk.version>1.3.0-SNAPSHOT</epsdk.version>
jimmydot3982f4f2017-05-07 14:58:24 -040021 <springframework.version>4.2.0.RELEASE</springframework.version>
22 <hibernate.version>4.3.11.Final</hibernate.version>
23 <!-- Skip assembling the zip; assemble via mvn -Dskipassembly=false .. -->
24 <skipassembly>true</skipassembly>
25 <!-- Tests usually require some setup that maven cannot do, so skip. -->
26 <skiptests>true</skiptests>
27 <nexusproxy>https://nexus.onap.org</nexusproxy>
28 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
29 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
30 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
31 <sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>
Ofir Sonsino60fcc812017-09-11 15:21:09 +030032
33 <!-- SONAR -->
34 <sonar.language>java</sonar.language>
35 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
36 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
Ofir Sonsino426bc052017-09-24 15:59:14 +030037 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
Ofir Sonsino60fcc812017-09-11 15:21:09 +030038 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
39 <sonar.projectVersion>${project.version}</sonar.projectVersion>
jimmydot3982f4f2017-05-07 14:58:24 -040040 </properties>
41
jimmydot15eae842017-05-09 11:03:39 -040042 <repositories>
43 <repository>
44 <id>ecomp-releases</id>
45 <name>VID Release Repository</name>
46 <url>${nexusproxy}${releaseNexusPath}</url>
47 </repository>
48 <repository>
49 <id>ecomp-snapshots</id>
50 <name>VID Snapshot Repository</name>
51 <url>${nexusproxy}${snapshotNexusPath}</url>
52 </repository>
53 <repository>
54 <id>ecomp-staging</id>
55 <name>VID Staging Repository</name>
56 <url>${nexusproxy}${stagingNexusPath}</url>
57 </repository>
58 <repository>
59 <!-- Snapshots repository has ECOMP snapshot artifacts -->
60 <id>oss-snapshots</id>
61 <name>oss Central - Snapshots</name>
62 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
63 </repository>
64 </repositories>
65 <distributionManagement>
66 <repository>
67 <id>ecomp-releases</id>
68 <name>VID Release Repository</name>
69 <url>${nexusproxy}/${releaseNexusPath}</url>
70 </repository>
71 <snapshotRepository>
72 <id>ecomp-snapshots</id>
73 <name>VID Snapshot Repository</name>
74 <url>${nexusproxy}/${snapshotNexusPath}</url>
75 </snapshotRepository>
76 <!-- added for javadoc -->
77 <site>
78 <id>ecomp-site</id>
79 <url>dav:${nexusproxy}${sitePath}</url>
80 </site>
81 </distributionManagement>
jimmydot97bd2522017-05-08 08:38:14 -040082
83 <profiles>
84 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
85 <profile>
86 <id>doclint-java8-disable</id>
87 <activation>
88 <jdk>[1.8,)</jdk>
89 </activation>
90 <build>
91 <plugins>
92 <plugin>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-javadoc-plugin</artifactId>
95 <version>2.10.4</version>
96 <configuration>
97 <additionalparam>-Xdoclint:none</additionalparam>
98 </configuration>
99 </plugin>
100 </plugins>
101 </build>
jimmydot3982f4f2017-05-07 14:58:24 -0400102 </profile>
103 </profiles>
104
105 <build>
106 <finalName>vid</finalName>
107 <plugins>
jimmydotf88fada2017-05-07 19:42:59 -0400108 <plugin>
109 <groupId>org.codehaus.mojo</groupId>
110 <artifactId>versions-maven-plugin</artifactId>
111 <version>1.3.1</version>
112 </plugin>
113 <plugin>
114 <groupId>org.sonatype.plugins</groupId>
115 <artifactId>nexus-staging-maven-plugin</artifactId>
116 <version>1.6.7</version>
117 <extensions>true</extensions>
118 <configuration>
119 <nexusUrl>${nexusproxy}</nexusUrl>
120 <stagingProfileId>176c31dfe190a</stagingProfileId>
121 <serverId>ecomp-staging</serverId>
122 </configuration>
123 </plugin>
124
jimmydot3982f4f2017-05-07 14:58:24 -0400125 <!-- Compile to Java 1.8 class output format -->
126 <plugin>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-compiler-plugin</artifactId>
129 <version>3.1</version>
130 <configuration>
131 <source>1.8</source>
132 <target>1.8</target>
133 </configuration>
134 </plugin>
135
136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-surefire-plugin</artifactId>
139 <version>2.19.1</version>
140 <configuration>
141 <skipTests>${skiptests}</skipTests>
142 <includes>
143 <include>**/Test*.java</include>
144 <include>**/*Test.java</include>
145 <include>**/*TestCase.java</include>
146 </includes>
147 <additionalClasspathElements>
148 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
149 </additionalClasspathElements>
150 <systemPropertyVariables>
151 <container.classpath>classpath:</container.classpath>
152 </systemPropertyVariables>
153 </configuration>
154 </plugin>
155
156 <!-- add version number to manifest -->
157 <plugin>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-war-plugin</artifactId>
160 <version>2.0.2</version>
161 <configuration>
162 <archive>
163 <manifest>
164 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
165 </manifest>
166 <manifestEntries>
167 <Build-Number>${project.version}</Build-Number>
168 <Build-Time>${maven.build.timestamp}</Build-Time>
169 </manifestEntries>
170 </archive>
171 <overlays>
172 <overlay>
173 <groupId>org.openecomp.vid</groupId>
174 <artifactId>vid-app-common</artifactId>
175 </overlay>
176 <overlay>
177 <groupId>org.openecomp.ecompsdkos</groupId>
178 <artifactId>epsdk-app-overlay</artifactId>
179 </overlay>
180 </overlays>
181 </configuration>
182 </plugin>
183
184 <plugin>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-assembly-plugin</artifactId>
187 <version>3.0.0</version>
188 <configuration>
189 <skipAssembly>${skipassembly}</skipAssembly>
190 <descriptors>
191 <descriptor>${basedir}/distribution.xml</descriptor>
192 </descriptors>
193 </configuration>
194 <executions>
195 <execution>
196 <id>make-assembly</id>
197 <phase>package</phase>
198 <goals>
199 <goal>single</goal>
200 </goals>
201 </execution>
202 </executions>
203 </plugin>
jimmydot15eae842017-05-09 11:03:39 -0400204 <plugin>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-site-plugin</artifactId>
207 <version>3.6</version>
208 <dependencies>
209 <dependency>
210 <groupId>org.apache.maven.wagon</groupId>
211 <artifactId>wagon-webdav-jackrabbit</artifactId>
212 <version>2.10</version>
213 </dependency>
214 </dependencies>
215 </plugin>
Ofir Sonsino60fcc812017-09-11 15:21:09 +0300216
217 <plugin>
218 <artifactId>maven-surefire-plugin</artifactId>
219 <version>2.17</version>
220 </plugin>
221 <plugin>
222 <groupId>org.sonarsource.scanner.maven</groupId>
223 <artifactId>sonar-maven-plugin</artifactId>
224 <version>3.2</version>
225 </plugin>
Ofir Sonsino426bc052017-09-24 15:59:14 +0300226 <plugin>
227 <groupId>org.jacoco</groupId>
228 <artifactId>jacoco-maven-plugin</artifactId>
229 <version>0.7.7.201606060606</version>
230 <configuration>
231 <dumpOnExit>true</dumpOnExit>
232 </configuration>
233 <executions>
234 <execution>
235 <id>jacoco-initialize-unit-tests</id>
236 <goals>
237 <goal>prepare-agent</goal>
238 </goals>
239 <configuration>
240 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
241 </configuration>
242 </execution>
243 </executions>
244 </plugin>
jimmydot3982f4f2017-05-07 14:58:24 -0400245 </plugins>
246 </build>
247
jimmydot15eae842017-05-09 11:03:39 -0400248 <reporting>
249 <plugins>
250 <plugin>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-javadoc-plugin</artifactId>
253 <version>2.10.4</version>
254 <configuration>
255 <failOnError>false</failOnError>
256 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
257 <docletArtifact>
258 <groupId>org.umlgraph</groupId>
259 <artifactId>umlgraph</artifactId>
260 <version>5.6</version>
261 </docletArtifact>
262 <additionalparam>-views</additionalparam>
263 <useStandardDocletOptions>true</useStandardDocletOptions>
264 </configuration>
265 </plugin>
266 </plugins>
267 </reporting>
jimmydot3982f4f2017-05-07 14:58:24 -0400268 <dependencies>
269 <!-- SDK overlay war -->
270 <dependency>
271 <groupId>org.openecomp.ecompsdkos</groupId>
272 <artifactId>epsdk-app-overlay</artifactId>
273 <version>${epsdk.version}</version>
274 <type>war</type>
275 </dependency>
276 <dependency>
277 <groupId>org.openecomp.ecompsdkos</groupId>
278 <artifactId>epsdk-app-common</artifactId>
279 <version>${epsdk.version}</version>
280 <type>jar</type>
281 </dependency>
282 <dependency>
283 <groupId>org.openecomp.vid</groupId>
284 <artifactId>vid-app-common</artifactId>
285 <version>${project.version}</version>
286 <type>war</type>
287 </dependency>
288 <dependency>
289 <groupId>org.openecomp.vid</groupId>
290 <artifactId>vid-app-common</artifactId>
291 <version>${project.version}</version>
292 <type>jar</type>
293 <classifier>classes</classifier>
294 </dependency>
295 <!-- SDK components -->
296 <dependency>
297 <groupId>org.openecomp.ecompsdkos</groupId>
298 <artifactId>epsdk-core</artifactId>
299 <version>${epsdk.version}</version>
300 </dependency>
301 <dependency>
302 <groupId>org.openecomp.ecompsdkos</groupId>
303 <artifactId>epsdk-analytics</artifactId>
304 <version>${epsdk.version}</version>
305 </dependency>
306 <dependency>
307 <groupId>org.openecomp.ecompsdkos</groupId>
308 <artifactId>epsdk-workflow</artifactId>
309 <version>${epsdk.version}</version>
310 </dependency>
311 <dependency>
312 <groupId>com.att.eelf</groupId>
313 <artifactId>eelf-core</artifactId>
314 <version>1.0.0</version>
315 </dependency>
316 <dependency>
317 <groupId>org.openecomp.vid</groupId>
318 <artifactId>vid-app-common</artifactId>
319 <version>${version}</version>
320 <type>war</type>
321 </dependency>
322 <dependency>
323 <groupId>org.openecomp.vid</groupId>
324 <artifactId>vid-app-common</artifactId>
325 <version>${version}</version>
326 <type>jar</type>
327 <classifier>classes</classifier>
328 </dependency>
329 <!-- Mapper -->
330 <dependency>
331 <groupId>com.fasterxml.jackson.core</groupId>
332 <artifactId>jackson-annotations</artifactId>
333 <version>2.6.3</version>
334 </dependency>
335 <dependency>
336 <groupId>com.fasterxml.jackson.core</groupId>
337 <artifactId>jackson-core</artifactId>
338 <version>2.6.3</version>
339 </dependency>
340 <dependency>
341 <groupId>com.fasterxml.jackson.core</groupId>
342 <artifactId>jackson-databind</artifactId>
343 <version>2.6.3</version>
344 </dependency>
345 <dependency>
346 <groupId>com.mchange</groupId>
347 <artifactId>c3p0</artifactId>
348 <version>0.9.5.2</version>
349 </dependency>
350 <dependency>
351 <groupId>io.searchbox</groupId>
352 <artifactId>jest</artifactId>
353 <version>2.0.0</version>
354 <exclusions>
355 <exclusion>
356 <groupId>commons-logging</groupId>
357 <artifactId>commons-logging</artifactId>
358 </exclusion>
359 </exclusions>
360 </dependency>
361 <dependency>
362 <groupId>javax.servlet</groupId>
363 <artifactId>javax.servlet-api</artifactId>
364 <version>3.1.0</version>
365 </dependency>
366 <dependency>
367 <groupId>junit</groupId>
368 <artifactId>junit</artifactId>
369 <version>4.12</version>
370 </dependency>
371 <!-- Elastic Search -->
372 <!-- <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId>
373 <version>2.2.0</version> </dependency> -->
374 <dependency>
375 <groupId>org.json</groupId>
376 <artifactId>json</artifactId>
377 <version>20160212</version>
378 </dependency>
379 <dependency>
380 <groupId>org.quartz-scheduler</groupId>
381 <artifactId>quartz</artifactId>
382 <version>2.2.1</version>
383 <exclusions>
384 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
385 <exclusion>
386 <groupId>c3p0</groupId>
387 <artifactId>c3p0</artifactId>
388 </exclusion>
389 </exclusions>
390 </dependency>
391 <!-- bridge to implement commons-logging using slf4j -->
392 <dependency>
393 <groupId>org.slf4j</groupId>
394 <artifactId>jcl-over-slf4j</artifactId>
395 <version>1.7.12</version>
396 </dependency>
397 <dependency>
398 <groupId>org.springframework</groupId>
399 <artifactId>spring-context-support</artifactId>
400 <version>${springframework.version}</version>
401 </dependency>
402 <dependency>
403 <groupId>org.springframework</groupId>
404 <artifactId>spring-core</artifactId>
405 <version>${springframework.version}</version>
406 <exclusions>
407 <exclusion>
408 <groupId>commons-logging</groupId>
409 <artifactId>commons-logging</artifactId>
410 </exclusion>
411 </exclusions>
412 </dependency>
413 <dependency>
414 <groupId>org.springframework</groupId>
415 <artifactId>spring-test</artifactId>
416 <version>${springframework.version}</version>
417 </dependency>
418 <dependency>
419 <groupId>org.springframework</groupId>
420 <artifactId>spring-tx</artifactId>
421 <version>${springframework.version}</version>
422 </dependency>
423 <dependency>
424 <groupId>org.springframework</groupId>
425 <artifactId>spring-web</artifactId>
426 <version>${springframework.version}</version>
427 </dependency>
428 <dependency>
429 <groupId>org.springframework</groupId>
430 <artifactId>spring-webmvc</artifactId>
431 <version>${springframework.version}</version>
432 </dependency>
433 </dependencies>
434</project>