Merge "Add Netconf Executor Function module"
[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   ~
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   -->
19 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20          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.apps</groupId>
24         <artifactId>blueprintsprocessor</artifactId>
25         <version>0.4.0-SNAPSHOT</version>
26     </parent>
27     <groupId>org.onap.ccsdk.apps.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         <spring.boot.version>2.1.1.RELEASE</spring.boot.version>
34         <spring.version>5.1.3.RELEASE</spring.version>
35         <kotlin.version>1.3.10</kotlin.version>
36         <kotlin.maven.version>1.3.10</kotlin.maven.version>
37         <kotlin.couroutines.version>1.0.1</kotlin.couroutines.version>
38         <grpc.version>1.16.1</grpc.version>
39         <eelf.version>1.0.0</eelf.version>
40         <sli.version>0.3.1</sli.version>
41         <guava.version>26.0-jre</guava.version>
42         <jython.version>2.7.1</jython.version>
43         <springfox.swagger2.version>2.9.2</springfox.swagger2.version>
44         <h2database.version>1.4.197</h2database.version>
45         <onap.logger.slf4j>1.2.2</onap.logger.slf4j>
46         <powermock.version>1.7.4</powermock.version>
47     </properties>
48     <dependencyManagement>
49         <dependencies>
50             <!-- Spring Boot -->
51             <dependency>
52                 <groupId>org.springframework.boot</groupId>
53                 <artifactId>spring-boot-starter-parent</artifactId>
54                 <version>${spring.boot.version}</version>
55                 <type>pom</type>
56                 <scope>import</scope>
57             </dependency>
58
59             <!-- Logging Dependencies -->
60             <dependency>
61                 <groupId>com.att.eelf</groupId>
62                 <artifactId>eelf-core</artifactId>
63                 <version>${eelf.version}</version>
64             </dependency>
65             <dependency>
66                 <groupId>org.onap.logging-analytics</groupId>
67                 <artifactId>logging-slf4j</artifactId>
68                 <version>${onap.logger.slf4j}</version>
69             </dependency>
70
71             <!-- Kotlin Dependencies -->
72             <dependency>
73                 <groupId>org.jetbrains.kotlin</groupId>
74                 <artifactId>kotlin-stdlib</artifactId>
75                 <version>${kotlin.version}</version>
76             </dependency>
77             <dependency>
78                 <groupId>org.jetbrains.kotlinx</groupId>
79                 <artifactId>kotlinx-coroutines-core</artifactId>
80                 <version>${kotlin.couroutines.version}</version>
81             </dependency>
82             <dependency>
83                 <groupId>org.jetbrains.kotlin</groupId>
84                 <artifactId>kotlin-reflect</artifactId>
85                 <version>${kotlin.version}</version>
86             </dependency>
87             <dependency>
88                 <groupId>org.jetbrains.kotlin</groupId>
89                 <artifactId>kotlin-stdlib-jdk8</artifactId>
90                 <version>${kotlin.version}</version>
91             </dependency>
92             <dependency>
93                 <groupId>org.jetbrains.kotlin</groupId>
94                 <artifactId>kotlin-stdlib-jdk7</artifactId>
95                 <version>${kotlin.version}</version>
96             </dependency>
97
98             <!-- GRPC Dependencies -->
99             <dependency>
100                 <groupId>io.grpc</groupId>
101                 <artifactId>grpc-core</artifactId>
102                 <version>${grpc.version}</version>
103             </dependency>
104             <dependency>
105                 <groupId>io.grpc</groupId>
106                 <artifactId>grpc-netty</artifactId>
107                 <version>${grpc.version}</version>
108             </dependency>
109             <dependency>
110                 <groupId>io.grpc</groupId>
111                 <artifactId>grpc-protobuf</artifactId>
112                 <version>${grpc.version}</version>
113             </dependency>
114             <dependency>
115                 <groupId>io.grpc</groupId>
116                 <artifactId>grpc-stub</artifactId>
117                 <version>${grpc.version}</version>
118             </dependency>
119
120             <!-- SLI Version -->
121             <dependency>
122                 <groupId>org.onap.ccsdk.sli.core</groupId>
123                 <artifactId>sli-provider</artifactId>
124                 <version>${sli.version}</version>
125                 <exclusions>
126                     <exclusion>
127                         <groupId>commons-lang</groupId>
128                         <artifactId>commons-lang</artifactId>
129                     </exclusion>
130                     <exclusion>
131                         <groupId>org.apache.commons</groupId>
132                         <artifactId>*</artifactId>
133                     </exclusion>
134                     <exclusion>
135                         <groupId>org.slf4j</groupId>
136                         <artifactId>*</artifactId>
137                     </exclusion>
138                     <exclusion>
139                         <groupId>org.opendaylight.mdsal.model</groupId>
140                         <artifactId>*</artifactId>
141                     </exclusion>
142                     <!--<exclusion>-->
143                     <!--<groupId>org.opendaylight.controller</groupId>-->
144                     <!--<artifactId>*</artifactId>-->
145                     <!--</exclusion>-->
146                     <exclusion>
147                         <groupId>org.apache.tomcat</groupId>
148                         <artifactId>*</artifactId>
149                     </exclusion>
150                     <exclusion>
151                         <groupId>org.apache.karaf.shell</groupId>
152                         <artifactId>*</artifactId>
153                     </exclusion>
154                     <exclusion>
155                         <groupId>org.mariadb.jdbc</groupId>
156                         <artifactId>*</artifactId>
157                     </exclusion>
158                     <exclusion>
159                         <groupId>org.powermock</groupId>
160                         <artifactId>*</artifactId>
161                     </exclusion>
162                 </exclusions>
163             </dependency>
164
165
166             <!-- Application Module Dependencies -->
167             <dependency>
168                 <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
169                 <artifactId>db-lib</artifactId>
170                 <version>${project.version}</version>
171             </dependency>
172             <dependency>
173                 <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
174                 <artifactId>rest-lib</artifactId>
175                 <version>${project.version}</version>
176             </dependency>
177             <dependency>
178                 <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
179                 <artifactId>core</artifactId>
180                 <version>${project.version}</version>
181             </dependency>
182             <dependency>
183                 <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
184                 <artifactId>execution-service</artifactId>
185                 <version>${project.version}</version>
186             </dependency>
187             <dependency>
188                 <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
189                 <artifactId>workflow-service</artifactId>
190                 <version>${project.version}</version>
191             </dependency>
192             <dependency>
193                 <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
194                 <artifactId>resource-api</artifactId>
195                 <version>${project.version}</version>
196             </dependency>
197             <dependency>
198                 <groupId>org.onap.ccsdk.apps.blueprintsprocessor</groupId>
199                 <artifactId>selfservice-api</artifactId>
200                 <version>${project.version}</version>
201             </dependency>
202
203             <!-- Functions -->
204             <dependency>
205                 <groupId>org.onap.ccsdk.apps.blueprintsprocessor.functions</groupId>
206                 <artifactId>resource-resolution</artifactId>
207                 <version>${project.version}</version>
208             </dependency>
209             <dependency>
210                 <groupId>org.onap.ccsdk.apps.blueprintsprocessor.functions</groupId>
211                 <artifactId>python-executor</artifactId>
212                 <version>${project.version}</version>
213             </dependency>
214             <dependency>
215                 <groupId>org.onap.ccsdk.apps.blueprintsprocessor.functions</groupId>
216                 <artifactId>netconf-executor</artifactId>
217                 <version>${project.version}</version>
218             </dependency>
219
220             <!-- Application Component Dependency -->
221             <dependency>
222                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
223                 <artifactId>resource-dict</artifactId>
224                 <version>${project.version}</version>
225             </dependency>
226
227             <!--Swagger Dependencies -->
228             <dependency>
229                 <groupId>io.springfox</groupId>
230                 <artifactId>springfox-swagger2</artifactId>
231                 <version>${springfox.swagger2.version}</version>
232             </dependency>
233             <dependency>
234                 <groupId>io.springfox</groupId>
235                 <artifactId>springfox-swagger-ui</artifactId>
236                 <version>${springfox.swagger2.version}</version>
237             </dependency>
238
239             <!-- Common Libs -->
240             <dependency>
241                 <groupId>org.apache.commons</groupId>
242                 <artifactId>commons-lang3</artifactId>
243                 <version>3.2.1</version>
244             </dependency>
245             <dependency>
246                 <groupId>commons-collections</groupId>
247                 <artifactId>commons-collections</artifactId>
248                 <version>3.2.2</version>
249             </dependency>
250             <dependency>
251                 <groupId>commons-io</groupId>
252                 <artifactId>commons-io</artifactId>
253                 <version>2.6</version>
254             </dependency>
255             <dependency>
256                 <groupId>org.apache.velocity</groupId>
257                 <artifactId>velocity</artifactId>
258                 <version>1.7</version>
259             </dependency>
260             <dependency>
261                 <groupId>com.google.guava</groupId>
262                 <artifactId>guava</artifactId>
263                 <version>${guava.version}</version>
264             </dependency>
265             <dependency>
266                 <groupId>org.python</groupId>
267                 <artifactId>jython-standalone</artifactId>
268                 <version>${jython.version}</version>
269             </dependency>
270
271             <!-- Database -->
272             <dependency>
273                 <groupId>com.h2database</groupId>
274                 <artifactId>h2</artifactId>
275                 <version>${h2database.version}</version>
276                 <scope>test</scope>
277             </dependency>
278             <!-- Test Dependency -->
279             <dependency>
280                 <groupId>org.powermock</groupId>
281                 <artifactId>powermock-api-mockito2</artifactId>
282                 <version>${powermock.version}</version>
283                 <scope>test</scope>
284             </dependency>
285             <dependency>
286                 <groupId>org.jetbrains.kotlin</groupId>
287                 <artifactId>kotlin-test-junit</artifactId>
288                 <version>${kotlin.version}</version>
289                 <scope>test</scope>
290             </dependency>
291             <dependency>
292                 <groupId>io.grpc</groupId>
293                 <artifactId>grpc-testing</artifactId>
294                 <version>${grpc.version}</version>
295                 <scope>test</scope>
296             </dependency>
297         </dependencies>
298     </dependencyManagement>
299
300     <dependencies>
301         <dependency>
302             <groupId>com.att.eelf</groupId>
303             <artifactId>eelf-core</artifactId>
304         </dependency>
305         <dependency>
306             <groupId>org.onap.logging-analytics</groupId>
307             <artifactId>logging-slf4j</artifactId>
308         </dependency>
309         <dependency>
310             <groupId>org.apache.commons</groupId>
311             <artifactId>commons-lang3</artifactId>
312         </dependency>
313         <dependency>
314             <groupId>commons-collections</groupId>
315             <artifactId>commons-collections</artifactId>
316         </dependency>
317         <dependency>
318             <groupId>commons-io</groupId>
319             <artifactId>commons-io</artifactId>
320         </dependency>
321         <dependency>
322             <groupId>com.jayway.jsonpath</groupId>
323             <artifactId>json-path</artifactId>
324         </dependency>
325         <dependency>
326             <groupId>io.springfox</groupId>
327             <artifactId>springfox-swagger2</artifactId>
328         </dependency>
329         <dependency>
330             <groupId>io.springfox</groupId>
331             <artifactId>springfox-swagger-ui</artifactId>
332         </dependency>
333         <dependency>
334             <groupId>org.jetbrains.kotlin</groupId>
335             <artifactId>kotlin-stdlib</artifactId>
336         </dependency>
337         <dependency>
338             <groupId>org.jetbrains.kotlin</groupId>
339             <artifactId>kotlin-stdlib-jdk8</artifactId>
340         </dependency>
341         <dependency>
342             <groupId>com.fasterxml.jackson.module</groupId>
343             <artifactId>jackson-module-kotlin</artifactId>
344         </dependency>
345         <!-- GRPC Dependencies -->
346         <dependency>
347             <groupId>io.grpc</groupId>
348             <artifactId>grpc-netty</artifactId>
349         </dependency>
350         <dependency>
351             <groupId>io.grpc</groupId>
352             <artifactId>grpc-protobuf</artifactId>
353         </dependency>
354         <dependency>
355             <groupId>io.grpc</groupId>
356             <artifactId>grpc-stub</artifactId>
357         </dependency>
358     </dependencies>
359
360     <build>
361         <plugins>
362             <plugin>
363                 <groupId>org.jetbrains.kotlin</groupId>
364                 <artifactId>kotlin-maven-plugin</artifactId>
365                 <version>${kotlin.maven.version}</version>
366                 <executions>
367                     <execution>
368                         <id>compile</id>
369                         <goals>
370                             <goal>compile</goal>
371                         </goals>
372                         <configuration>
373                             <sourceDirs>
374                                 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
375                                 <sourceDir>${project.basedir}/src/main/java</sourceDir>
376                             </sourceDirs>
377                         </configuration>
378                     </execution>
379                     <execution>
380                         <id>test-compile</id>
381                         <goals>
382                             <goal>test-compile</goal>
383                         </goals>
384                         <configuration>
385                             <sourceDirs>
386                                 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
387                                 <sourceDir>${project.basedir}/src/test/java</sourceDir>
388                             </sourceDirs>
389                         </configuration>
390                     </execution>
391                 </executions>
392             </plugin>
393             <plugin>
394                 <groupId>org.apache.maven.plugins</groupId>
395                 <artifactId>maven-compiler-plugin</artifactId>
396                 <version>3.5.1</version>
397                 <configuration>
398                     <source>${maven.compiler.source}</source>
399                     <target>${maven.compiler.target}</target>
400                 </configuration>
401             </plugin>
402         </plugins>
403     </build>
404 </project>