Use managed guava version
[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   ~ Licensed under the Apache License, Version 2.0 (the "License");
6   ~ you may not use this file except in compliance with the License.
7   ~ You may obtain a copy of the License at
8   ~
9   ~     http://www.apache.org/licenses/LICENSE-2.0
10   ~
11   ~ Unless required by applicable law or agreed to in writing, software
12   ~ distributed under the License is distributed on an "AS IS" BASIS,
13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   ~ See the License for the specific language governing permissions and
15   ~ limitations under the License.
16   -->
17 <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">
18     <modelVersion>4.0.0</modelVersion>
19     <parent>
20         <groupId>org.onap.ccsdk.apps</groupId>
21         <artifactId>controllerblueprints</artifactId>
22         <version>0.3.0-SNAPSHOT</version>
23     </parent>
24     <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
25     <artifactId>parent</artifactId>
26     <name>Controller Blueprints Parent</name>
27     <packaging>pom</packaging>
28     <properties>
29         <spring.boot.version>2.0.4.RELEASE</spring.boot.version>
30         <spring.version>5.0.8.RELEASE</spring.version>
31         <kotlin.version>1.2.60</kotlin.version>
32         <eelf.version>1.0.0</eelf.version>
33         <springfox.swagger2.version>2.9.2</springfox.swagger2.version>
34         <h2database.version>1.4.197</h2database.version>
35     </properties>
36     <dependencyManagement>
37         <dependencies>
38             <!-- Spring boot -->
39             <dependency>
40                 <groupId>org.springframework.boot</groupId>
41                 <artifactId>spring-boot-dependencies</artifactId>
42                 <version>${spring.boot.version}</version>
43                 <type>pom</type>
44                 <scope>import</scope>
45             </dependency>
46
47             <dependency>
48                 <groupId>com.att.eelf</groupId>
49                 <artifactId>eelf-core</artifactId>
50                 <version>${eelf.version}</version>
51             </dependency>
52
53             <!--Swagger Dependencies -->
54             <dependency>
55                 <groupId>io.springfox</groupId>
56                 <artifactId>springfox-swagger2</artifactId>
57                 <version>${springfox.swagger2.version}</version>
58             </dependency>
59             <dependency>
60                 <groupId>io.springfox</groupId>
61                 <artifactId>springfox-swagger-ui</artifactId>
62                 <version>${springfox.swagger2.version}</version>
63             </dependency>
64
65             <dependency>
66                 <groupId>org.apache.commons</groupId>
67                 <artifactId>commons-lang3</artifactId>
68                 <version>3.2.1</version>
69             </dependency>
70             <dependency>
71                 <groupId>commons-collections</groupId>
72                 <artifactId>commons-collections</artifactId>
73                 <version>3.2.2</version>
74             </dependency>
75             <dependency>
76                 <groupId>commons-io</groupId>
77                 <artifactId>commons-io</artifactId>
78                 <version>2.6</version>
79             </dependency>
80             <dependency>
81                 <groupId>org.apache.velocity</groupId>
82                 <artifactId>velocity</artifactId>
83                 <version>1.7</version>
84             </dependency>
85             <dependency>
86                 <groupId>com.google.guava</groupId>
87                 <artifactId>guava</artifactId>
88
89             </dependency>
90
91             <!-- Kotlin Dependencies -->
92             <dependency>
93                 <groupId>org.jetbrains.kotlin</groupId>
94                 <artifactId>kotlin-stdlib</artifactId>
95                 <version>${kotlin.version}</version>
96             </dependency>
97             <dependency>
98                 <groupId>org.jetbrains.kotlin</groupId>
99                 <artifactId>kotlin-reflect</artifactId>
100                 <version>${kotlin.version}</version>
101             </dependency>
102             <dependency>
103                 <groupId>org.jetbrains.kotlin</groupId>
104                 <artifactId>kotlin-stdlib-jdk8</artifactId>
105                 <version>${kotlin.version}</version>
106             </dependency>
107
108
109             <!-- Database -->
110             <dependency>
111                 <groupId>com.h2database</groupId>
112                 <artifactId>h2</artifactId>
113                 <version>${h2database.version}</version>
114             </dependency>
115             <dependency>
116                 <groupId>org.jetbrains.kotlin</groupId>
117                 <artifactId>kotlin-test</artifactId>
118                 <version>${kotlin.version}</version>
119                 <scope>test</scope>
120             </dependency>
121
122             <!-- Application Components -->
123             <dependency>
124                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
125                 <artifactId>core</artifactId>
126                 <version>${project.version}</version>
127             </dependency>
128             <dependency>
129                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
130                 <artifactId>service</artifactId>
131                 <version>${project.version}</version>
132             </dependency>
133             <dependency>
134                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
135                 <artifactId>application</artifactId>
136                 <version>${project.version}</version>
137             </dependency>
138             <dependency>
139                 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
140                 <artifactId>resource-dict</artifactId>
141                 <version>${project.version}</version>
142             </dependency>
143         </dependencies>
144     </dependencyManagement>
145
146     <dependencies>
147         <dependency>
148             <groupId>com.att.eelf</groupId>
149             <artifactId>eelf-core</artifactId>
150         </dependency>
151         <dependency>
152             <groupId>org.apache.commons</groupId>
153             <artifactId>commons-lang3</artifactId>
154          </dependency>
155         <dependency>
156             <groupId>commons-collections</groupId>
157             <artifactId>commons-collections</artifactId>
158         </dependency>
159         <dependency>
160             <groupId>commons-io</groupId>
161             <artifactId>commons-io</artifactId>
162         </dependency>
163         <dependency>
164             <groupId>com.jayway.jsonpath</groupId>
165             <artifactId>json-path</artifactId>
166         </dependency>
167         <dependency>
168             <groupId>io.springfox</groupId>
169             <artifactId>springfox-swagger2</artifactId>
170         </dependency>
171         <dependency>
172             <groupId>io.springfox</groupId>
173             <artifactId>springfox-swagger-ui</artifactId>
174         </dependency>
175         <dependency>
176             <groupId>org.jetbrains.kotlin</groupId>
177             <artifactId>kotlin-stdlib</artifactId>
178         </dependency>
179         <dependency>
180             <groupId>org.jetbrains.kotlin</groupId>
181             <artifactId>kotlin-stdlib-jdk8</artifactId>
182         </dependency>
183         <dependency>
184             <groupId>com.fasterxml.jackson.module</groupId>
185             <artifactId>jackson-module-kotlin</artifactId>
186         </dependency>
187         <!-- test -->
188         <dependency>
189             <groupId>junit</groupId>
190             <artifactId>junit</artifactId>
191             <scope>test</scope>
192         </dependency>
193         <dependency>
194             <groupId>org.jetbrains.kotlin</groupId>
195             <artifactId>kotlin-test</artifactId>
196             <scope>test</scope>
197         </dependency>
198         <dependency>
199             <groupId>io.projectreactor</groupId>
200             <artifactId>reactor-test</artifactId>
201             <scope>test</scope>
202         </dependency>
203     </dependencies>
204
205
206     <build>
207         <plugins>
208             <plugin>
209                 <groupId>org.apache.maven.plugins</groupId>
210                 <artifactId>maven-source-plugin</artifactId>
211                 <version>3.0.1</version>
212                 <executions>
213                     <execution>
214                         <id>attach-sources</id>
215                         <goals>
216                             <goal>jar</goal>
217                         </goals>
218                     </execution>
219                 </executions>
220             </plugin>
221
222             <plugin>
223                 <artifactId>kotlin-maven-plugin</artifactId>
224                 <groupId>org.jetbrains.kotlin</groupId>
225                 <version>${kotlin.version}</version>
226                 <executions>
227                     <execution>
228                         <id>compile</id>
229                         <goals>
230                             <goal>compile</goal>
231                         </goals>
232                         <configuration>
233                             <sourceDirs>
234                                 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
235                                 <sourceDir>${project.basedir}/src/main/java</sourceDir>
236                             </sourceDirs>
237                         </configuration>
238                     </execution>
239                     <execution>
240                         <id>test-compile</id>
241                         <goals>
242                             <goal>test-compile</goal>
243                         </goals>
244                         <configuration>
245                             <sourceDirs>
246                                 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
247                                 <sourceDir>${project.basedir}/src/test/java</sourceDir>
248                             </sourceDirs>
249                         </configuration>
250                     </execution>
251                 </executions>
252             </plugin>
253             <plugin>
254                 <groupId>org.apache.maven.plugins</groupId>
255                 <artifactId>maven-compiler-plugin</artifactId>
256                 <version>3.5.1</version>
257                 <configuration>
258                     <source>${maven.compiler.source}</source>
259                     <target>${maven.compiler.target}</target>
260                 </configuration>
261                 <executions>
262                     <!-- Replacing default-compile as it is treated specially by maven -->
263                     <execution>
264                         <id>default-compile</id>
265                         <phase>none</phase>
266                     </execution>
267                     <!-- Replacing default-testCompile as it is treated specially by maven -->
268                     <execution>
269                         <id>default-testCompile</id>
270                         <phase>none</phase>
271                     </execution>
272                     <execution>
273                         <id>java-compile</id>
274                         <phase>compile</phase>
275                         <goals>
276                             <goal>compile</goal>
277                         </goals>
278                     </execution>
279                     <execution>
280                         <id>java-test-compile</id>
281                         <phase>test-compile</phase>
282                         <goals>
283                             <goal>testCompile</goal>
284                         </goals>
285                     </execution>
286                 </executions>
287             </plugin>
288         </plugins>
289     </build>
290 </project>