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