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