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