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