32f4d9e794ab5750b489fce70f851e45d6f23101
[vid.git] / vid / pom.xml
1 <?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</artifactId>
12         <version>1.0.0</version>
13         <packaging>war</packaging>
14         <name>VID Webapp</name>
15         <description>VID Webapp based on the Ecomp SDK</description>
16
17         <properties>
18                 <encoding>UTF-8</encoding>
19                 <epsdk.version>1.0.0</epsdk.version>
20                 <springframework.version>4.2.0.RELEASE</springframework.version>
21                 <hibernate.version>4.3.11.Final</hibernate.version>
22                 <!-- Skip assembling the zip by default -->
23                 <skipassembly>true</skipassembly>
24                 <!-- Tests usually require some setup that maven cannot do, so skip. -->
25                 <skiptests>true</skiptests>
26                 <!--  this should be commented for local debugging -->
27                 <!-- <deployenv>local</deployenv> -->
28         </properties>
29         <repositories>
30                 <repository>
31                         <!-- Snapshots repository has ECOMP snapshot artifacts -->
32                         <id>nexus-snapshots</id>
33                         <name>Nexus Maven Central - Snapshots</name>
34                         <url>https://ecomp-nexus:8443/repository/maven-snapshots/</url>
35                 </repository>
36                 <repository>
37                         <!-- Releases repository has ECOMP release artifacts -->
38                         <id>nexus</id>
39                         <name>Nexus Maven Central - Releases</name>
40                         <url>https://ecomp-nexus:8443/repository/maven-releases/</url>
41                 </repository>
42                 <repository>
43                         <!-- Snapshots repository has ECOMP snapshot artifacts -->
44                         <id>oss-snapshots</id>
45                         <name>oss Central - Snapshots</name>
46                         <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
47                 </repository>
48         </repositories>
49         <profiles>
50                 <!-- disable doclint, a new feature in Java 8, when generating javadoc -->
51                 <profile>
52                         <id>doclint-java8-disable</id>
53                         <activation>
54                                 <jdk>[1.8,)</jdk>
55                         </activation>
56                         <build>
57                         <plugins>
58                                         <!-- license plugin for open source -->
59                             <!-- <plugin>
60                                 <groupId>org.codehaus.mojo</groupId>
61                                 <artifactId>license-maven-plugin</artifactId>
62                                 <version>1.10</version>
63                                 <configuration>
64                                     <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
65                                     <processStartTag>============LICENSE_START=======================================================</processStartTag>
66                                     <processEndTag>============LICENSE_END=========================================================</processEndTag>
67                                     <sectionDelimiter>================================================================================</sectionDelimiter>
68                                     <extraExtensions>
69                                         <js>java</js>
70                                         <sql>java</sql>
71                                     </extraExtensions>
72                                     <licenseName>apache_v2</licenseName>
73                                     <inceptionYear>2017</inceptionYear>
74                                     <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
75                                     <projectName>VID</projectName>
76                                     <canUpdateCopyright>true</canUpdateCopyright>
77                                     <canUpdateDescription>true</canUpdateDescription>
78                                     <canUpdateLicense>true</canUpdateLicense>
79                                     <emptyLineAfterHeader>true</emptyLineAfterHeader>
80                                     <roots>
81                                                 <root>src/main/java</root>
82                                                 <root>src/test/java</root>
83                                                 <root>src/main/webapp/app/vid/scripts</root>
84                                         </roots>
85                                 </configuration>
86                                 <executions>
87                                     <execution>
88                                         <id>first</id>
89                                         <goals>
90                                             <goal>update-file-header</goal>
91                                         </goals>
92                                         <phase>process-sources</phase>
93                                     </execution>
94                                 </executions>
95                             </plugin>-->
96                                         <plugin>
97                                                 <groupId>org.apache.maven.plugins</groupId>
98                                                 <artifactId>maven-javadoc-plugin</artifactId>
99                                                 <version>2.10.4</version>
100                                                 <configuration>
101                                                         <additionalparam>-Xdoclint:none</additionalparam>
102                                                 </configuration>
103                                         </plugin>
104                                 </plugins>
105                         </build>
106                 </profile>
107                 
108                 <profile>
109                         <id>jenkins</id>
110                         <activation>
111                                 <property>
112                                         <name>env.BUILD_NUMBER</name>
113                                 </property>
114                         </activation>
115                         
116                         <build>
117                                 <plugins>
118                                         <plugin>
119                                                 <groupId>org.codehaus.mojo</groupId>
120                                                 <artifactId>cobertura-maven-plugin</artifactId>
121                                                 <version>2.7</version>
122                                                 <configuration>
123                                                         <formats>
124                                                                 <format>xml</format>
125                                                         </formats>
126                                                 </configuration>
127                                                 <executions>
128                                                         <execution>
129                                                                 <phase>package</phase>
130                                                                 <goals>
131                                                                         <goal>cobertura</goal>
132                                                                 </goals>
133                                                         </execution>
134                                                 </executions>
135                                         </plugin>
136                                 </plugins>
137                         </build>
138                 </profile>
139                 
140         </profiles>
141
142         <build>
143                 <finalName>vid</finalName>
144                 <plugins>
145                         <plugin>
146                                 <groupId>org.apache.maven.plugins</groupId>
147                                 <artifactId>maven-deploy-plugin</artifactId>
148                                 <version>2.5</version>
149                                 <configuration>
150                                         <skip>true</skip>
151                                 </configuration>
152                         </plugin>
153                         <plugin>
154                                 <groupId>org.apache.tomcat.maven</groupId>
155                                 <artifactId>tomcat6-maven-plugin</artifactId>
156                                 <version>2.2</version>
157                         </plugin>
158
159                         <plugin>
160                                 <groupId>org.apache.tomcat.maven</groupId>
161                                 <artifactId>tomcat7-maven-plugin</artifactId>
162                                 <version>2.2</version>
163                         </plugin>
164
165                         <!--  Generate POJOs from MSO json schema -->
166                         <plugin>
167                                 <groupId>org.jsonschema2pojo</groupId>
168                                 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
169                                 <version>0.4.23</version>
170                                 <configuration>
171                                         <sourceDirectory>${basedir}/src/main/resources/json/mso</sourceDirectory>
172                                         <targetPackage>org.openecomp.vid.domain.mso</targetPackage>
173                                         <outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
174                                 </configuration>
175                                 <executions>
176                                         <execution>
177                                                 <goals>
178                                                         <goal>generate</goal>
179                                                 </goals>
180                                         </execution>
181                                 </executions>
182                         </plugin>
183
184                         <plugin>
185                                 <groupId>org.apache.maven.plugins</groupId>
186                                 <artifactId>maven-compiler-plugin</artifactId>
187                                 <version>3.1</version>
188                                 <configuration>
189                                         <source>1.8</source>
190                                         <target>1.8</target>
191                                 </configuration>
192                         </plugin>
193
194                         <plugin>
195                                 <groupId>org.apache.maven.plugins</groupId>
196                                 <artifactId>maven-surefire-plugin</artifactId>
197                                 <version>2.19.1</version>
198                                 <configuration>
199                                         <skipTests>${skiptests}</skipTests>
200                                         <includes>
201                                                 <include>**/Test*.java</include>
202                                                 <include>**/*Test.java</include>
203                                                 <include>**/*TestCase.java</include>
204                                         </includes>
205                                         <excludes>
206                                                 <exclude>**/selenium/*.java</exclude>
207                                         </excludes>
208                                         <additionalClasspathElements>
209                                                 <additionalClasspathElement>${basedir}/war</additionalClasspathElement>
210                                         </additionalClasspathElements>
211                                         <systemPropertyVariables>
212                                                 <container.classpath>classpath:</container.classpath>
213                                         </systemPropertyVariables>
214                                 </configuration>
215                         </plugin>
216
217                         <plugin>
218                                 <artifactId>maven-assembly-plugin</artifactId>
219                                 <configuration>
220                                         <skipAssembly>${skipassembly}</skipAssembly>
221                                         <descriptors>
222                                                 <descriptor>${basedir}/distribution.xml</descriptor>
223                                         </descriptors>
224                                 </configuration>
225                                 <executions>
226                                         <execution>
227                                                 <id>make-assembly</id>
228                                                 <phase>package</phase>
229                                                 <goals>
230                                                         <goal>single</goal>
231                                                 </goals>
232                                         </execution>
233                                 </executions>
234                         </plugin>
235                 </plugins>
236         </build>
237
238         <dependencies>
239                 <!-- SDK components -->
240                 <dependency>
241                         <groupId>org.openecomp.ecompsdkos</groupId>
242                         <artifactId>ecompSDK-core</artifactId>
243                         <version>${epsdk.version}</version>
244                 </dependency>
245                 <dependency>
246                         <groupId>org.openecomp.ecompsdkos</groupId>
247                         <artifactId>ecompSDK-analytics</artifactId>
248                         <version>${epsdk.version}</version>
249                 </dependency>
250                 <dependency>
251                         <groupId>org.openecomp.ecompsdkos</groupId>
252                         <artifactId>ecompSDK-workflow</artifactId>
253                         <version>${epsdk.version}</version>
254                 </dependency>
255                 <dependency>
256                         <groupId>com.att.eelf</groupId>
257                         <artifactId>eelf-core</artifactId>
258                         <version>0.0.1</version>
259                 </dependency>
260                 <!-- Mapper -->
261                 <dependency>
262                         <groupId>com.fasterxml.jackson.core</groupId>
263                         <artifactId>jackson-annotations</artifactId>
264                         <version>2.6.3</version>
265                 </dependency>
266                 <dependency>
267                         <groupId>com.fasterxml.jackson.core</groupId>
268                         <artifactId>jackson-core</artifactId>
269                         <version>2.6.3</version>
270                 </dependency>
271                 <dependency>
272                         <groupId>com.fasterxml.jackson.core</groupId>
273                         <artifactId>jackson-databind</artifactId>
274                         <version>2.6.3</version>
275                 </dependency>
276                 <dependency>
277                         <groupId>com.mchange</groupId>
278                         <artifactId>c3p0</artifactId>
279                         <version>0.9.5.2</version>
280                 </dependency>
281                 <dependency>
282                         <groupId>io.searchbox</groupId>
283                         <artifactId>jest</artifactId>
284                         <version>2.0.0</version>
285                         <exclusions>
286                                 <exclusion>
287                                         <groupId>commons-logging</groupId>
288                                         <artifactId>commons-logging</artifactId>
289                                 </exclusion>
290                         </exclusions>
291                 </dependency>
292                 <dependency>
293                         <groupId>javax.servlet</groupId>
294                         <artifactId>javax.servlet-api</artifactId>
295                         <version>3.1.0</version>
296                 </dependency>
297                 <dependency>
298                         <groupId>junit</groupId>
299                         <artifactId>junit</artifactId>
300                         <version>4.12</version>
301                 </dependency>
302                 <!-- Elastic Search -->
303                 <dependency>
304                         <groupId>org.elasticsearch</groupId>
305                         <artifactId>elasticsearch</artifactId>
306                         <version>2.2.0</version>
307                 </dependency>
308                 <dependency>
309                         <groupId>org.json</groupId>
310                         <artifactId>json</artifactId>
311                         <version>20160212</version>
312                 </dependency>
313                 <dependency>
314                         <groupId>org.quartz-scheduler</groupId>
315                         <artifactId>quartz</artifactId>
316                         <version>2.2.1</version>
317                         <exclusions>
318                                 <!-- exclude 0.9.1.1 to avoid dupe of com.mchange:c3p0:0.9.2.1 -->
319                                 <exclusion>
320                                         <groupId>c3p0</groupId>
321                                         <artifactId>c3p0</artifactId>
322                                 </exclusion>
323                         </exclusions>
324                 </dependency>
325                 <!-- bridge to implement commons-logging using slf4j -->
326                 <dependency>
327                         <groupId>org.slf4j</groupId>
328                         <artifactId>jcl-over-slf4j</artifactId>
329                         <version>1.7.12</version>
330                 </dependency>
331                 <dependency>
332                         <groupId>org.springframework</groupId>
333                         <artifactId>spring-context-support</artifactId>
334                         <version>${springframework.version}</version>
335                 </dependency>
336                 <dependency>
337                         <groupId>org.springframework</groupId>
338                         <artifactId>spring-core</artifactId>
339                         <version>${springframework.version}</version>
340                         <exclusions>
341                                 <exclusion>
342                                         <groupId>commons-logging</groupId>
343                                         <artifactId>commons-logging</artifactId>
344                                 </exclusion>
345                         </exclusions>
346                 </dependency>
347                 <dependency>
348                         <groupId>org.springframework</groupId>
349                         <artifactId>spring-test</artifactId>
350                         <version>${springframework.version}</version>
351                 </dependency>
352                 <dependency>
353                         <groupId>org.springframework</groupId>
354                         <artifactId>spring-tx</artifactId>
355                         <version>${springframework.version}</version>
356                 </dependency>
357                 <dependency>
358                         <groupId>org.springframework</groupId>
359                         <artifactId>spring-web</artifactId>
360                         <version>${springframework.version}</version>
361                 </dependency>
362                 <dependency>
363                         <groupId>org.springframework</groupId>
364                         <artifactId>spring-webmvc</artifactId>
365                         <version>${springframework.version}</version>
366                 </dependency> 
367                 <dependency>
368                         <groupId>org.glassfish.jersey.core</groupId>
369                         <artifactId>jersey-client</artifactId>
370                         <version>2.23.1</version>
371                 </dependency>
372                 <dependency>
373                         <groupId>org.glassfish.jersey.connectors</groupId>
374                         <artifactId>jersey-jetty-connector</artifactId>
375                         <version>2.23.1</version>
376                 </dependency>
377                 <dependency>
378                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
379                         <artifactId>jackson-jaxrs-json-provider</artifactId>
380                         <version>2.6.3</version>
381                 </dependency>
382                 <dependency>
383                         <groupId>commons-beanutils</groupId>
384                         <artifactId>commons-beanutils</artifactId>
385                         <version>1.8.3</version>
386                 </dependency>
387                 <dependency>
388                         <groupId>com.googlecode.json-simple</groupId>
389                         <artifactId>json-simple</artifactId>
390                         <version>1.1.1</version>
391                 </dependency>
392                 <dependency>
393                         <groupId>org.seleniumhq.selenium</groupId>
394                         <artifactId>selenium-java</artifactId>
395                         <version>2.53.1</version>
396                         <scope>test</scope>
397                 </dependency>
398                 <dependency>
399                         <groupId>org.seleniumhq.selenium</groupId>
400                         <artifactId>selenium-api</artifactId>
401                         <version>2.53.1</version>
402                         <scope>test</scope>
403                 </dependency>
404                 <dependency>
405                         <groupId>org.testng</groupId>
406                         <artifactId>testng</artifactId>
407                         <version>6.8</version>
408                         <scope>test</scope>
409                 </dependency>
410                 <dependency>
411                         <groupId>org.seleniumhq.selenium</groupId>
412                         <artifactId>selenium-firefox-driver</artifactId>
413                         <version>2.53.1</version>
414                 </dependency>
415                 <dependency>
416                     <groupId>xml-apis</groupId>
417                     <artifactId>xml-apis</artifactId>
418                     <version>1.4.01</version>
419                 </dependency>
420                 <dependency>
421                         <groupId>org.openecomp.vid</groupId>
422                         <artifactId>asdcclient</artifactId>
423                         <version>1.0.2-SNAPSHOT</version>
424                 </dependency>
425                 <dependency>
426                     <groupId>org.mariadb.jdbc</groupId>
427                     <artifactId>mariadb-java-client</artifactId>
428                     <version>1.4.6</version>
429                 </dependency>
430         </dependencies>
431 </project>