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