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