blob: 5f1a07dea65aafdaf2fb4f555e08493086806e02 [file] [log] [blame]
jimmydot3982f4f2017-05-07 14:58:24 -04001<?xml version="1.0"?>
2<project
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5 <modelVersion>4.0.0</modelVersion>
6
7 <!-- This is the Maven project object model (POM) file for VID web application
8 based on the ECOMP SDK distribution. This file stands alone; it does not
9 inherit from a parent maven module. -->
10 <groupId>org.openecomp.vid</groupId>
11 <artifactId>vid-app-common</artifactId>
12 <version>1.1.0-SNAPSHOT</version>
13 <packaging>war</packaging>
14 <name>VID Common</name>
15 <description>VID Common code for opensource version</description>
16
17 <properties>
18 <encoding>UTF-8</encoding>
19 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
21 <epsdk.version>1.1.0-SNAPSHOT</epsdk.version>
22 <springframework.version>4.2.0.RELEASE</springframework.version>
23 <hibernate.version>4.3.11.Final</hibernate.version>
24 <!-- Skip assembling the zip by default -->
25 <skipassembly>true</skipassembly>
26 <!-- Tests usually require some setup that maven cannot do, so skip. -->
27 <skiptests>true</skiptests>
28 <nexusproxy>https://nexus.onap.org</nexusproxy>
29 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
30 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
31 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
32 <sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>
33 </properties>
34
35
36 <!-- this should be commented for local debugging -->
37 <!-- <deployenv>local</deployenv> -->
38
39 <repositories>
40 <repository>
41 <id>ecomp-releases</id>
42 <name>VID Release Repository</name>
43 <url>${nexusproxy}${releaseNexusPath}</url>
44 </repository>
45 <repository>
46 <id>ecomp-snapshots</id>
47 <name>VID Snapshot Repository</name>
48 <url>${nexusproxy}${snapshotNexusPath}</url>
49 </repository>
50 <repository>
51 <id>ecomp-staging</id>
52 <name>VID Staging Repository</name>
53 <url>${nexusproxy}${stagingNexusPath}</url>
54 </repository>
55 <repository>
56 <!-- Snapshots repository has ECOMP snapshot artifacts -->
57 <id>oss-snapshots</id>
58 <name>oss Central - Snapshots</name>
59 <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
60 </repository>
61 </repositories>
62
63 <build>
64 <finalName>vid-common</finalName>
65 <plugins>
66 <plugin>
67 <groupId>org.codehaus.mojo</groupId>
68 <artifactId>cobertura-maven-plugin</artifactId>
69 <version>2.7</version>
70 <configuration>
71 <formats>
72 <format>xml</format>
73 </formats>
74 </configuration>
75 <executions>
76 <execution>
77 <phase>package</phase>
78 <goals>
79 <goal>cobertura</goal>
80 </goals>
81 </execution>
82 </executions>
83 </plugin>
84 <plugin>
85 <groupId>org.apache.tomcat.maven</groupId>
86 <artifactId>tomcat6-maven-plugin</artifactId>
87 <version>2.2</version>
88 </plugin>
89 <plugin>
90 <groupId>org.apache.tomcat.maven</groupId>
91 <artifactId>tomcat7-maven-plugin</artifactId>
92 <version>2.2</version>
93 </plugin>
94
95 <!-- Generate POJOs from MSO json schema -->
96 <plugin>
97 <groupId>org.jsonschema2pojo</groupId>
98 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
99 <version>0.4.23</version>
100 <configuration>
101 <sourceDirectory>${basedir}/src/main/resources/json/mso</sourceDirectory>
102 <targetPackage>org.openecomp.vid.domain.mso</targetPackage>
103 <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
104 </configuration>
105 <executions>
106 <execution>
107 <goals>
108 <goal>generate</goal>
109 </goals>
110 </execution>
111 </executions>
112 </plugin>
113
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-compiler-plugin</artifactId>
117 <version>3.1</version>
118 <configuration>
119 <source>1.8</source>
120 <target>1.8</target>
121 </configuration>
122 </plugin>
123
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-surefire-plugin</artifactId>
127 <version>2.19.1</version>
128 <configuration>
129 <skipTests>${skiptests}</skipTests>
130 <includes>
131 <include>**/Test*.java</include>
132 <include>**/*Test.java</include>
133 <include>**/*TestCase.java</include>
134 </includes>
135 <excludes>
136 <exclude>**/selenium/*.java</exclude>
137 </excludes>
138 <additionalClasspathElements>
139 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
140 </additionalClasspathElements>
141 <systemPropertyVariables>
142 <container.classpath>classpath:</container.classpath>
143 </systemPropertyVariables>
144 </configuration>
145 </plugin>
146
147 <plugin>
148 <artifactId>maven-assembly-plugin</artifactId>
149 <configuration>
150 <skipAssembly>${skipassembly}</skipAssembly>
151 <descriptors>
152 <descriptor>${basedir}/distribution.xml</descriptor>
153 </descriptors>
154 </configuration>
155 <executions>
156 <execution>
157 <id>make-assembly</id>
158 <phase>package</phase>
159 <goals>
160 <goal>single</goal>
161 </goals>
162 </execution>
163 </executions>
164 </plugin>
165
166
167 <plugin>
168 <groupId>org.apache.maven.plugins</groupId>
169 <artifactId>maven-war-plugin</artifactId>
170 <version>3.0.0</version>
171 <configuration>
172 <!-- Build a jar with all the Java classes -->
173 <attachClasses>true</attachClasses>
174 <!-- Do not put any jars in the war -->
175 <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
176 </configuration>
177 </plugin>
178
179 </plugins>
180
181
182 </build>
183
184 <dependencies>
185 <!-- SDK overlay war -->
186
187 <dependency>
188 <groupId>org.openecomp.ecompsdkos</groupId>
189 <artifactId>epsdk-app-overlay</artifactId>
190 <version>${epsdk.version}</version>
191 <type>war</type>
192 </dependency>
193 <dependency>
194 <groupId>org.openecomp.ecompsdkos</groupId>
195 <artifactId>epsdk-app-common</artifactId>
196 <version>${epsdk.version}</version>
197 <type>jar</type>
198 </dependency>
199
200 <dependency>
201 <groupId>org.openecomp.ecompsdkos</groupId>
202 <artifactId>epsdk-core</artifactId>
203 <version>${epsdk.version}</version>
204 </dependency>
205 <dependency>
206 <groupId>org.openecomp.ecompsdkos</groupId>
207 <artifactId>epsdk-analytics</artifactId>
208 <version>${epsdk.version}</version>
209 </dependency>
210 <dependency>
211 <groupId>org.openecomp.ecompsdkos</groupId>
212 <artifactId>epsdk-workflow</artifactId>
213 <version>${epsdk.version}</version>
214 </dependency>
215 <dependency>
216 <groupId>com.att.eelf</groupId>
217 <artifactId>eelf-core</artifactId>
218 <version>1.0.0</version>
219 </dependency>
220
221 <!-- Mapper -->
222 <dependency>
223 <groupId>com.fasterxml.jackson.core</groupId>
224 <artifactId>jackson-annotations</artifactId>
225 <version>2.6.3</version>
226 </dependency>
227 <dependency>
228 <groupId>com.fasterxml.jackson.core</groupId>
229 <artifactId>jackson-core</artifactId>
230 <version>2.6.3</version>
231 </dependency>
232 <dependency>
233 <groupId>com.fasterxml.jackson.core</groupId>
234 <artifactId>jackson-databind</artifactId>
235 <version>2.6.3</version>
236 </dependency>
237 <dependency>
238 <groupId>org.codehaus.jackson</groupId>
239 <artifactId>jackson-mapper-asl</artifactId>
240 <version>1.9.13</version>
241 </dependency>
242 <dependency>
243 <groupId>com.mchange</groupId>
244 <artifactId>c3p0</artifactId>
245 <version>0.9.5.2</version>
246 </dependency>
247 <dependency>
248 <groupId>io.searchbox</groupId>
249 <artifactId>jest</artifactId>
250 <version>2.0.0</version>
251 <exclusions>
252 <exclusion>
253 <groupId>commons-logging</groupId>
254 <artifactId>commons-logging</artifactId>
255 </exclusion>
256 </exclusions>
257 </dependency>
258 <dependency>
259 <groupId>javax.servlet</groupId>
260 <artifactId>javax.servlet-api</artifactId>
261 <version>3.1.0</version>
262 <scope>provided</scope>
263 </dependency>
264 <dependency>
265 <groupId>junit</groupId>
266 <artifactId>junit</artifactId>
267 <version>4.12</version>
268 </dependency>
269 <dependency>
270 <groupId>org.json</groupId>
271 <artifactId>json</artifactId>
272 <version>20160212</version>
273 </dependency>
274 <dependency>
275 <groupId>org.quartz-scheduler</groupId>
276 <artifactId>quartz</artifactId>
277 <version>2.2.1</version>
278 <exclusions>
279 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
280 <exclusion>
281 <groupId>c3p0</groupId>
282 <artifactId>c3p0</artifactId>
283 </exclusion>
284 </exclusions>
285 </dependency>
286 <!-- bridge to implement commons-logging using slf4j -->
287 <dependency>
288 <groupId>org.slf4j</groupId>
289 <artifactId>jcl-over-slf4j</artifactId>
290 <version>1.7.12</version>
291 </dependency>
292 <dependency>
293 <groupId>org.springframework</groupId>
294 <artifactId>spring-context-support</artifactId>
295 <version>${springframework.version}</version>
296 </dependency>
297 <dependency>
298 <groupId>org.springframework</groupId>
299 <artifactId>spring-core</artifactId>
300 <version>${springframework.version}</version>
301 <exclusions>
302 <exclusion>
303 <groupId>commons-logging</groupId>
304 <artifactId>commons-logging</artifactId>
305 </exclusion>
306 </exclusions>
307 </dependency>
308 <dependency>
309 <groupId>org.springframework</groupId>
310 <artifactId>spring-test</artifactId>
311 <version>${springframework.version}</version>
312 </dependency>
313 <dependency>
314 <groupId>org.springframework</groupId>
315 <artifactId>spring-tx</artifactId>
316 <version>${springframework.version}</version>
317 </dependency>
318 <dependency>
319 <groupId>org.springframework</groupId>
320 <artifactId>spring-web</artifactId>
321 <version>${springframework.version}</version>
322 </dependency>
323 <dependency>
324 <groupId>org.springframework</groupId>
325 <artifactId>spring-webmvc</artifactId>
326 <version>${springframework.version}</version>
327 </dependency>
328 <dependency>
329 <groupId>org.glassfish.jersey.core</groupId>
330 <artifactId>jersey-client</artifactId>
331 <version>2.23.1</version>
332 </dependency>
333 <dependency>
334 <groupId>org.glassfish.jersey.connectors</groupId>
335 <artifactId>jersey-jetty-connector</artifactId>
336 <version>2.23.1</version>
337 </dependency>
338 <dependency>
339 <groupId>com.fasterxml.jackson.jaxrs</groupId>
340 <artifactId>jackson-jaxrs-json-provider</artifactId>
341 <version>2.6.3</version>
342 </dependency>
343 <dependency>
344 <groupId>commons-beanutils</groupId>
345 <artifactId>commons-beanutils</artifactId>
346 <version>1.9.3</version>
347 </dependency>
348 <dependency>
349 <groupId>com.googlecode.json-simple</groupId>
350 <artifactId>json-simple</artifactId>
351 <version>1.1.1</version>
352 </dependency>
353 <dependency>
354 <groupId>org.seleniumhq.selenium</groupId>
355 <artifactId>selenium-java</artifactId>
356 <version>2.53.1</version>
357 <scope>test</scope>
358 </dependency>
359 <dependency>
360 <groupId>org.seleniumhq.selenium</groupId>
361 <artifactId>selenium-api</artifactId>
362 <version>2.53.1</version>
363 <scope>test</scope>
364 </dependency>
365 <dependency>
366 <groupId>org.testng</groupId>
367 <artifactId>testng</artifactId>
368 <version>6.8</version>
369 <scope>test</scope>
370 </dependency>
371 <dependency>
372 <groupId>org.seleniumhq.selenium</groupId>
373 <artifactId>selenium-firefox-driver</artifactId>
374 <version>2.53.1</version>
375 </dependency>
376 <dependency>
377 <groupId>xml-apis</groupId>
378 <artifactId>xml-apis</artifactId>
379 <version>1.4.01</version>
380 </dependency>
381 <dependency>
382 <groupId>org.mariadb.jdbc</groupId>
383 <artifactId>mariadb-java-client</artifactId>
384 <version>1.4.6</version>
385 </dependency>
386 <dependency>
387 <groupId>org.yaml</groupId>
388 <artifactId>snakeyaml</artifactId>
389 <version>1.16</version>
390 </dependency>
391 </dependencies>
392</project>