Fix minor documentation issues
[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.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.18.v20190429</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.14.3</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         <libthrift.version>0.12.0</libthrift.version>
129         <!-- maven central (Nexus) -->
130         <nexus.id.release>nexus</nexus.id.release>
131         <nexus.id.snapshot>nexus</nexus.id.snapshot>
132
133         <!--nexus-->
134         <npm.registry>https://registry.npmjs.org/</npm.registry>
135         <!-- https://nexus.onap.org/content/repositories/npm/ -->
136         <nexus.proxy>https://nexus.onap.org</nexus.proxy>
137         <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
138         <staging.profile.id>176c31dfe190a</staging.profile.id>
139         <!--maven-->
140         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
141         <!--docker tags-->
142         <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
143
144         <joda.time.version>2.9.9</joda.time.version>
145
146         <!--jacoco-->
147         <jacoco.version>0.8.1</jacoco.version>
148
149     </properties>
150
151
152     <dependencyManagement>
153         <dependencies>
154             <dependency>
155                 <groupId>org.glassfish.jersey.ext</groupId>
156                 <artifactId>jersey-bean-validation</artifactId>
157                 <version>${jersey-bom.version}</version>
158             </dependency>
159
160             <dependency>
161                 <groupId>org.glassfish.hk2.external</groupId>
162                 <artifactId>asm-all-repackaged</artifactId>
163                 <version>2.4.0</version>
164             </dependency>
165
166             <dependency>
167                 <groupId>org.assertj</groupId>
168                 <artifactId>assertj-core</artifactId>
169                 <version>${assertj.version}</version>
170             </dependency>
171
172             <dependency>
173                 <groupId>org.mockito</groupId>
174                 <artifactId>mockito-core</artifactId>
175                 <version>${mockito.version}</version>
176             </dependency>
177             
178                         <dependency>
179                         <groupId>org.jmockit</groupId>
180                                 <artifactId>jmockit</artifactId>
181                                 <version>${jmockit.version}</version>
182                         </dependency>
183                         
184
185             <dependency>
186                 <groupId>com.github.tomakehurst</groupId>
187                 <artifactId>wiremock-standalone</artifactId>
188                 <version>${wire-mock.version}</version>
189             </dependency>
190
191             <dependency>
192                 <groupId>io.cucumber</groupId>
193                 <artifactId>cucumber-java</artifactId>
194                 <version>${cucumber.version}</version>
195             </dependency>
196
197             <dependency>
198                 <groupId>io.cucumber</groupId>
199                 <artifactId>cucumber-junit</artifactId>
200                 <version>${cucumber.version}</version>
201             </dependency>
202
203             <dependency>
204                 <groupId>org.apache.commons</groupId>
205                 <artifactId>commons-lang3</artifactId>
206                 <version>${lang3.version}</version>
207             </dependency>
208             <dependency>
209                 <groupId>org.codehaus.groovy</groupId>
210                 <artifactId>groovy</artifactId>
211                 <version>2.4.13</version>
212             </dependency>
213             <dependency>
214                 <groupId>io.netty</groupId>
215                 <artifactId>netty-all</artifactId>
216                 <version>${netty.version}</version>
217             </dependency>
218             <dependency>
219                 <groupId>io.netty</groupId>
220                 <artifactId>netty-handler</artifactId>
221                 <version>${netty.version}</version>
222             </dependency>
223             <dependency>
224                 <groupId>org.junit.platform</groupId>
225                 <artifactId>junit-platform-launcher</artifactId>
226                 <version>${junit-platform.version}</version>
227             </dependency>
228             <dependency>
229                 <groupId>org.junit.jupiter</groupId>
230                 <artifactId>junit-jupiter-engine</artifactId>
231                 <version>${junit-jupiter.version}</version>
232             </dependency>
233             <dependency>
234                 <groupId>org.junit.vintage</groupId>
235                 <artifactId>junit-vintage-engine</artifactId>
236                 <version>${junit-vintage.version}</version>
237             </dependency>
238         </dependencies>
239     </dependencyManagement>
240
241     <dependencies>
242         <dependency>
243             <!-- must be on the classpath -->
244             <groupId>org.jacoco</groupId>
245             <artifactId>org.jacoco.agent</artifactId>
246             <classifier>runtime</classifier>
247             <version>${jacoco.version}</version>
248             <scope>test</scope>
249         </dependency>
250     </dependencies>
251
252     <reporting>
253         <plugins>
254             <plugin>
255                 <groupId>org.apache.maven.plugins</groupId>
256                 <artifactId>maven-javadoc-plugin</artifactId>
257                 <version>3.0.1</version>
258                 <configuration>
259                     <failOnError>false</failOnError>
260                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
261                     <docletArtifact>
262                         <groupId>org.umlgraph</groupId>
263                         <artifactId>umlgraph</artifactId>
264                         <version>5.6</version>
265                     </docletArtifact>
266                     <useStandardDocletOptions>true</useStandardDocletOptions>
267                 </configuration>
268             </plugin>
269         </plugins>
270     </reporting>
271
272     <build>
273         <pluginManagement>
274             <plugins>
275                 <plugin>
276                     <groupId>org.jacoco</groupId>
277                     <artifactId>jacoco-maven-plugin</artifactId>
278                     <version>0.8.1</version>
279                 </plugin>
280                 <plugin>
281                     <groupId>org.apache.maven.plugins</groupId>
282                     <artifactId>maven-assembly-plugin</artifactId>
283                     <version>3.1.0</version>
284                 </plugin>
285
286                 <plugin>
287                     <groupId>org.codehaus.mojo</groupId>
288                     <artifactId>exec-maven-plugin</artifactId>
289                     <version>1.6.0</version>
290                 </plugin>
291                 <plugin>
292                     <groupId>org.sonarsource.scanner.maven</groupId>
293                     <artifactId>sonar-maven-plugin</artifactId>
294                     <version>3.4.1.1168</version>
295                 </plugin>
296                 <plugin>
297                     <groupId>org.apache.maven.plugins</groupId>
298                     <artifactId>maven-clean-plugin</artifactId>
299                     <version>3.1.0</version>
300                 </plugin>
301                 <plugin>
302                     <groupId>ru.yaal.maven</groupId>
303                     <artifactId>write-text-files-maven-plugin</artifactId>
304                     <version>1.1</version>
305                 </plugin>
306                 <plugin>
307                     <groupId>org.codehaus.gmaven</groupId>
308                     <artifactId>gmaven-plugin</artifactId>
309                     <version>1.5</version>
310                 </plugin>
311                 <plugin>
312                     <groupId>org.codehaus.mojo</groupId>
313                     <artifactId>build-helper-maven-plugin</artifactId>
314                     <version>3.0.0</version>
315                 </plugin>
316                 <plugin>
317                     <groupId>org.apache.maven.plugins</groupId>
318                     <artifactId>maven-deploy-plugin</artifactId>
319                     <version>2.8.2</version>
320                 </plugin>
321                 <plugin>
322                     <groupId>org.apache.maven.plugins</groupId>
323                     <artifactId>maven-shade-plugin</artifactId>
324                     <version>3.1.1</version>
325                 </plugin>
326                 <plugin>
327                     <groupId>org.apache.maven.plugins</groupId>
328                     <artifactId>maven-resources-plugin</artifactId>
329                     <version>3.1.0</version>
330                 </plugin>
331                 <plugin>
332                     <groupId>io.fabric8</groupId>
333                     <artifactId>docker-maven-plugin</artifactId>
334                     <version>0.26.0</version>
335                 </plugin>
336                 <plugin>
337                     <groupId>org.apache.maven.plugins</groupId>
338                     <artifactId>maven-war-plugin</artifactId>
339                     <version>3.2.2</version>
340                 </plugin>
341                 <plugin>
342                     <groupId>com.github.eirslett</groupId>
343                     <artifactId>frontend-maven-plugin</artifactId>
344                     <version>1.6</version>
345                 </plugin>
346                 <plugin>
347                     <groupId>org.apache.maven.plugins</groupId>
348                     <artifactId>maven-surefire-plugin</artifactId>
349                     <version>${maven-surefire-plugin.version}</version>
350                 </plugin>
351                 <plugin>
352                     <groupId>org.apache.maven.plugins</groupId>
353                     <artifactId>maven-compiler-plugin</artifactId>
354                     <version>3.8.0</version>
355                 </plugin>
356                 <plugin>
357                     <groupId>org.sonatype.plugins</groupId>
358                     <artifactId>nexus-staging-maven-plugin</artifactId>
359                     <version>1.6.8</version>
360                 </plugin>
361                 <plugin>
362                     <groupId>com.github.sylvainlaurent.maven</groupId>
363                     <artifactId>yaml-json-validator-maven-plugin</artifactId>
364                     <version>1.0.1</version>
365                 </plugin>
366                 <plugin>
367                     <groupId>pl.project13.maven</groupId>
368                     <artifactId>git-commit-id-plugin</artifactId>
369                     <version>2.2.6</version>
370                 </plugin>
371             </plugins>
372         </pluginManagement>
373
374         <plugins>
375
376             <!-- Staging Plugin -->
377             <plugin>
378                 <groupId>org.sonatype.plugins</groupId>
379                 <artifactId>nexus-staging-maven-plugin</artifactId>
380                 <extensions>true</extensions>
381                 <configuration>
382                     <nexusUrl>${nexus.proxy}</nexusUrl>
383                     <stagingProfileId>${staging.profile.id}</stagingProfileId>
384                     <serverId>ecomp-staging</serverId>
385                 </configuration>
386             </plugin>
387
388             <!-- plugin for parsing the project version -->
389             <plugin>
390                 <groupId>org.codehaus.mojo</groupId>
391                 <artifactId>build-helper-maven-plugin</artifactId>
392                 <executions>
393                     <execution>
394                         <id>parse-version</id>
395                         <phase>pre-clean</phase>
396                         <goals>
397                             <goal>parse-version</goal>
398                         </goals>
399                     </execution>
400                 </executions>
401             </plugin>
402
403             <!-- Java Code Coverage -->
404             <plugin>
405                 <groupId>org.jacoco</groupId>
406                 <artifactId>jacoco-maven-plugin</artifactId>
407                 <executions>
408                     <execution>
409                         <id>default-instrument</id>
410                         <goals>
411                             <goal>instrument</goal>
412                         </goals>
413                     </execution>
414                     <execution>
415                         <id>default-restore-instrumented-classes</id>
416                         <goals>
417                             <goal>restore-instrumented-classes</goal>
418                         </goals>
419                     </execution>
420                     <execution>
421                         <id>default-report</id>
422                         <goals>
423                             <goal>report</goal>
424                         </goals>
425                         <configuration>
426                             <dataFile>${project.build.directory}/jacoco.exec</dataFile>
427                         </configuration>
428                     </execution>
429                 </executions>
430             </plugin>
431
432             <plugin>
433                 <groupId>org.apache.maven.plugins</groupId>
434                 <artifactId>maven-site-plugin</artifactId>
435                 <version>3.7.1</version>
436                 <dependencies>
437                     <dependency>
438                         <groupId>org.apache.maven.wagon</groupId>
439                         <artifactId>wagon-webdav-jackrabbit</artifactId>
440                         <version>3.0.0</version>
441                     </dependency>
442                 </dependencies>
443             </plugin>
444
445             <!-- Set the deployment repositories properties. -->
446             <plugin>
447                 <groupId>org.codehaus.gmaven</groupId>
448                 <artifactId>gmaven-plugin</artifactId>
449                 <executions>
450                     <execution>
451                         <inherited>false</inherited>
452                         <phase>integration-test</phase>
453                         <goals>
454                             <goal>execute</goal>
455                         </goals>
456                         <configuration>
457                             <source>
458                                 pom.properties['deploy.url'] =
459                                 pom.version.contains('-SNAPSHOT') ?
460                                 project.distributionManagement.snapshotRepository.url :
461                                 project.distributionManagement.repository.url;
462                                 pom.properties['repo.id'] = pom.version.contains('-SNAPSHOT') ?
463                                 project.distributionManagement.snapshotRepository.id :
464                                 project.distributionManagement.repository.id;
465                             </source>
466                         </configuration>
467                     </execution>
468                 </executions>
469             </plugin>
470             <plugin>
471                 <groupId>org.apache.maven.plugins</groupId>
472                 <artifactId>maven-compiler-plugin</artifactId>
473                 <configuration>
474                     <source>1.8</source>
475                     <target>1.8</target>
476                 </configuration>
477             </plugin>
478             <plugin>
479                 <groupId>org.apache.maven.plugins</groupId>
480                 <artifactId>maven-surefire-plugin</artifactId>
481                 <configuration>
482                     <printSummary>false</printSummary>
483                     <systemPropertyVariables>
484                         <jacoco-agent.destfile>${project.build.directory}/jacoco.exec</jacoco-agent.destfile>
485                     </systemPropertyVariables>
486                 </configuration>
487             </plugin>
488             <plugin>
489                <groupId>pl.project13.maven</groupId>
490                <artifactId>git-commit-id-plugin</artifactId>
491                <executions>
492                   <execution>
493                      <goals>
494                         <goal>revision</goal>
495                      </goals>
496                   </execution>
497                </executions>
498                <configuration>
499                   <generateGitPropertiesFile>true</generateGitPropertiesFile>
500                   <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties</generateGitPropertiesFilename>
501                   <failOnNoGitDirectory>true</failOnNoGitDirectory>
502                   <verbose>false</verbose>
503                   <includeOnlyProperties>
504                      <includeOnlyProperty>git.build.version</includeOnlyProperty>
505                      <includeOnlyProperty>git.build.time</includeOnlyProperty>
506                      <includeOnlyProperty>git.commit.id</includeOnlyProperty>
507                      <includeOnlyProperty>git.commit.time</includeOnlyProperty>
508                      <includeOnlyProperty>git.commit.user.name</includeOnlyProperty>
509                      <includeOnlyProperty>git.commit.user.email</includeOnlyProperty>
510                      <includeOnlyProperty>git.commit.message.short</includeOnlyProperty>
511                      <includeOnlyProperty>git.commit.message.full</includeOnlyProperty>
512                   </includeOnlyProperties>
513                   <gitDescribe>
514                      <skip>true</skip>
515                   </gitDescribe>
516                   <useNativeGit>false</useNativeGit>
517                </configuration>
518             </plugin>
519         </plugins>
520     </build>
521
522     <profiles>
523         <profile>
524             <id>all</id>
525             <activation>
526                 <activeByDefault>true</activeByDefault>
527             </activation>
528             <modules>
529                 <module>onboarding</module>
530                 <module>security-utils</module>
531                 <module>common-app-api</module>
532                 <module>common-be</module>
533                 <module>catalog-dao</module>
534                 <module>catalog-model</module>
535                 <module>catalog-be</module>
536                 <module>asdctool</module>
537                 <module>catalog-ui</module>
538                 <module>catalog-fe</module>
539                 <module>test-apis-ci</module>
540                 <module>ui-ci</module>
541                 <module>sdc-os-chef</module>
542                 <module>utils/webseal-simulator</module>
543             </modules>
544
545         </profile>
546
547         <profile>
548             <id>catalog</id>
549             <activation>
550                 <activeByDefault>false</activeByDefault>
551             </activation>
552             <modules>
553                 <module>security-utils</module>
554                 <module>common-app-api</module>
555                 <module>common-be</module>
556                 <module>catalog-dao</module>
557                 <module>catalog-model</module>
558                 <module>catalog-be</module>
559                 <module>asdctool</module>
560                 <module>catalog-ui</module>
561                 <module>catalog-fe</module>
562                 <module>test-apis-ci</module>
563                 <module>ui-ci</module>
564             </modules>
565
566             <properties>
567                 <sdc-tosca-parser.version>1.1.32</sdc-tosca-parser.version>
568             </properties>
569         </profile>
570
571         <profile>
572             <id>onboarding</id>
573             <activation>
574                 <activeByDefault>false</activeByDefault>
575             </activation>
576             <modules>
577                 <module>onboarding</module>
578             </modules>
579         </profile>
580
581     </profiles>
582
583     <repositories>
584         <!-- LF repositories -->
585         <repository>
586             <id>ecomp-releases</id>
587             <name>Release Repository</name>
588             <url>${nexus.proxy}/content/repositories/releases/</url>
589         </repository>
590         <repository>
591             <id>ecomp-snapshots</id>
592             <name>Snapshots Repository</name>
593             <url>${nexus.proxy}/content/repositories/snapshots/</url>
594         </repository>
595         <repository>
596             <id>ecomp-public</id>
597             <name>Public Repository</name>
598             <url>${nexus.proxy}/content/repositories/public/</url>
599         </repository>
600         <!-- LF repositories END-->
601     </repositories>
602
603     <distributionManagement>
604         <repository>
605             <id>ecomp-releases</id>
606             <name>Release Repository</name>
607             <url>${nexus.proxy}/content/repositories/releases/</url>
608         </repository>
609         <snapshotRepository>
610             <id>ecomp-snapshots</id>
611             <name>Snapshot Repository</name>
612             <url>${nexus.proxy}/content/repositories/snapshots/</url>
613         </snapshotRepository>
614         <site>
615             <id>ecomp-site</id>
616             <url>dav:${nexus.proxy}${sitePath}</url>
617         </site>
618     </distributionManagement>
619 </project>