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