Upgraded servlet-api version to 3.0.1
[sdc.git] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4
5     <groupId>org.openecomp.sdc</groupId>
6     <artifactId>sdc-main</artifactId>
7     <version>1.3.0-SNAPSHOT</version>
8     <packaging>pom</packaging>
9     <name>sdc</name>
10     <properties>
11
12         <maven.compiler.source>1.8</maven.compiler.source>
13         <maven.compiler.target>1.8</maven.compiler.target>
14
15         <!-- ==================== -->
16         <!-- Generic properties -->
17         <!-- ==================== -->
18         <build.type>-SNAPSHOT</build.type>
19         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20         <sprint.number>74</sprint.number>
21
22         <!-- 3rd parties versions -->
23         <lang3.version>3.3.2</lang3.version>
24         <guava.version>18.0</guava.version>
25         <titan.version>1.0.0</titan.version>
26         <sdc.titan.version>1.2.0</sdc.titan.version>
27         <spring-boot.version>1.1.6.RELEASE</spring-boot.version>
28         <spring.version>4.3.15.RELEASE</spring.version>
29         <spring.security.version>3.2.3.RELEASE</spring.security.version>
30         <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
31         <jersey-bom.version>2.26</jersey-bom.version>
32         <servlet-api.version>3.0.1</servlet-api.version>
33         <wire-mock.version>2.11.0</wire-mock.version>
34
35         <artifact-generator-api.version>${project.version}</artifact-generator-api.version>
36         <artifact-generator-core.version>${project.version}</artifact-generator-core.version>
37         <ecomp.version>1.1.0</ecomp.version>
38         <dox-common-lib.version>${project.version}</dox-common-lib.version>
39
40         <!-- Elastic Search mapper (reference the elastic search version actually). -->
41         <elastic-search.version>2.4.0</elastic-search.version>
42         <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
43         <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
44         <jetty.version>9.2.22.v20170606</jetty.version>
45
46         <!-- JSON and YAML Parsing -->
47         <jackson.version>2.9.4</jackson.version>
48         <jackson.yaml.version>2.9.4</jackson.yaml.version>
49         <jackson.annotations.version>2.9.4</jackson.annotations.version>
50
51         <!-- Yaml for properties -->
52         <snakeyaml.version>1.14</snakeyaml.version>
53         <functionaljava.version>4.4</functionaljava.version>
54         <httpclient.version>4.5.3</httpclient.version>
55         <httpcore.version>4.4.1</httpcore.version>
56         <json-simple.version>1.1</json-simple.version>
57
58         <!-- Logging start -->
59         <!-- logback -->
60         <logback.version>1.2.3</logback.version>
61         <slf4j-api.version>1.7.10</slf4j-api.version>
62         <commons-codec>1.10</commons-codec>
63         <commons-logging>1.2</commons-logging>
64         <groovy.version>2.4.13</groovy.version>
65         <janino.version>3.0.6</janino.version>
66
67         <!-- aspects -->
68         <jcabi.version>0.20.1</jcabi.version>
69         <aspectjrt.version>1.8.4</aspectjrt.version>
70         <aspectj.version>1.7.4</aspectj.version>
71         <jcabi.plugin.version>0.13.2</jcabi.plugin.version>
72
73         <!-- Logging end -->
74         <!-- System Metrics -->
75         <sigar.version>1.6.4</sigar.version>
76
77         <regex.version>3.0.3</regex.version>
78
79         <!--GSON-->
80         <gson.version>2.3.1</gson.version>
81
82         <!--listen to file changes-->
83         <commons-jci-core.version>1.1</commons-jci-core.version>
84
85         <!--TESTING-->
86         <mockito.version>2.12.0</mockito.version>
87                 <jmockit.version>1.33</jmockit.version>
88         <junit.version>4.12</junit.version>
89         <assertj.version>3.8.0</assertj.version>
90         <testng.version>6.9.10</testng.version>
91         <extentreports.version>3.0.3</extentreports.version>
92         <cucumber.version>2.3.1</cucumber.version>
93
94         <!-- parser-->
95         <sdc-tosca-parser.version>1.2.3-SNAPSHOT</sdc-tosca-parser.version>
96
97         <!--JaCoCO -->
98         <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
99         <sonar.language>java</sonar.language>
100         <!-- Sonar properties -->
101         <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
102         <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
103         <sonar.branch>${project.version}</sonar.branch>
104
105         <!--cassandra -->
106         <cassandra.driver.version>3.0.0</cassandra.driver.version>
107         <!-- maven central (Nexus) -->
108         <nexus.id.release>nexus</nexus.id.release>
109         <nexus.id.snapshot>nexus</nexus.id.snapshot>
110
111         <!--nexus-->
112         <nexus.proxy>https://nexus.onap.org</nexus.proxy>
113         <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
114         <staging.profile.id>176c31dfe190a</staging.profile.id>
115         <!--maven-->
116         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
117         <!--io.fabric8-->
118         <fabric8.version>0.23.0</fabric8.version>
119         <!--docker tags-->
120         <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
121         <!--<docker.latest.tag>${project.version}-latest</docker.latest.tag>-->
122
123     </properties>
124
125     <dependencyManagement>
126         <dependencies>
127             <dependency>
128                 <groupId>org.glassfish.jersey.ext</groupId>
129                 <artifactId>jersey-bean-validation</artifactId>
130                 <version>${jersey-bom.version}</version>
131             </dependency>
132
133             <dependency>
134                 <groupId>org.glassfish.hk2.external</groupId>
135                 <artifactId>asm-all-repackaged</artifactId>
136                 <version>2.4.0</version>
137             </dependency>
138
139             <dependency>
140                 <groupId>org.assertj</groupId>
141                 <artifactId>assertj-core</artifactId>
142                 <version>${assertj.version}</version>
143             </dependency>
144
145             <dependency>
146                 <groupId>org.mockito</groupId>
147                 <artifactId>mockito-core</artifactId>
148                 <version>${mockito.version}</version>
149             </dependency>
150             
151                         <dependency>
152                         <groupId>org.jmockit</groupId>
153                                 <artifactId>jmockit</artifactId>
154                                 <version>${jmockit.version}</version>
155                         </dependency>
156                         
157
158             <dependency>
159                 <groupId>com.github.tomakehurst</groupId>
160                 <artifactId>wiremock</artifactId>
161                 <version>${wire-mock.version}</version>
162             </dependency>
163
164             <dependency>
165                 <groupId>io.cucumber</groupId>
166                 <artifactId>cucumber-java</artifactId>
167                 <version>${cucumber.version}</version>
168             </dependency>
169
170             <dependency>
171                 <groupId>io.cucumber</groupId>
172                 <artifactId>cucumber-junit</artifactId>
173                 <version>${cucumber.version}</version>
174             </dependency>
175         </dependencies>
176     </dependencyManagement>
177
178     <reporting>
179         <plugins>
180             <plugin>
181                 <groupId>org.apache.maven.plugins</groupId>
182                 <artifactId>maven-javadoc-plugin</artifactId>
183                 <version>3.0.0-M1</version>
184                 <configuration>
185                     <failOnError>false</failOnError>
186                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
187                     <docletArtifact>
188                         <groupId>org.umlgraph</groupId>
189                         <artifactId>umlgraph</artifactId>
190                         <version>5.6</version>
191                     </docletArtifact>
192                     <additionalparam>-views</additionalparam>
193                     <useStandardDocletOptions>true</useStandardDocletOptions>
194                 </configuration>
195             </plugin>
196         </plugins>
197     </reporting>
198
199     <build>
200         <pluginManagement>
201             <plugins>
202
203                 <plugin>
204                     <groupId>org.apache.maven.plugins</groupId>
205                     <artifactId>maven-site-plugin</artifactId>
206                     <version>3.4</version>
207                     <dependencies>
208                         <dependency>
209                             <groupId>org.apache.maven.wagon</groupId>
210                             <artifactId>wagon-webdav-jackrabbit</artifactId>
211                             <version>2.10</version>
212                         </dependency>
213                     </dependencies>
214                 </plugin>
215
216
217                 <plugin>
218                     <groupId>org.apache.maven.plugins</groupId>
219                     <artifactId>maven-assembly-plugin</artifactId>
220                     <version>3.1.0</version>
221                 </plugin>
222
223                 <plugin>
224                     <groupId>org.codehaus.mojo</groupId>
225                     <artifactId>exec-maven-plugin</artifactId>
226                     <version>1.4.0</version>
227                 </plugin>
228                 <plugin>
229                     <groupId>org.sonarsource.scanner.maven</groupId>
230                     <artifactId>sonar-maven-plugin</artifactId>
231                     <version>3.0.2</version>
232                 </plugin>
233             </plugins>
234         </pluginManagement>
235
236         <plugins>
237
238             <!-- Staging Plugin -->
239             <plugin>
240                 <groupId>org.sonatype.plugins</groupId>
241                 <artifactId>nexus-staging-maven-plugin</artifactId>
242                 <version>1.6.7</version>
243                 <extensions>true</extensions>
244                 <configuration>
245                     <nexusUrl>${nexus.proxy}</nexusUrl>
246                     <stagingProfileId>${staging.profile.id}</stagingProfileId>
247                     <serverId>ecomp-staging</serverId>
248                 </configuration>
249             </plugin>
250
251             <plugin>
252                 <artifactId>maven-surefire-plugin</artifactId>
253                 <version>2.19.1</version>
254                 <configuration>
255                     <systemPropertyVariables>
256                         <logback.configurationFile>src/test/resources/logback-test.xml</logback.configurationFile>
257                     </systemPropertyVariables>
258                 </configuration>
259             </plugin>
260             <!-- plugin for parsing the project version -->
261             <plugin>
262                 <groupId>org.codehaus.mojo</groupId>
263                 <artifactId>build-helper-maven-plugin</artifactId>
264                 <version>1.8</version>
265                 <executions>
266                     <execution>
267                         <id>parse-version</id>
268                         <goals>
269                             <goal>parse-version</goal>
270                         </goals>
271                     </execution>
272                 </executions>
273             </plugin>
274
275             <!-- Java Code Coverage -->
276             <plugin>
277                 <groupId>org.jacoco</groupId>
278                 <artifactId>jacoco-maven-plugin</artifactId>
279                 <version>0.7.9</version>
280                 <executions>
281                     <execution>
282                         <id>default-prepare-agent</id>
283                         <goals>
284                             <goal>prepare-agent</goal>
285                         </goals>
286                     </execution>
287                     <execution>
288                         <id>default-report</id>
289                         <goals>
290                             <goal>report</goal>
291                         </goals>
292                     </execution>
293                 </executions>
294             </plugin>
295
296             <plugin>
297                 <groupId>org.apache.maven.plugins</groupId>
298                 <artifactId>maven-site-plugin</artifactId>
299                 <dependencies>
300                     <dependency>
301                         <groupId>org.apache.maven.wagon</groupId>
302                         <artifactId>wagon-webdav-jackrabbit</artifactId>
303                         <version>2.10</version>
304                     </dependency>
305                 </dependencies>
306             </plugin>
307
308             <!-- Set the deployment repositories properties. -->
309             <plugin>
310                 <groupId>org.codehaus.gmaven</groupId>
311                 <artifactId>gmaven-plugin</artifactId>
312                 <version>1.4</version>
313                 <executions>
314                     <execution>
315                         <inherited>false</inherited>
316                         <phase>integration-test</phase>
317                         <goals>
318                             <goal>execute</goal>
319                         </goals>
320                         <configuration>
321                             <source>
322                                 pom.properties['deploy.url'] =
323                                         pom.version.contains('-SNAPSHOT') ?
324                                                 project.distributionManagement.snapshotRepository.url :
325                                                 project.distributionManagement.repository.url;
326                                 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
327                                         project.distributionManagement.snapshotRepository.id :
328                                         project.distributionManagement.repository.id;
329                             </source>
330                         </configuration>
331                     </execution>
332                 </executions>
333             </plugin>
334
335             <!-- license plugin -->
336             <plugin>
337                 <groupId>org.codehaus.mojo</groupId>
338                 <artifactId>license-maven-plugin</artifactId>
339                 <version>1.10</version>
340                 <configuration>
341                     <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
342                     <processStartTag>============LICENSE_START=======================================================</processStartTag>
343                     <processEndTag>============LICENSE_END=========================================================</processEndTag>
344                     <sectionDelimiter>================================================================================</sectionDelimiter>
345                     <licenseName>apache_v2</licenseName>
346                     <inceptionYear>2017</inceptionYear>
347                     <organizationName>AT&amp;T Intellectual Property. All rights
348                         reserved.
349                     </organizationName>
350                     <projectName>SDC</projectName>
351                     <canUpdateCopyright>true</canUpdateCopyright>
352                     <canUpdateDescription>true</canUpdateDescription>
353                     <canUpdateLicense>true</canUpdateLicense>
354                     <emptyLineAfterHeader>true</emptyLineAfterHeader>
355                     <verbose>false</verbose>
356                     <includes>
357                         <include>**/*.java</include>
358                         <include>**/*.ts</include>
359                     </includes>
360                     <excludes>
361                         <exclude>**/*.d.ts</exclude>
362                     </excludes>
363                     <roots>
364                         <root>src</root>
365                         <root>app</root>
366                         <root>server-mock</root>
367                         <root>typings</root>
368                     </roots>
369                     <extraExtensions>
370                         <ts>java</ts>
371                     </extraExtensions>
372                 </configuration>
373                 <executions>
374                     <execution>
375                         <id>first</id>
376                         <goals>
377                             <goal>update-file-header</goal>
378                         </goals>
379                         <!--phase>process-sources</phase -->
380                     </execution>
381                 </executions>
382             </plugin>
383         </plugins>
384     </build>
385
386     <profiles>
387         <profile>
388             <id>all</id>
389             <activation>
390                 <activeByDefault>true</activeByDefault>
391             </activation>
392             <modules>
393                 <module>build-tools</module>
394                 <module>security-utils</module>
395                 <module>common-app-api</module>
396                 <module>onboarding</module>
397                 <module>services/activity-spec</module>
398                 <module>common-be</module>
399                 <module>catalog-dao</module>
400                 <module>catalog-model</module>
401                 <module>catalog-be</module>
402                 <module>asdctool</module>
403                 <module>catalog-ui</module>
404                 <module>catalog-fe</module>
405                 <module>test-apis-ci</module>
406                 <module>ui-ci</module>
407                 <module>sdc-os-chef</module>
408                 <module>utils/webseal-simulator</module>
409             </modules>
410
411         </profile>
412
413         <profile>
414             <id>catalog</id>
415             <activation>
416                 <activeByDefault>false</activeByDefault>
417             </activation>
418             <modules>
419                 <module>security-utils</module>
420                 <module>common-app-api</module>
421                 <module>common-be</module>
422                 <module>catalog-dao</module>
423                 <module>catalog-model</module>
424                 <module>catalog-be</module>
425                 <module>asdctool</module>
426                 <module>catalog-ui</module>
427                 <module>catalog-fe</module>
428                 <module>test-apis-ci</module>
429                 <module>ui-ci</module>
430             </modules>
431
432             <properties>
433                 <ecomp.version>1.2.7</ecomp.version>
434                 <artifact-generator-api.version>1802.0.1.167</artifact-generator-api.version>
435                 <artifact-generator-core.version>1802.0.1.167</artifact-generator-core.version>
436                 <dox-common-lib.version>1802.0.1.167</dox-common-lib.version>
437                 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
438             </properties>
439         </profile>
440
441         <profile>
442             <id>onboarding</id>
443             <activation>
444                 <activeByDefault>false</activeByDefault>
445             </activation>
446             <modules>
447                 <module>build-tools</module>
448                 <module>onboarding</module>
449             </modules>
450         </profile>
451
452     </profiles>
453
454     <repositories>
455         <!-- LF repositories -->
456         <repository>
457             <id>ecomp-releases</id>
458             <name>Release Repository</name>
459             <url>${nexus.proxy}/content/repositories/releases/</url>
460         </repository>
461         <repository>
462             <id>ecomp-snapshots</id>
463             <name>Snapshots Repository</name>
464             <url>${nexus.proxy}/content/repositories/snapshots/</url>
465         </repository>
466         <repository>
467             <id>ecomp-public</id>
468             <name>Public Repository</name>
469             <url>${nexus.proxy}/content/repositories/public/</url>
470         </repository>
471         <!-- LF repositories END-->
472     </repositories>
473
474     <distributionManagement>
475         <repository>
476             <id>ecomp-releases</id>
477             <name>Release Repository</name>
478             <url>${nexus.proxy}/content/repositories/releases/</url>
479         </repository>
480         <snapshotRepository>
481             <id>ecomp-snapshots</id>
482             <name>Snapshot Repository</name>
483             <url>${nexus.proxy}/content/repositories/snapshots/</url>
484         </snapshotRepository>
485         <site>
486             <id>ecomp-site</id>
487             <url>dav:${nexus.proxy}${sitePath}</url>
488         </site>
489     </distributionManagement>
490 </project>