Migrate ccsdk/apps to ccsdk/cds
[ccsdk/cds.git] / ms / blueprintsprocessor / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~  Copyright © 2017-2018 AT&T Intellectual Property.
4   ~
5   ~  Modifications Copyright © 2018 IBM.
6   ~  Modifications Copyright © 2019 Bell Canada.
7   ~
8   ~  Licensed under the Apache License, Version 2.0 (the "License");
9   ~  you may not use this file except in compliance with the License.
10   ~  You may obtain a copy of the License at
11   ~
12   ~      http://www.apache.org/licenses/LICENSE-2.0
13   ~
14   ~  Unless required by applicable law or agreed to in writing, software
15   ~  distributed under the License is distributed on an "AS IS" BASIS,
16   ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   ~  See the License for the specific language governing permissions and
18   ~  limitations under the License.
19   -->
20 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21     <modelVersion>4.0.0</modelVersion>
22     <parent>
23         <groupId>org.onap.ccsdk.cds</groupId>
24         <artifactId>blueprintsprocessor</artifactId>
25         <version>0.4.2-SNAPSHOT</version>
26     </parent>
27     <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
28     <artifactId>parent</artifactId>
29     <packaging>pom</packaging>
30     <name>Blueprints Processor Parent</name>
31     <description>Blueprints Processor Parent</description>
32     <properties>
33         <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
34         <spring.boot.version>2.1.3.RELEASE</spring.boot.version>
35         <spring.version>5.1.5.RELEASE</spring.version>
36         <kotlin.version>1.3.21</kotlin.version>
37         <kotlin.maven.version>1.3.21</kotlin.maven.version>
38         <kotlin.couroutines.version>1.1.1</kotlin.couroutines.version>
39         <grpc.version>1.18.0</grpc.version>
40         <!-- TODO("Migrate SSHD to 2.x version") -->
41         <sshd.version>1.7.0</sshd.version>
42         <jsch.version>0.1.55</jsch.version>
43         <protobuff.java.utils.version>3.6.1</protobuff.java.utils.version>
44         <eelf.version>1.0.0</eelf.version>
45         <sli.version>0.4.1-SNAPSHOT</sli.version>
46         <guava.version>27.0.1-jre</guava.version>
47         <jython.version>2.7.1</jython.version>
48         <springfox.swagger2.version>2.9.2</springfox.swagger2.version>
49         <h2database.version>1.4.197</h2database.version>
50         <onap.logger.slf4j>1.2.2</onap.logger.slf4j>
51         <powermock.version>1.7.4</powermock.version>
52         <mockk.version>1.9</mockk.version>
53         <dmaap.client.version>1.1.5</dmaap.client.version>
54     </properties>
55     <dependencyManagement>
56         <dependencies>
57             <!-- Spring Boot -->
58             <dependency>
59                 <groupId>org.springframework.boot</groupId>
60                 <artifactId>spring-boot-starter-parent</artifactId>
61                 <version>${spring.boot.version}</version>
62                 <type>pom</type>
63                 <scope>import</scope>
64             </dependency>
65
66             <!-- Logging Dependencies -->
67             <dependency>
68                 <groupId>com.att.eelf</groupId>
69                 <artifactId>eelf-core</artifactId>
70                 <version>${eelf.version}</version>
71             </dependency>
72             <dependency>
73                 <groupId>org.onap.logging-analytics</groupId>
74                 <artifactId>logging-slf4j</artifactId>
75                 <version>${onap.logger.slf4j}</version>
76             </dependency>
77
78             <!--Swagger Dependencies -->
79             <dependency>
80                 <groupId>io.springfox</groupId>
81                 <artifactId>springfox-swagger2</artifactId>
82                 <version>${springfox.swagger2.version}</version>
83             </dependency>
84             <dependency>
85                 <groupId>io.springfox</groupId>
86                 <artifactId>springfox-swagger-ui</artifactId>
87                 <version>${springfox.swagger2.version}</version>
88             </dependency>
89
90             <!-- Common Utils Dependencies -->
91             <dependency>
92                 <groupId>org.apache.commons</groupId>
93                 <artifactId>commons-lang3</artifactId>
94                 <version>3.2.1</version>
95             </dependency>
96             <dependency>
97                 <groupId>commons-collections</groupId>
98                 <artifactId>commons-collections</artifactId>
99                 <version>3.2.2</version>
100             </dependency>
101             <dependency>
102                 <groupId>commons-io</groupId>
103                 <artifactId>commons-io</artifactId>
104                 <version>2.6</version>
105             </dependency>
106             <dependency>
107                 <groupId>org.apache.commons</groupId>
108                 <artifactId>commons-compress</artifactId>
109                 <version>1.15</version>
110             </dependency>
111             <dependency>
112                 <groupId>org.apache.velocity</groupId>
113                 <artifactId>velocity</artifactId>
114                 <version>1.7</version>
115             </dependency>
116             <dependency>
117                 <groupId>com.google.guava</groupId>
118                 <artifactId>guava</artifactId>
119                 <version>${guava.version}</version>
120             </dependency>
121             <dependency>
122                 <groupId>org.python</groupId>
123                 <artifactId>jython-standalone</artifactId>
124                 <version>${jython.version}</version>
125             </dependency>
126
127             <!-- Kotlin Dependencies -->
128             <dependency>
129                 <groupId>org.jetbrains.kotlin</groupId>
130                 <artifactId>kotlin-stdlib</artifactId>
131                 <version>${kotlin.version}</version>
132             </dependency>
133             <dependency>
134                 <groupId>org.jetbrains.kotlin</groupId>
135                 <artifactId>kotlin-stdlib-common</artifactId>
136                 <version>${kotlin.version}</version>
137             </dependency>
138             <!--Use kotlin-compiler-embeddable instead koltin-compiler wrap-->
139             <!--guava dependency inside kotlin-compiler creating classpath issues at runtime-->
140             <dependency>
141                 <groupId>org.jetbrains.kotlin</groupId>
142                 <artifactId>kotlin-scripting-jvm-host</artifactId>
143                 <version>${kotlin.version}</version>
144                 <exclusions>
145                     <exclusion>
146                         <groupId>org.jetbrains.kotlin</groupId>
147                         <artifactId>kotlin-compile</artifactId>
148                     </exclusion>
149                 </exclusions>
150             </dependency>
151             <dependency>
152                 <groupId>org.jetbrains.kotlin</groupId>
153                 <artifactId>kotlin-compiler-embeddable</artifactId>
154                 <version>${kotlin.version}</version>
155             </dependency>
156             <dependency>
157                 <groupId>org.jetbrains.kotlin</groupId>
158                 <artifactId>kotlin-script-util</artifactId>
159                 <version>${kotlin.version}</version>
160             </dependency>
161             <dependency>
162                 <groupId>org.jetbrains.kotlin</groupId>
163                 <artifactId>kotlin-script-runtime</artifactId>
164                 <version>${kotlin.version}</version>
165             </dependency>
166             <dependency>
167                 <groupId>org.jetbrains.kotlinx</groupId>
168                 <artifactId>kotlinx-coroutines-core</artifactId>
169                 <version>${kotlin.couroutines.version}</version>
170             </dependency>
171             <dependency>
172                 <groupId>org.jetbrains.kotlinx</groupId>
173                 <artifactId>kotlinx-coroutines-reactor</artifactId>
174                 <version>${kotlin.couroutines.version}</version>
175             </dependency>
176             <dependency>
177                 <groupId>org.jetbrains.kotlin</groupId>
178                 <artifactId>kotlin-reflect</artifactId>
179                 <version>${kotlin.version}</version>
180             </dependency>
181             <dependency>
182                 <groupId>org.jetbrains.kotlin</groupId>
183                 <artifactId>kotlin-stdlib-jdk8</artifactId>
184                 <version>${kotlin.version}</version>
185             </dependency>
186             <dependency>
187                 <groupId>org.jetbrains.kotlin</groupId>
188                 <artifactId>kotlin-stdlib-jdk7</artifactId>
189                 <version>${kotlin.version}</version>
190             </dependency>
191
192             <!-- GRPC Dependencies -->
193             <dependency>
194                 <groupId>io.grpc</groupId>
195                 <artifactId>grpc-core</artifactId>
196                 <version>${grpc.version}</version>
197             </dependency>
198             <dependency>
199                 <groupId>io.grpc</groupId>
200                 <artifactId>grpc-netty</artifactId>
201                 <version>${grpc.version}</version>
202             </dependency>
203             <dependency>
204                 <groupId>io.grpc</groupId>
205                 <artifactId>grpc-protobuf</artifactId>
206                 <version>${grpc.version}</version>
207             </dependency>
208             <dependency>
209                 <groupId>io.grpc</groupId>
210                 <artifactId>grpc-stub</artifactId>
211                 <version>${grpc.version}</version>
212             </dependency>
213             <dependency>
214                 <groupId>com.google.protobuf</groupId>
215                 <artifactId>protobuf-java-util</artifactId>
216                 <version>${protobuff.java.utils.version}</version>
217             </dependency>
218             <dependency>
219                 <groupId>org.onap.ccsdk.cds.components</groupId>
220                 <artifactId>proto-definition</artifactId>
221                 <version>${project.version}</version>
222             </dependency>
223
224             <!-- Adaptors -->
225             <dependency>
226                 <groupId>org.apache.sshd</groupId>
227                 <artifactId>sshd-core</artifactId>
228                 <version>${sshd.version}</version>
229             </dependency>
230             <dependency>
231                 <groupId>com.jcraft</groupId>
232                 <artifactId>jsch</artifactId>
233                 <version>${jsch.version}</version>
234             </dependency>
235
236             <!-- SLI Version -->
237             <dependency>
238                 <groupId>org.onap.ccsdk.sli.core</groupId>
239                 <artifactId>sli-provider</artifactId>
240                 <version>${sli.version}</version>
241                 <exclusions>
242                     <exclusion>
243                         <groupId>commons-lang</groupId>
244                         <artifactId>commons-lang</artifactId>
245                     </exclusion>
246                     <exclusion>
247                         <groupId>org.apache.commons</groupId>
248                         <artifactId>*</artifactId>
249                     </exclusion>
250                     <exclusion>
251                         <groupId>org.slf4j</groupId>
252                         <artifactId>*</artifactId>
253                     </exclusion>
254                     <exclusion>
255                         <groupId>org.opendaylight.mdsal.model</groupId>
256                         <artifactId>*</artifactId>
257                     </exclusion>
258                     <exclusion>
259                         <groupId>org.opendaylight.controller</groupId>
260                         <artifactId>*</artifactId>
261                     </exclusion>
262                     <exclusion>
263                         <groupId>org.apache.tomcat</groupId>
264                         <artifactId>*</artifactId>
265                     </exclusion>
266                     <exclusion>
267                         <groupId>org.apache.karaf.shell</groupId>
268                         <artifactId>*</artifactId>
269                     </exclusion>
270                     <exclusion>
271                         <groupId>org.mariadb.jdbc</groupId>
272                         <artifactId>*</artifactId>
273                     </exclusion>
274                     <exclusion>
275                         <groupId>org.powermock</groupId>
276                         <artifactId>*</artifactId>
277                     </exclusion>
278                 </exclusions>
279             </dependency>
280
281
282             <!-- Blueprint Processor Application Module Dependencies -->
283             <dependency>
284                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
285                 <artifactId>processor-core</artifactId>
286                 <version>${project.version}</version>
287             </dependency>
288             <dependency>
289                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
290                 <artifactId>db-lib</artifactId>
291                 <version>${project.version}</version>
292             </dependency>
293             <dependency>
294                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
295                 <artifactId>rest-lib</artifactId>
296                 <version>${project.version}</version>
297             </dependency>
298             <dependency>
299                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
300                 <artifactId>dmaap-lib</artifactId>
301                 <version>${project.version}</version>
302             </dependency>
303             <dependency>
304                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
305                 <artifactId>execution-service</artifactId>
306                 <version>${project.version}</version>
307             </dependency>
308             <dependency>
309                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
310                 <artifactId>workflow-service</artifactId>
311                 <version>${project.version}</version>
312             </dependency>
313             <dependency>
314                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
315                 <artifactId>resource-api</artifactId>
316                 <version>${project.version}</version>
317             </dependency>
318             <dependency>
319                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
320                 <artifactId>selfservice-api</artifactId>
321                 <version>${project.version}</version>
322             </dependency>
323             <dependency>
324                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
325                 <artifactId>application</artifactId>
326                 <version>${project.version}</version>
327             </dependency>
328
329             <!-- Functions -->
330             <dependency>
331                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
332                 <artifactId>resource-resolution</artifactId>
333                 <version>${project.version}</version>
334             </dependency>
335             <dependency>
336                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
337                 <artifactId>python-executor</artifactId>
338                 <version>${project.version}</version>
339             </dependency>
340             <dependency>
341                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
342                 <artifactId>netconf-executor</artifactId>
343                 <version>${project.version}</version>
344             </dependency>
345             <dependency>
346                 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
347                 <artifactId>restconf-executor</artifactId>
348                 <version>${project.version}</version>
349             </dependency>
350
351             <!-- Controller Blueprints Application Dependency -->
352             <dependency>
353                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
354                 <artifactId>resource-dict</artifactId>
355                 <version>${project.version}</version>
356             </dependency>
357             <dependency>
358                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
359                 <artifactId>blueprint-core</artifactId>
360                 <version>${project.version}</version>
361             </dependency>
362             <dependency>
363                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
364                 <artifactId>blueprint-scripts</artifactId>
365                 <version>${project.version}</version>
366             </dependency>
367             <dependency>
368                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
369                 <artifactId>db-resources</artifactId>
370                 <version>${project.version}</version>
371             </dependency>
372             <dependency>
373                 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
374                 <artifactId>blueprint-validation</artifactId>
375                 <version>${project.version}</version>
376             </dependency>
377
378             <!-- Database -->
379             <dependency>
380                 <groupId>com.h2database</groupId>
381                 <artifactId>h2</artifactId>
382                 <version>${h2database.version}</version>
383                 <scope>test</scope>
384             </dependency>
385
386             <!-- Test Dependency -->
387             <dependency>
388                 <groupId>io.mockk</groupId>
389                 <artifactId>mockk</artifactId>
390                 <version>${mockk.version}</version>
391                 <scope>test</scope>
392             </dependency>
393             <dependency>
394                 <groupId>org.powermock</groupId>
395                 <artifactId>powermock-api-mockito2</artifactId>
396                 <version>${powermock.version}</version>
397                 <scope>test</scope>
398             </dependency>
399             <dependency>
400                 <groupId>org.jetbrains.kotlin</groupId>
401                 <artifactId>kotlin-test-junit</artifactId>
402                 <version>${kotlin.version}</version>
403                 <scope>test</scope>
404             </dependency>
405             <dependency>
406                 <groupId>org.jetbrains.kotlinx</groupId>
407                 <artifactId>kotlinx-coroutines-test</artifactId>
408                 <version>${kotlin.couroutines.version}</version>
409                 <scope>test</scope>
410             </dependency>
411             <dependency>
412                 <groupId>io.grpc</groupId>
413                 <artifactId>grpc-testing</artifactId>
414                 <version>${grpc.version}</version>
415                 <scope>test</scope>
416             </dependency>
417         </dependencies>
418     </dependencyManagement>
419
420     <dependencies>
421         <dependency>
422             <groupId>com.att.eelf</groupId>
423             <artifactId>eelf-core</artifactId>
424         </dependency>
425         <dependency>
426             <groupId>org.onap.logging-analytics</groupId>
427             <artifactId>logging-slf4j</artifactId>
428         </dependency>
429         <dependency>
430             <groupId>org.apache.commons</groupId>
431             <artifactId>commons-lang3</artifactId>
432         </dependency>
433         <dependency>
434             <groupId>commons-collections</groupId>
435             <artifactId>commons-collections</artifactId>
436         </dependency>
437         <dependency>
438             <groupId>commons-io</groupId>
439             <artifactId>commons-io</artifactId>
440         </dependency>
441         <dependency>
442             <groupId>org.apache.commons</groupId>
443             <artifactId>commons-compress</artifactId>
444         </dependency>
445         <dependency>
446             <groupId>com.jayway.jsonpath</groupId>
447             <artifactId>json-path</artifactId>
448         </dependency>
449         <dependency>
450             <groupId>com.google.guava</groupId>
451             <artifactId>guava</artifactId>
452         </dependency>
453         <dependency>
454             <groupId>io.springfox</groupId>
455             <artifactId>springfox-swagger2</artifactId>
456         </dependency>
457         <dependency>
458             <groupId>io.springfox</groupId>
459             <artifactId>springfox-swagger-ui</artifactId>
460         </dependency>
461         <dependency>
462             <groupId>org.jetbrains.kotlin</groupId>
463             <artifactId>kotlin-stdlib</artifactId>
464         </dependency>
465         <dependency>
466             <groupId>org.jetbrains.kotlin</groupId>
467             <artifactId>kotlin-script-util</artifactId>
468         </dependency>
469         <dependency>
470             <groupId>org.jetbrains.kotlin</groupId>
471             <artifactId>kotlin-stdlib-jdk8</artifactId>
472         </dependency>
473         <dependency>
474             <groupId>org.jetbrains.kotlinx</groupId>
475             <artifactId>kotlinx-coroutines-core</artifactId>
476         </dependency>
477         <dependency>
478             <groupId>org.jetbrains.kotlinx</groupId>
479             <artifactId>kotlinx-coroutines-reactor</artifactId>
480         </dependency>
481         <dependency>
482             <groupId>com.fasterxml.jackson.module</groupId>
483             <artifactId>jackson-module-kotlin</artifactId>
484         </dependency>
485         <dependency>
486             <groupId>org.jetbrains.kotlin</groupId>
487             <artifactId>kotlin-compiler-embeddable</artifactId>
488         </dependency>
489         <dependency>
490             <groupId>org.jetbrains.kotlin</groupId>
491             <artifactId>kotlin-scripting-jvm-host</artifactId>
492             <!--Use kotlin-compiler-embeddable as koltin-compiler wrap-->
493             <!--guava dependency creating classpath issues at runtime-->
494             <exclusions>
495                 <exclusion>
496                     <groupId>org.jetbrains.kotlin</groupId>
497                     <artifactId>kotlin-compiler</artifactId>
498                 </exclusion>
499             </exclusions>
500         </dependency>
501         <!-- GRPC Dependencies -->
502         <dependency>
503             <groupId>io.grpc</groupId>
504             <artifactId>grpc-netty</artifactId>
505         </dependency>
506         <dependency>
507             <groupId>io.grpc</groupId>
508             <artifactId>grpc-protobuf</artifactId>
509         </dependency>
510         <dependency>
511             <groupId>io.grpc</groupId>
512             <artifactId>grpc-stub</artifactId>
513         </dependency>
514         <dependency>
515             <groupId>com.google.protobuf</groupId>
516             <artifactId>protobuf-java-util</artifactId>
517         </dependency>
518     </dependencies>
519
520     <build>
521         <plugins>
522             <plugin>
523                 <groupId>org.jetbrains.kotlin</groupId>
524                 <artifactId>kotlin-maven-plugin</artifactId>
525                 <version>${kotlin.maven.version}</version>
526                 <executions>
527                     <execution>
528                         <id>compile</id>
529                         <goals>
530                             <goal>compile</goal>
531                         </goals>
532                         <configuration>
533                             <sourceDirs>
534                                 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
535                                 <sourceDir>${project.basedir}/src/main/java</sourceDir>
536                             </sourceDirs>
537                         </configuration>
538                     </execution>
539                     <execution>
540                         <id>test-compile</id>
541                         <goals>
542                             <goal>test-compile</goal>
543                         </goals>
544                         <configuration>
545                             <sourceDirs>
546                                 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
547                                 <sourceDir>${project.basedir}/src/test/java</sourceDir>
548                             </sourceDirs>
549                         </configuration>
550                     </execution>
551                 </executions>
552             </plugin>
553             <plugin>
554                 <groupId>org.apache.maven.plugins</groupId>
555                 <artifactId>maven-compiler-plugin</artifactId>
556                 <version>3.5.1</version>
557                 <configuration>
558                     <source>${maven.compiler.source}</source>
559                     <target>${maven.compiler.target}</target>
560                 </configuration>
561             </plugin>
562         </plugins>
563     </build>
564 </project>