blob: bb0f0399332b58587e505adf6fdab667436b68cb [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>
32 </properties>
33
jimmydot15eae842017-05-09 11:03:39 -040034 <repositories>
35 <repository>
36 <id>ecomp-releases</id>
37 <name>VID Release Repository</name>
38 <url>${nexusproxy}${releaseNexusPath}</url>
39 </repository>
40 <repository>
41 <id>ecomp-snapshots</id>
42 <name>VID Snapshot Repository</name>
43 <url>${nexusproxy}${snapshotNexusPath}</url>
44 </repository>
45 <repository>
46 <id>ecomp-staging</id>
47 <name>VID Staging Repository</name>
48 <url>${nexusproxy}${stagingNexusPath}</url>
49 </repository>
50 <repository>
51 <!-- Snapshots repository has ECOMP snapshot artifacts -->
52 <id>oss-snapshots</id>
53 <name>oss Central - Snapshots</name>
54 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
55 </repository>
56 </repositories>
57 <distributionManagement>
58 <repository>
59 <id>ecomp-releases</id>
60 <name>VID Release Repository</name>
61 <url>${nexusproxy}/${releaseNexusPath}</url>
62 </repository>
63 <snapshotRepository>
64 <id>ecomp-snapshots</id>
65 <name>VID Snapshot Repository</name>
66 <url>${nexusproxy}/${snapshotNexusPath}</url>
67 </snapshotRepository>
68 <!-- added for javadoc -->
69 <site>
70 <id>ecomp-site</id>
71 <url>dav:${nexusproxy}${sitePath}</url>
72 </site>
73 </distributionManagement>
jimmydot97bd2522017-05-08 08:38:14 -040074
75 <profiles>
76 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
77 <profile>
78 <id>doclint-java8-disable</id>
79 <activation>
80 <jdk>[1.8,)</jdk>
81 </activation>
82 <build>
83 <plugins>
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-javadoc-plugin</artifactId>
87 <version>2.10.4</version>
88 <configuration>
89 <additionalparam>-Xdoclint:none</additionalparam>
90 </configuration>
91 </plugin>
92 </plugins>
93 </build>
jimmydot3982f4f2017-05-07 14:58:24 -040094 </profile>
95 </profiles>
96
97 <build>
98 <finalName>vid</finalName>
99 <plugins>
jimmydotf88fada2017-05-07 19:42:59 -0400100 <plugin>
101 <groupId>org.codehaus.mojo</groupId>
102 <artifactId>versions-maven-plugin</artifactId>
103 <version>1.3.1</version>
104 </plugin>
105 <plugin>
106 <groupId>org.sonatype.plugins</groupId>
107 <artifactId>nexus-staging-maven-plugin</artifactId>
108 <version>1.6.7</version>
109 <extensions>true</extensions>
110 <configuration>
111 <nexusUrl>${nexusproxy}</nexusUrl>
112 <stagingProfileId>176c31dfe190a</stagingProfileId>
113 <serverId>ecomp-staging</serverId>
114 </configuration>
115 </plugin>
116
jimmydot3982f4f2017-05-07 14:58:24 -0400117 <!-- Compile to Java 1.8 class output format -->
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-compiler-plugin</artifactId>
121 <version>3.1</version>
122 <configuration>
123 <source>1.8</source>
124 <target>1.8</target>
125 </configuration>
126 </plugin>
127
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-surefire-plugin</artifactId>
131 <version>2.19.1</version>
132 <configuration>
133 <skipTests>${skiptests}</skipTests>
134 <includes>
135 <include>**/Test*.java</include>
136 <include>**/*Test.java</include>
137 <include>**/*TestCase.java</include>
138 </includes>
139 <additionalClasspathElements>
140 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
141 </additionalClasspathElements>
142 <systemPropertyVariables>
143 <container.classpath>classpath:</container.classpath>
144 </systemPropertyVariables>
145 </configuration>
146 </plugin>
147
148 <!-- add version number to manifest -->
149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-war-plugin</artifactId>
152 <version>2.0.2</version>
153 <configuration>
154 <archive>
155 <manifest>
156 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
157 </manifest>
158 <manifestEntries>
159 <Build-Number>${project.version}</Build-Number>
160 <Build-Time>${maven.build.timestamp}</Build-Time>
161 </manifestEntries>
162 </archive>
163 <overlays>
164 <overlay>
165 <groupId>org.openecomp.vid</groupId>
166 <artifactId>vid-app-common</artifactId>
167 </overlay>
168 <overlay>
169 <groupId>org.openecomp.ecompsdkos</groupId>
170 <artifactId>epsdk-app-overlay</artifactId>
171 </overlay>
172 </overlays>
173 </configuration>
174 </plugin>
175
176 <plugin>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-assembly-plugin</artifactId>
179 <version>3.0.0</version>
180 <configuration>
181 <skipAssembly>${skipassembly}</skipAssembly>
182 <descriptors>
183 <descriptor>${basedir}/distribution.xml</descriptor>
184 </descriptors>
185 </configuration>
186 <executions>
187 <execution>
188 <id>make-assembly</id>
189 <phase>package</phase>
190 <goals>
191 <goal>single</goal>
192 </goals>
193 </execution>
194 </executions>
195 </plugin>
jimmydot15eae842017-05-09 11:03:39 -0400196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-site-plugin</artifactId>
199 <version>3.6</version>
200 <dependencies>
201 <dependency>
202 <groupId>org.apache.maven.wagon</groupId>
203 <artifactId>wagon-webdav-jackrabbit</artifactId>
204 <version>2.10</version>
205 </dependency>
206 </dependencies>
207 </plugin>
jimmydot3982f4f2017-05-07 14:58:24 -0400208 </plugins>
209 </build>
210
jimmydot15eae842017-05-09 11:03:39 -0400211 <reporting>
212 <plugins>
213 <plugin>
214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-javadoc-plugin</artifactId>
216 <version>2.10.4</version>
217 <configuration>
218 <failOnError>false</failOnError>
219 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
220 <docletArtifact>
221 <groupId>org.umlgraph</groupId>
222 <artifactId>umlgraph</artifactId>
223 <version>5.6</version>
224 </docletArtifact>
225 <additionalparam>-views</additionalparam>
226 <useStandardDocletOptions>true</useStandardDocletOptions>
227 </configuration>
228 </plugin>
229 </plugins>
230 </reporting>
jimmydot3982f4f2017-05-07 14:58:24 -0400231 <dependencies>
232 <!-- SDK overlay war -->
233 <dependency>
234 <groupId>org.openecomp.ecompsdkos</groupId>
235 <artifactId>epsdk-app-overlay</artifactId>
236 <version>${epsdk.version}</version>
237 <type>war</type>
238 </dependency>
239 <dependency>
240 <groupId>org.openecomp.ecompsdkos</groupId>
241 <artifactId>epsdk-app-common</artifactId>
242 <version>${epsdk.version}</version>
243 <type>jar</type>
244 </dependency>
245 <dependency>
246 <groupId>org.openecomp.vid</groupId>
247 <artifactId>vid-app-common</artifactId>
248 <version>${project.version}</version>
249 <type>war</type>
250 </dependency>
251 <dependency>
252 <groupId>org.openecomp.vid</groupId>
253 <artifactId>vid-app-common</artifactId>
254 <version>${project.version}</version>
255 <type>jar</type>
256 <classifier>classes</classifier>
257 </dependency>
258 <!-- SDK components -->
259 <dependency>
260 <groupId>org.openecomp.ecompsdkos</groupId>
261 <artifactId>epsdk-core</artifactId>
262 <version>${epsdk.version}</version>
263 </dependency>
264 <dependency>
265 <groupId>org.openecomp.ecompsdkos</groupId>
266 <artifactId>epsdk-analytics</artifactId>
267 <version>${epsdk.version}</version>
268 </dependency>
269 <dependency>
270 <groupId>org.openecomp.ecompsdkos</groupId>
271 <artifactId>epsdk-workflow</artifactId>
272 <version>${epsdk.version}</version>
273 </dependency>
274 <dependency>
275 <groupId>com.att.eelf</groupId>
276 <artifactId>eelf-core</artifactId>
277 <version>1.0.0</version>
278 </dependency>
279 <dependency>
280 <groupId>org.openecomp.vid</groupId>
281 <artifactId>vid-app-common</artifactId>
282 <version>${version}</version>
283 <type>war</type>
284 </dependency>
285 <dependency>
286 <groupId>org.openecomp.vid</groupId>
287 <artifactId>vid-app-common</artifactId>
288 <version>${version}</version>
289 <type>jar</type>
290 <classifier>classes</classifier>
291 </dependency>
292 <!-- Mapper -->
293 <dependency>
294 <groupId>com.fasterxml.jackson.core</groupId>
295 <artifactId>jackson-annotations</artifactId>
296 <version>2.6.3</version>
297 </dependency>
298 <dependency>
299 <groupId>com.fasterxml.jackson.core</groupId>
300 <artifactId>jackson-core</artifactId>
301 <version>2.6.3</version>
302 </dependency>
303 <dependency>
304 <groupId>com.fasterxml.jackson.core</groupId>
305 <artifactId>jackson-databind</artifactId>
306 <version>2.6.3</version>
307 </dependency>
308 <dependency>
309 <groupId>com.mchange</groupId>
310 <artifactId>c3p0</artifactId>
311 <version>0.9.5.2</version>
312 </dependency>
313 <dependency>
314 <groupId>io.searchbox</groupId>
315 <artifactId>jest</artifactId>
316 <version>2.0.0</version>
317 <exclusions>
318 <exclusion>
319 <groupId>commons-logging</groupId>
320 <artifactId>commons-logging</artifactId>
321 </exclusion>
322 </exclusions>
323 </dependency>
324 <dependency>
325 <groupId>javax.servlet</groupId>
326 <artifactId>javax.servlet-api</artifactId>
327 <version>3.1.0</version>
328 </dependency>
329 <dependency>
330 <groupId>junit</groupId>
331 <artifactId>junit</artifactId>
332 <version>4.12</version>
333 </dependency>
334 <!-- Elastic Search -->
335 <!-- <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId>
336 <version>2.2.0</version> </dependency> -->
337 <dependency>
338 <groupId>org.json</groupId>
339 <artifactId>json</artifactId>
340 <version>20160212</version>
341 </dependency>
342 <dependency>
343 <groupId>org.quartz-scheduler</groupId>
344 <artifactId>quartz</artifactId>
345 <version>2.2.1</version>
346 <exclusions>
347 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
348 <exclusion>
349 <groupId>c3p0</groupId>
350 <artifactId>c3p0</artifactId>
351 </exclusion>
352 </exclusions>
353 </dependency>
354 <!-- bridge to implement commons-logging using slf4j -->
355 <dependency>
356 <groupId>org.slf4j</groupId>
357 <artifactId>jcl-over-slf4j</artifactId>
358 <version>1.7.12</version>
359 </dependency>
360 <dependency>
361 <groupId>org.springframework</groupId>
362 <artifactId>spring-context-support</artifactId>
363 <version>${springframework.version}</version>
364 </dependency>
365 <dependency>
366 <groupId>org.springframework</groupId>
367 <artifactId>spring-core</artifactId>
368 <version>${springframework.version}</version>
369 <exclusions>
370 <exclusion>
371 <groupId>commons-logging</groupId>
372 <artifactId>commons-logging</artifactId>
373 </exclusion>
374 </exclusions>
375 </dependency>
376 <dependency>
377 <groupId>org.springframework</groupId>
378 <artifactId>spring-test</artifactId>
379 <version>${springframework.version}</version>
380 </dependency>
381 <dependency>
382 <groupId>org.springframework</groupId>
383 <artifactId>spring-tx</artifactId>
384 <version>${springframework.version}</version>
385 </dependency>
386 <dependency>
387 <groupId>org.springframework</groupId>
388 <artifactId>spring-web</artifactId>
389 <version>${springframework.version}</version>
390 </dependency>
391 <dependency>
392 <groupId>org.springframework</groupId>
393 <artifactId>spring-webmvc</artifactId>
394 <version>${springframework.version}</version>
395 </dependency>
396 </dependencies>
397</project>