Upgrade netty
[sdc.git] / pom.xml
1 <!--
2 ============LICENSE_START=======================================================
3 SDC
4 ================================================================================
5 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10         *
11      http://www.apache.org/licenses/LICENSE-2.0
12         *
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
19 Modifications copyright (c) 2018 Nokia
20 ================================================================================
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25
26     <groupId>org.openecomp.sdc</groupId>
27     <artifactId>sdc-main</artifactId>
28     <version>1.5.0-SNAPSHOT</version>
29     <packaging>pom</packaging>
30     <name>sdc</name>
31     <properties>
32         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
33
34         <tosca.datatype.version>1.3.2-SNAPSHOT</tosca.datatype.version>
35
36         <!-- 3rd parties versions -->
37         <bean-matcher.version>0.11</bean-matcher.version>
38         <lang3.version>3.3.2</lang3.version>
39         <lang3.version>3.3.2</lang3.version>
40         <guava.version>18.0</guava.version>
41         <janusgraph.version>0.3.1</janusgraph.version>
42         <spring.version>4.3.18.RELEASE</spring.version>
43         <spring.security.version>3.2.3.RELEASE</spring.security.version>
44         <spring.ldap.version>2.0.1.RELEASE</spring.ldap.version>
45         <jersey-bom.version>2.27</jersey-bom.version>
46         <netty.version>4.1.36.Final</netty.version>
47         <servlet-api.version>3.1.0</servlet-api.version>
48         <wire-mock.version>2.18.0</wire-mock.version>
49         <ecomp.version>2.4.0</ecomp.version>
50         <cassandra.unit.version>3.5.0.1</cassandra.unit.version>
51         <lombok.version>1.18.2</lombok.version>
52         <commons-beanutils>1.9.3</commons-beanutils>
53         <commons-configuration>2.3</commons-configuration>
54         <apache-poi.version>4.1.0</apache-poi.version>
55
56         <commons.collections.version>4.1</commons.collections.version>
57
58         <!-- Elastic Search mapper (reference the elastic search version actually). -->
59         <elastic-search.version>2.4.0</elastic-search.version>
60         <catalog-artifacts.version>1.0.0-SNAPSHOT</catalog-artifacts.version>
61         <catalog-builders.version>1.0.0-SNAPSHOT</catalog-builders.version>
62         <jetty.version>9.4.11.v20180605</jetty.version>
63
64         <!-- JSON and YAML Parsing -->
65         <jackson.version>2.8.10</jackson.version>
66         <jackson-annotations.version>2.8.0</jackson-annotations.version>
67         <jackson.mapper.version>1.9.13</jackson.mapper.version>
68
69         <!-- Yaml for properties -->
70         <snakeyaml.version>1.14</snakeyaml.version>
71         <functionaljava.version>4.7</functionaljava.version>
72         <httpclient.version>4.5.3</httpclient.version>
73         <httpcore.version>4.4.1</httpcore.version>
74         <json-simple.version>1.1</json-simple.version>
75
76         <!-- Logging start -->
77         <!-- logback -->
78         <logback.version>1.2.3</logback.version>
79         <slf4j-api.version>1.7.25</slf4j-api.version>
80         <commons-codec>1.10</commons-codec>
81         <commons-logging>1.2</commons-logging>
82         <janino.version>3.0.6</janino.version>
83
84         <!-- aspects -->
85         <jcabi.version>0.20.1</jcabi.version>
86         <aspectjrt.version>1.8.4</aspectjrt.version>
87         <aspectj.version>1.7.4</aspectj.version>
88         <jcabi.maven.plugin.version>0.13.2</jcabi.maven.plugin.version>
89
90         <!-- Logging end -->
91         <!-- System Metrics -->
92         <sigar.version>1.6.4</sigar.version>
93
94         <regex.version>3.0.3</regex.version>
95
96         <!--GSON-->
97         <gson.version>2.3.1</gson.version>
98
99         <!--listen to file changes-->
100         <commons-jci-core.version>1.1</commons-jci-core.version>
101
102         <!--TESTING-->
103         <mockito.version>2.18.3</mockito.version>
104         <jmockit.version>1.33</jmockit.version>
105         <junit.version>4.12</junit.version>
106         <assertj.version>3.10.0</assertj.version>
107         <testng.version>6.9.10</testng.version>
108         <extentreports.version>3.0.3</extentreports.version>
109         <cucumber.version>2.4.0</cucumber.version>
110         <bean-matchers.version>0.11</bean-matchers.version>
111         <hamcrest-all.version>1.3</hamcrest-all.version>
112         <junit-jupiter.version>5.4.0</junit-jupiter.version>
113         <junit-vintage.version>5.4.0</junit-vintage.version>
114         <junit-platform.version>1.1.0</junit-platform.version>
115         <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
116
117         <!-- parser-->
118         <sdc-tosca-parser.version>1.3.5</sdc-tosca-parser.version>
119
120         <!-- sonar -->
121         <sonar.language>java</sonar.language>
122         <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
123         <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
124         <sonar.branch>${project.version}</sonar.branch>
125
126         <!--cassandra -->
127         <cassandra.driver.version>3.0.0</cassandra.driver.version>
128         <!-- maven central (Nexus) -->
129         <nexus.id.release>nexus</nexus.id.release>
130         <nexus.id.snapshot>nexus</nexus.id.snapshot>
131
132         <!--nexus-->
133         <npm.registry>https://registry.npmjs.org/</npm.registry>
134         <!-- https://nexus.onap.org/content/repositories/npm/ -->
135         <nexus.proxy>https://nexus.onap.org</nexus.proxy>
136         <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
137         <staging.profile.id>176c31dfe190a</staging.profile.id>
138         <!--maven-->
139         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
140         <!--docker tags-->
141         <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
142
143         <joda.time.version>2.9.9</joda.time.version>
144
145         <!--jacoco-->
146         <jacoco.version>0.8.1</jacoco.version>
147
148     </properties>
149
150
151     <dependencyManagement>
152         <dependencies>
153             <dependency>
154                 <groupId>org.glassfish.jersey.ext</groupId>
155                 <artifactId>jersey-bean-validation</artifactId>
156                 <version>${jersey-bom.version}</version>
157             </dependency>
158
159             <dependency>
160                 <groupId>org.glassfish.hk2.external</groupId>
161                 <artifactId>asm-all-repackaged</artifactId>
162                 <version>2.4.0</version>
163             </dependency>
164
165             <dependency>
166                 <groupId>org.assertj</groupId>
167                 <artifactId>assertj-core</artifactId>
168                 <version>${assertj.version}</version>
169             </dependency>
170
171             <dependency>
172                 <groupId>org.mockito</groupId>
173                 <artifactId>mockito-core</artifactId>
174                 <version>${mockito.version}</version>
175             </dependency>
176             
177                         <dependency>
178                         <groupId>org.jmockit</groupId>
179                                 <artifactId>jmockit</artifactId>
180                                 <version>${jmockit.version}</version>
181                         </dependency>
182                         
183
184             <dependency>
185                 <groupId>com.github.tomakehurst</groupId>
186                 <artifactId>wiremock-standalone</artifactId>
187                 <version>${wire-mock.version}</version>
188             </dependency>
189
190             <dependency>
191                 <groupId>io.cucumber</groupId>
192                 <artifactId>cucumber-java</artifactId>
193                 <version>${cucumber.version}</version>
194             </dependency>
195
196             <dependency>
197                 <groupId>io.cucumber</groupId>
198                 <artifactId>cucumber-junit</artifactId>
199                 <version>${cucumber.version}</version>
200             </dependency>
201
202             <dependency>
203                 <groupId>org.apache.commons</groupId>
204                 <artifactId>commons-lang3</artifactId>
205                 <version>${lang3.version}</version>
206             </dependency>
207             <dependency>
208                 <groupId>org.codehaus.groovy</groupId>
209                 <artifactId>groovy</artifactId>
210                 <version>2.4.13</version>
211             </dependency>
212             <dependency>
213                 <groupId>io.netty</groupId>
214                 <artifactId>netty-all</artifactId>
215                 <version>${netty.version}</version>
216             </dependency>
217             <dependency>
218                 <groupId>io.netty</groupId>
219                 <artifactId>netty-handler</artifactId>
220                 <version>${netty.version}</version>
221             </dependency>
222             <dependency>
223                 <groupId>org.junit.platform</groupId>
224                 <artifactId>junit-platform-launcher</artifactId>
225                 <version>${junit-platform.version}</version>
226             </dependency>
227             <dependency>
228                 <groupId>org.junit.jupiter</groupId>
229                 <artifactId>junit-jupiter-engine</artifactId>
230                 <version>${junit-jupiter.version}</version>
231             </dependency>
232             <dependency>
233                 <groupId>org.junit.vintage</groupId>
234                 <artifactId>junit-vintage-engine</artifactId>
235                 <version>${junit-vintage.version}</version>
236             </dependency>
237         </dependencies>
238     </dependencyManagement>
239
240     <dependencies>
241         <dependency>
242             <!-- must be on the classpath -->
243             <groupId>org.jacoco</groupId>
244             <artifactId>org.jacoco.agent</artifactId>
245             <classifier>runtime</classifier>
246             <version>${jacoco.version}</version>
247             <scope>test</scope>
248         </dependency>
249     </dependencies>
250
251     <reporting>
252         <plugins>
253             <plugin>
254                 <groupId>org.apache.maven.plugins</groupId>
255                 <artifactId>maven-javadoc-plugin</artifactId>
256                 <version>3.0.1</version>
257                 <configuration>
258                     <failOnError>false</failOnError>
259                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
260                     <docletArtifact>
261                         <groupId>org.umlgraph</groupId>
262                         <artifactId>umlgraph</artifactId>
263                         <version>5.6</version>
264                     </docletArtifact>
265                     <useStandardDocletOptions>true</useStandardDocletOptions>
266                 </configuration>
267             </plugin>
268         </plugins>
269     </reporting>
270
271     <build>
272         <pluginManagement>
273             <plugins>
274                 <plugin>
275                     <groupId>org.jacoco</groupId>
276                     <artifactId>jacoco-maven-plugin</artifactId>
277                     <version>0.8.1</version>
278                 </plugin>
279                 <plugin>
280                     <groupId>org.apache.maven.plugins</groupId>
281                     <artifactId>maven-assembly-plugin</artifactId>
282                     <version>3.1.0</version>
283                 </plugin>
284
285                 <plugin>
286                     <groupId>org.codehaus.mojo</groupId>
287                     <artifactId>exec-maven-plugin</artifactId>
288                     <version>1.6.0</version>
289                 </plugin>
290                 <plugin>
291                     <groupId>org.sonarsource.scanner.maven</groupId>
292                     <artifactId>sonar-maven-plugin</artifactId>
293                     <version>3.4.1.1168</version>
294                 </plugin>
295                 <plugin>
296                     <groupId>org.apache.maven.plugins</groupId>
297                     <artifactId>maven-clean-plugin</artifactId>
298                     <version>3.1.0</version>
299                 </plugin>
300                 <plugin>
301                     <groupId>ru.yaal.maven</groupId>
302                     <artifactId>write-text-files-maven-plugin</artifactId>
303                     <version>1.1</version>
304                 </plugin>
305                 <plugin>
306                     <groupId>org.codehaus.gmaven</groupId>
307                     <artifactId>gmaven-plugin</artifactId>
308                     <version>1.5</version>
309                 </plugin>
310                 <plugin>
311                     <groupId>org.codehaus.mojo</groupId>
312                     <artifactId>build-helper-maven-plugin</artifactId>
313                     <version>3.0.0</version>
314                 </plugin>
315                 <plugin>
316                     <groupId>org.apache.maven.plugins</groupId>
317                     <artifactId>maven-deploy-plugin</artifactId>
318                     <version>2.8.2</version>
319                 </plugin>
320                 <plugin>
321                     <groupId>org.apache.maven.plugins</groupId>
322                     <artifactId>maven-shade-plugin</artifactId>
323                     <version>3.1.1</version>
324                 </plugin>
325                 <plugin>
326                     <groupId>org.apache.maven.plugins</groupId>
327                     <artifactId>maven-resources-plugin</artifactId>
328                     <version>3.1.0</version>
329                 </plugin>
330                 <plugin>
331                     <groupId>io.fabric8</groupId>
332                     <artifactId>docker-maven-plugin</artifactId>
333                     <version>0.26.0</version>
334                 </plugin>
335                 <plugin>
336                     <groupId>org.apache.maven.plugins</groupId>
337                     <artifactId>maven-war-plugin</artifactId>
338                     <version>3.2.2</version>
339                 </plugin>
340                 <plugin>
341                     <groupId>com.github.eirslett</groupId>
342                     <artifactId>frontend-maven-plugin</artifactId>
343                     <version>1.6</version>
344                 </plugin>
345                 <plugin>
346                     <groupId>org.apache.maven.plugins</groupId>
347                     <artifactId>maven-surefire-plugin</artifactId>
348                     <version>${maven-surefire-plugin.version}</version>
349                 </plugin>
350                 <plugin>
351                     <groupId>org.apache.maven.plugins</groupId>
352                     <artifactId>maven-compiler-plugin</artifactId>
353                     <version>3.8.0</version>
354                 </plugin>
355                 <plugin>
356                     <groupId>org.sonatype.plugins</groupId>
357                     <artifactId>nexus-staging-maven-plugin</artifactId>
358                     <version>1.6.8</version>
359                 </plugin>
360                 <plugin>
361                     <groupId>com.github.sylvainlaurent.maven</groupId>
362                     <artifactId>yaml-json-validator-maven-plugin</artifactId>
363                     <version>1.0.1</version>
364                 </plugin>
365                 <plugin>
366                     <groupId>pl.project13.maven</groupId>
367                     <artifactId>git-commit-id-plugin</artifactId>
368                     <version>2.2.6</version>
369                 </plugin>
370             </plugins>
371         </pluginManagement>
372
373         <plugins>
374
375             <!-- Staging Plugin -->
376             <plugin>
377                 <groupId>org.sonatype.plugins</groupId>
378                 <artifactId>nexus-staging-maven-plugin</artifactId>
379                 <extensions>true</extensions>
380                 <configuration>
381                     <nexusUrl>${nexus.proxy}</nexusUrl>
382                     <stagingProfileId>${staging.profile.id}</stagingProfileId>
383                     <serverId>ecomp-staging</serverId>
384                 </configuration>
385             </plugin>
386
387             <!-- plugin for parsing the project version -->
388             <plugin>
389                 <groupId>org.codehaus.mojo</groupId>
390                 <artifactId>build-helper-maven-plugin</artifactId>
391                 <executions>
392                     <execution>
393                         <id>parse-version</id>
394                         <phase>pre-clean</phase>
395                         <goals>
396                             <goal>parse-version</goal>
397                         </goals>
398                     </execution>
399                 </executions>
400             </plugin>
401
402             <!-- Java Code Coverage -->
403             <plugin>
404                 <groupId>org.jacoco</groupId>
405                 <artifactId>jacoco-maven-plugin</artifactId>
406                 <executions>
407                     <execution>
408                         <id>default-instrument</id>
409                         <goals>
410                             <goal>instrument</goal>
411                         </goals>
412                     </execution>
413                     <execution>
414                         <id>default-restore-instrumented-classes</id>
415                         <goals>
416                             <goal>restore-instrumented-classes</goal>
417                         </goals>
418                     </execution>
419                     <execution>
420                         <id>default-report</id>
421                         <goals>
422                             <goal>report</goal>
423                         </goals>
424                         <configuration>
425                             <dataFile>${project.build.directory}/jacoco.exec</dataFile>
426                         </configuration>
427                     </execution>
428                 </executions>
429             </plugin>
430
431             <plugin>
432                 <groupId>org.apache.maven.plugins</groupId>
433                 <artifactId>maven-site-plugin</artifactId>
434                 <version>3.7.1</version>
435                 <dependencies>
436                     <dependency>
437                         <groupId>org.apache.maven.wagon</groupId>
438                         <artifactId>wagon-webdav-jackrabbit</artifactId>
439                         <version>3.0.0</version>
440                     </dependency>
441                 </dependencies>
442             </plugin>
443
444             <!-- Set the deployment repositories properties. -->
445             <plugin>
446                 <groupId>org.codehaus.gmaven</groupId>
447                 <artifactId>gmaven-plugin</artifactId>
448                 <executions>
449                     <execution>
450                         <inherited>false</inherited>
451                         <phase>integration-test</phase>
452                         <goals>
453                             <goal>execute</goal>
454                         </goals>
455                         <configuration>
456                             <source>
457                                 pom.properties['deploy.url'] =
458                                 pom.version.contains('-SNAPSHOT') ?
459                                 project.distributionManagement.snapshotRepository.url :
460                                 project.distributionManagement.repository.url;
461                                 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
462                                 project.distributionManagement.snapshotRepository.id :
463                                 project.distributionManagement.repository.id;
464                             </source>
465                         </configuration>
466                     </execution>
467                 </executions>
468             </plugin>
469             <plugin>
470                 <groupId>org.apache.maven.plugins</groupId>
471                 <artifactId>maven-compiler-plugin</artifactId>
472                 <configuration>
473                     <source>1.8</source>
474                     <target>1.8</target>
475                 </configuration>
476             </plugin>
477             <plugin>
478                 <groupId>org.apache.maven.plugins</groupId>
479                 <artifactId>maven-surefire-plugin</artifactId>
480                 <configuration>
481                     <printSummary>false</printSummary>
482                     <systemPropertyVariables>
483                         <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
484                     </systemPropertyVariables>
485                 </configuration>
486             </plugin>
487             <plugin>
488                <groupId>pl.project13.maven</groupId>
489                <artifactId>git-commit-id-plugin</artifactId>
490                <executions>
491                   <execution>
492                      <goals>
493                         <goal>revision</goal>
494                      </goals>
495                   </execution>
496                </executions>
497                <configuration>
498                   <generateGitPropertiesFile>true</generateGitPropertiesFile>
499                   <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties</generateGitPropertiesFilename>
500                   <failOnNoGitDirectory>true</failOnNoGitDirectory>
501                   <verbose>false</verbose>
502                   <includeOnlyProperties>
503                      <includeOnlyProperty>git.build.version</includeOnlyProperty>
504                      <includeOnlyProperty>git.build.time</includeOnlyProperty>
505                      <includeOnlyProperty>git.commit.id</includeOnlyProperty>
506                      <includeOnlyProperty>git.commit.time</includeOnlyProperty>
507                      <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
508                      <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
509                      <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
510                      <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
511                   </includeOnlyProperties>
512                   <gitDescribe>
513                      <skip>true</skip>
514                   </gitDescribe>
515                   <useNativeGit>false</useNativeGit>
516                </configuration>
517             </plugin>
518         </plugins>
519     </build>
520
521     <profiles>
522         <profile>
523             <id>all</id>
524             <activation>
525                 <activeByDefault>true</activeByDefault>
526             </activation>
527             <modules>
528                 <module>onboarding</module>
529                 <module>security-utils</module>
530                 <module>common-app-api</module>
531                 <module>common-be</module>
532                 <module>catalog-dao</module>
533                 <module>catalog-model</module>
534                 <module>catalog-be</module>
535                 <module>asdctool</module>
536                 <module>catalog-ui</module>
537                 <module>catalog-fe</module>
538                 <module>test-apis-ci</module>
539                 <module>ui-ci</module>
540                 <module>sdc-os-chef</module>
541                 <module>utils/webseal-simulator</module>
542             </modules>
543
544         </profile>
545
546         <profile>
547             <id>catalog</id>
548             <activation>
549                 <activeByDefault>false</activeByDefault>
550             </activation>
551             <modules>
552                 <module>security-utils</module>
553                 <module>common-app-api</module>
554                 <module>common-be</module>
555                 <module>catalog-dao</module>
556                 <module>catalog-model</module>
557                 <module>catalog-be</module>
558                 <module>asdctool</module>
559                 <module>catalog-ui</module>
560                 <module>catalog-fe</module>
561                 <module>test-apis-ci</module>
562                 <module>ui-ci</module>
563             </modules>
564
565             <properties>
566                 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
567             </properties>
568         </profile>
569
570         <profile>
571             <id>onboarding</id>
572             <activation>
573                 <activeByDefault>false</activeByDefault>
574             </activation>
575             <modules>
576                 <module>onboarding</module>
577             </modules>
578         </profile>
579
580     </profiles>
581
582     <repositories>
583         <!-- LF repositories -->
584         <repository>
585             <id>ecomp-releases</id>
586             <name>Release Repository</name>
587             <url>${nexus.proxy}/content/repositories/releases/</url>
588         </repository>
589         <repository>
590             <id>ecomp-snapshots</id>
591             <name>Snapshots Repository</name>
592             <url>${nexus.proxy}/content/repositories/snapshots/</url>
593         </repository>
594         <repository>
595             <id>ecomp-public</id>
596             <name>Public Repository</name>
597             <url>${nexus.proxy}/content/repositories/public/</url>
598         </repository>
599         <!-- LF repositories END-->
600     </repositories>
601
602     <distributionManagement>
603         <repository>
604             <id>ecomp-releases</id>
605             <name>Release Repository</name>
606             <url>${nexus.proxy}/content/repositories/releases/</url>
607         </repository>
608         <snapshotRepository>
609             <id>ecomp-snapshots</id>
610             <name>Snapshot Repository</name>
611             <url>${nexus.proxy}/content/repositories/snapshots/</url>
612         </snapshotRepository>
613         <site>
614             <id>ecomp-site</id>
615             <url>dav:${nexus.proxy}${sitePath}</url>
616         </site>
617     </distributionManagement>
618 </project>