Add GRPC Blueprint Processing API
[ccsdk/cds.git] / ms / controllerblueprints / 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20     <modelVersion>4.0.0</modelVersion>
21     <parent>
22         <groupId>org.onap.ccsdk.apps</groupId>
23         <artifactId>controllerblueprints</artifactId>
24         <version>0.4.0-SNAPSHOT</version>
25     </parent>
26     <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
27     <artifactId>parent</artifactId>
28     <name>Controller Blueprints Parent</name>
29     <packaging>pom</packaging>
30     <properties>
31         <spring.boot.version>2.1.1.RELEASE</spring.boot.version>
32         <spring.version>5.1.3.RELEASE</spring.version>
33         <kotlin.version>1.3.10</kotlin.version>
34         <kotlin.maven.version>1.3.10</kotlin.maven.version>
35         <kotlin.couroutines.version>1.0.1</kotlin.couroutines.version>
36         <grpc.version>1.16.1</grpc.version>
37         <protobuff.java.utils.version>3.6.1</protobuff.java.utils.version>
38         <eelf.version>1.0.0</eelf.version>
39         <guava.version>26.0-jre</guava.version>
40         <springfox.swagger2.version>2.9.2</springfox.swagger2.version>
41         <h2database.version>1.4.197</h2database.version>
42         <onap.logger.slf4j>1.2.2</onap.logger.slf4j>
43         <powermock.version>1.7.4</powermock.version>
44     </properties>
45     <dependencyManagement>
46         <dependencies>
47             <!-- Spring boot -->
48             <dependency>
49                 <groupId>org.springframework.boot</groupId>
50                 <artifactId>spring-boot-dependencies</artifactId>
51                 <version>${spring.boot.version}</version>
52                 <type>pom</type>
53                 <scope>import</scope>
54             </dependency>
55
56             <dependency>
57                 <groupId>com.att.eelf</groupId>
58                 <artifactId>eelf-core</artifactId>
59                 <version>${eelf.version}</version>
60             </dependency>
61             <dependency>
62                 <groupId>org.onap.logging-analytics</groupId>
63                 <artifactId>logging-slf4j</artifactId>
64                 <version>${onap.logger.slf4j}</version>
65             </dependency>
66
67             <!--Swagger Dependencies -->
68             <dependency>
69                 <groupId>io.springfox</groupId>
70                 <artifactId>springfox-swagger2</artifactId>
71                 <version>${springfox.swagger2.version}</version>
72             </dependency>
73             <dependency>
74                 <groupId>io.springfox</groupId>
75                 <artifactId>springfox-swagger-ui</artifactId>
76                 <version>${springfox.swagger2.version}</version>
77             </dependency>
78
79             <dependency>
80                 <groupId>org.apache.commons</groupId>
81                 <artifactId>commons-lang3</artifactId>
82                 <version>3.2.1</version>
83             </dependency>
84             <dependency>
85                 <groupId>commons-collections</groupId>
86                 <artifactId>commons-collections</artifactId>
87                 <version>3.2.2</version>
88             </dependency>
89             <dependency>
90                 <groupId>commons-io</groupId>
91                 <artifactId>commons-io</artifactId>
92                 <version>2.6</version>
93             </dependency>
94             <dependency>
95                 <groupId>org.apache.velocity</groupId>
96                 <artifactId>velocity</artifactId>
97                 <version>1.7</version>
98             </dependency>
99              <dependency>
100                 <groupId>com.google.guava</groupId>
101                 <artifactId>guava</artifactId>
102                 <version>${guava.version}</version>
103             </dependency>
104
105             <!-- Kotlin Dependencies -->
106             <dependency>
107                 <groupId>org.jetbrains.kotlin</groupId>
108                 <artifactId>kotlin-stdlib</artifactId>
109                 <version>${kotlin.version}</version>
110             </dependency>
111             <dependency>
112                 <groupId>org.jetbrains.kotlin</groupId>
113                 <artifactId>kotlinx-couroutines-core</artifactId>
114                 <version>${kotlin.couroutines.version}</version>
115             </dependency>
116             <dependency>
117                 <groupId>org.jetbrains.kotlin</groupId>
118                 <artifactId>kotlin-reflect</artifactId>
119                 <version>${kotlin.version}</version>
120             </dependency>
121             <dependency>
122                 <groupId>org.jetbrains.kotlin</groupId>
123                 <artifactId>kotlin-stdlib-jdk8</artifactId>
124                 <version>${kotlin.version}</version>
125             </dependency>
126             <dependency>
127                 <groupId>org.jetbrains.kotlin</groupId>
128                 <artifactId>kotlin-stdlib-jdk7</artifactId>
129                 <version>${kotlin.version}</version>
130             </dependency>
131
132             <!-- GRPC Dependencies -->
133             <dependency>
134                 <groupId>io.grpc</groupId>
135                 <artifactId>grpc-core</artifactId>
136                 <version>${grpc.version}</version>
137             </dependency>
138             <dependency>
139                 <groupId>io.grpc</groupId>
140                 <artifactId>grpc-netty</artifactId>
141                 <version>${grpc.version}</version>
142             </dependency>
143             <dependency>
144                 <groupId>io.grpc</groupId>
145                 <artifactId>grpc-protobuf</artifactId>
146                 <version>${grpc.version}</version>
147             </dependency>
148             <dependency>
149                 <groupId>io.grpc</groupId>
150                 <artifactId>grpc-stub</artifactId>
151                 <version>${grpc.version}</version>
152             </dependency>
153             <dependency>
154                 <groupId>com.google.protobuf</groupId>
155                 <artifactId>protobuf-java-util</artifactId>
156                 <version>${protobuff.java.utils.version}</version>
157             </dependency>
158
159             <!-- Database -->
160             <dependency>
161                 <groupId>com.h2database</groupId>
162                 <artifactId>h2</artifactId>
163                 <version>${h2database.version}</version>
164             </dependency>
165
166
167             <!-- Application Components -->
168             <dependency>
169                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
170                 <artifactId>core</artifactId>
171                 <version>${project.version}</version>
172             </dependency>
173             <dependency>
174                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
175                 <artifactId>service</artifactId>
176                 <version>${project.version}</version>
177             </dependency>
178             <dependency>
179                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
180                 <artifactId>application</artifactId>
181                 <version>${project.version}</version>
182             </dependency>
183             <dependency>
184                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
185                 <artifactId>resource-dict</artifactId>
186                 <version>${project.version}</version>
187             </dependency>
188
189             <!-- Testing Dependencies -->
190             <dependency>
191                 <groupId>org.powermock</groupId>
192                 <artifactId>powermock-api-mockito2</artifactId>
193                 <version>${powermock.version}</version>
194                 <scope>test</scope>
195             </dependency>
196             <dependency>
197                 <groupId>org.jetbrains.kotlin</groupId>
198                 <artifactId>kotlin-test-junit</artifactId>
199                 <version>${kotlin.version}</version>
200                 <scope>test</scope>
201             </dependency>
202             <dependency>
203                 <groupId>io.grpc</groupId>
204                 <artifactId>grpc-testing</artifactId>
205                 <version>${grpc.version}</version>
206                 <scope>test</scope>
207             </dependency>
208         </dependencies>
209     </dependencyManagement>
210
211     <dependencies>
212         <dependency>
213             <groupId>com.att.eelf</groupId>
214             <artifactId>eelf-core</artifactId>
215         </dependency>
216         <dependency>
217             <groupId>org.onap.logging-analytics</groupId>
218             <artifactId>logging-slf4j</artifactId>
219         </dependency>
220         <dependency>
221             <groupId>org.apache.commons</groupId>
222             <artifactId>commons-lang3</artifactId>
223          </dependency>
224         <dependency>
225             <groupId>commons-collections</groupId>
226             <artifactId>commons-collections</artifactId>
227         </dependency>
228         <dependency>
229             <groupId>commons-io</groupId>
230             <artifactId>commons-io</artifactId>
231         </dependency>
232         <dependency>
233             <groupId>com.jayway.jsonpath</groupId>
234             <artifactId>json-path</artifactId>
235         </dependency>
236         <dependency>
237             <groupId>io.springfox</groupId>
238             <artifactId>springfox-swagger2</artifactId>
239         </dependency>
240         <dependency>
241             <groupId>io.springfox</groupId>
242             <artifactId>springfox-swagger-ui</artifactId>
243         </dependency>
244         <dependency>
245             <groupId>org.jetbrains.kotlin</groupId>
246             <artifactId>kotlin-stdlib</artifactId>
247         </dependency>
248         <dependency>
249             <groupId>org.jetbrains.kotlin</groupId>
250             <artifactId>kotlin-stdlib-jdk8</artifactId>
251         </dependency>
252         <dependency>
253             <groupId>com.fasterxml.jackson.module</groupId>
254             <artifactId>jackson-module-kotlin</artifactId>
255         </dependency>
256     </dependencies>
257
258     <build>
259         <plugins>
260             <plugin>
261                 <groupId>org.apache.maven.plugins</groupId>
262                 <artifactId>maven-source-plugin</artifactId>
263                 <version>3.0.1</version>
264                 <executions>
265                     <execution>
266                         <id>attach-sources</id>
267                         <goals>
268                             <goal>jar</goal>
269                         </goals>
270                     </execution>
271                 </executions>
272             </plugin>
273
274             <plugin>
275                 <artifactId>kotlin-maven-plugin</artifactId>
276                 <groupId>org.jetbrains.kotlin</groupId>
277                 <version>${kotlin.maven.version}</version>
278                 <executions>
279                     <execution>
280                         <id>compile</id>
281                         <goals>
282                             <goal>compile</goal>
283                         </goals>
284                         <configuration>
285                             <sourceDirs>
286                                 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
287                                 <sourceDir>${project.basedir}/src/main/java</sourceDir>
288                             </sourceDirs>
289                         </configuration>
290                     </execution>
291                     <execution>
292                         <id>test-compile</id>
293                         <goals>
294                             <goal>test-compile</goal>
295                         </goals>
296                         <configuration>
297                             <sourceDirs>
298                                 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
299                                 <sourceDir>${project.basedir}/src/test/java</sourceDir>
300                             </sourceDirs>
301                         </configuration>
302                     </execution>
303                 </executions>
304             </plugin>
305             <plugin>
306                 <groupId>org.apache.maven.plugins</groupId>
307                 <artifactId>maven-compiler-plugin</artifactId>
308                 <version>3.5.1</version>
309                 <configuration>
310                     <source>${maven.compiler.source}</source>
311                     <target>${maven.compiler.target}</target>
312                 </configuration>
313                 <executions>
314                     <!-- Replacing default-compile as it is treated specially by maven -->
315                     <execution>
316                         <id>default-compile</id>
317                         <phase>none</phase>
318                     </execution>
319                     <!-- Replacing default-testCompile as it is treated specially by maven -->
320                     <execution>
321                         <id>default-testCompile</id>
322                         <phase>none</phase>
323                     </execution>
324                     <execution>
325                         <id>java-compile</id>
326                         <phase>compile</phase>
327                         <goals>
328                             <goal>compile</goal>
329                         </goals>
330                     </execution>
331                     <execution>
332                         <id>java-test-compile</id>
333                         <phase>test-compile</phase>
334                         <goals>
335                             <goal>testCompile</goal>
336                         </goals>
337                     </execution>
338                 </executions>
339             </plugin>
340         </plugins>
341     </build>
342 </project>