blob: 71310f1e69947b3fe5bae22c1a488b53a7c19101 [file] [log] [blame]
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +00001<?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 -->
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -050019<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">
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +000021 <modelVersion>4.0.0</modelVersion>
22 <parent>
23 <groupId>org.onap.ccsdk.apps</groupId>
24 <artifactId>components</artifactId>
Timoney, Dan (dt5972)71ed2c92018-10-25 10:34:51 -040025 <version>0.4.0-SNAPSHOT</version>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +000026 </parent>
27 <groupId>org.onap.ccsdk.apps.components</groupId>
28 <artifactId>parent</artifactId>
29 <name>App Components Parent</name>
30 <packaging>pom</packaging>
31 <properties>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -050032 <spring.boot.version>2.0.6.RELEASE</spring.boot.version>
33 <spring.version>5.0.10.RELEASE</spring.version>
Muthuramalingam, Brinda Santh(bs2796)ec928662018-11-15 08:36:28 -050034 <kotlin.version>1.3.10</kotlin.version>
35 <kotlin.maven.version>1.3.0</kotlin.maven.version>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -050036 <kotlin.couroutines.version>1.0.1</kotlin.couroutines.version>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +000037 <eelf.version>1.0.0</eelf.version>
38 <guava.version>26.0-jre</guava.version>
39 <springfox.swagger2.version>2.9.2</springfox.swagger2.version>
40 <h2database.version>1.4.197</h2database.version>
Timoney, Dan (dt5972)71ed2c92018-10-25 10:34:51 -040041 <onap.logger.slf4j>1.2.2</onap.logger.slf4j>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -050042 <powermock.version>1.7.4</powermock.version>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +000043 </properties>
44 <dependencyManagement>
45 <dependencies>
46 <!-- Spring boot -->
47 <dependency>
48 <groupId>org.springframework.boot</groupId>
49 <artifactId>spring-boot-dependencies</artifactId>
50 <version>${spring.boot.version}</version>
51 <type>pom</type>
52 <scope>import</scope>
53 </dependency>
54
55 <dependency>
56 <groupId>com.att.eelf</groupId>
57 <artifactId>eelf-core</artifactId>
58 <version>${eelf.version}</version>
59 </dependency>
60 <dependency>
61 <groupId>org.onap.logging-analytics</groupId>
62 <artifactId>logging-slf4j</artifactId>
63 <version>${onap.logger.slf4j}</version>
64 </dependency>
65
66 <!--Swagger Dependencies -->
67 <dependency>
68 <groupId>io.springfox</groupId>
69 <artifactId>springfox-swagger2</artifactId>
70 <version>${springfox.swagger2.version}</version>
71 </dependency>
72 <dependency>
73 <groupId>io.springfox</groupId>
74 <artifactId>springfox-swagger-ui</artifactId>
75 <version>${springfox.swagger2.version}</version>
76 </dependency>
77
78 <dependency>
79 <groupId>org.apache.commons</groupId>
80 <artifactId>commons-lang3</artifactId>
81 <version>3.2.1</version>
82 </dependency>
83 <dependency>
84 <groupId>commons-collections</groupId>
85 <artifactId>commons-collections</artifactId>
86 <version>3.2.2</version>
87 </dependency>
88 <dependency>
89 <groupId>commons-io</groupId>
90 <artifactId>commons-io</artifactId>
91 <version>2.6</version>
92 </dependency>
93 <dependency>
94 <groupId>org.apache.velocity</groupId>
95 <artifactId>velocity</artifactId>
96 <version>1.7</version>
97 </dependency>
98 <dependency>
99 <groupId>com.google.guava</groupId>
100 <artifactId>guava</artifactId>
101 <version>${guava.version}</version>
102 </dependency>
103
104 <!-- Kotlin Dependencies -->
105 <dependency>
106 <groupId>org.jetbrains.kotlin</groupId>
107 <artifactId>kotlin-stdlib</artifactId>
108 <version>${kotlin.version}</version>
109 </dependency>
110 <dependency>
111 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500112 <artifactId>kotlinx-couroutines-core</artifactId>
113 <version>${kotlin.couroutines.version}</version>
114 </dependency>
115 <dependency>
116 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000117 <artifactId>kotlin-reflect</artifactId>
118 <version>${kotlin.version}</version>
119 </dependency>
120 <dependency>
121 <groupId>org.jetbrains.kotlin</groupId>
122 <artifactId>kotlin-stdlib-jdk8</artifactId>
123 <version>${kotlin.version}</version>
124 </dependency>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500125 <dependency>
126 <groupId>org.jetbrains.kotlin</groupId>
127 <artifactId>kotlin-stdlib-jdk7</artifactId>
128 <version>${kotlin.version}</version>
129 </dependency>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000130
131
132 <!-- Database -->
133 <dependency>
134 <groupId>com.h2database</groupId>
135 <artifactId>h2</artifactId>
136 <version>${h2database.version}</version>
137 </dependency>
138
139
140 <!-- Application Components -->
141 <dependency>
142 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
143 <artifactId>core</artifactId>
144 <version>${project.version}</version>
145 </dependency>
146 <dependency>
147 <groupId>org.onap.ccsdk.apps.controllerblueprints</groupId>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000148 <artifactId>resource-dict</artifactId>
149 <version>${project.version}</version>
150 </dependency>
151
152 <!-- Testing Dependencies -->
153 <dependency>
154 <groupId>org.powermock</groupId>
155 <artifactId>powermock-api-mockito2</artifactId>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500156 <version>${powermock.version}</version>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000157 <scope>test</scope>
158 </dependency>
159 <dependency>
160 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500161 <artifactId>kotlin-test-junit</artifactId>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000162 <version>${kotlin.version}</version>
163 <scope>test</scope>
164 </dependency>
165 </dependencies>
166 </dependencyManagement>
167
168 <dependencies>
169 <dependency>
170 <groupId>com.att.eelf</groupId>
171 <artifactId>eelf-core</artifactId>
172 </dependency>
173 <dependency>
174 <groupId>org.onap.logging-analytics</groupId>
175 <artifactId>logging-slf4j</artifactId>
176 </dependency>
177 <dependency>
178 <groupId>org.apache.commons</groupId>
179 <artifactId>commons-lang3</artifactId>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500180 </dependency>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000181 <dependency>
182 <groupId>commons-collections</groupId>
183 <artifactId>commons-collections</artifactId>
184 </dependency>
185 <dependency>
186 <groupId>commons-io</groupId>
187 <artifactId>commons-io</artifactId>
188 </dependency>
189 <dependency>
190 <groupId>com.jayway.jsonpath</groupId>
191 <artifactId>json-path</artifactId>
192 </dependency>
Muthuramalingam, Brinda Santh(bs2796)a9bf0542018-11-10 11:54:05 -0500193 <dependency>
194 <groupId>com.google.guava</groupId>
195 <artifactId>guava</artifactId>
196 </dependency>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000197 <dependency>
198 <groupId>io.springfox</groupId>
199 <artifactId>springfox-swagger2</artifactId>
200 </dependency>
201 <dependency>
202 <groupId>io.springfox</groupId>
203 <artifactId>springfox-swagger-ui</artifactId>
204 </dependency>
205 <dependency>
206 <groupId>org.jetbrains.kotlin</groupId>
207 <artifactId>kotlin-stdlib</artifactId>
208 </dependency>
209 <dependency>
210 <groupId>org.jetbrains.kotlin</groupId>
211 <artifactId>kotlin-stdlib-jdk8</artifactId>
212 </dependency>
213 <dependency>
214 <groupId>com.fasterxml.jackson.module</groupId>
215 <artifactId>jackson-module-kotlin</artifactId>
216 </dependency>
217 </dependencies>
218
219 <build>
220 <plugins>
221 <plugin>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-source-plugin</artifactId>
224 <version>3.0.1</version>
225 <executions>
226 <execution>
227 <id>attach-sources</id>
228 <goals>
229 <goal>jar</goal>
230 </goals>
231 </execution>
232 </executions>
233 </plugin>
234
235 <plugin>
236 <artifactId>kotlin-maven-plugin</artifactId>
237 <groupId>org.jetbrains.kotlin</groupId>
Muthuramalingam, Brinda Santh(bs2796)ec928662018-11-15 08:36:28 -0500238 <version>${kotlin.maven.version}</version>
Muthuramalingam, Brinda Santh(bs2796)594b5e12018-09-04 20:24:35 +0000239 <executions>
240 <execution>
241 <id>compile</id>
242 <goals>
243 <goal>compile</goal>
244 </goals>
245 <configuration>
246 <sourceDirs>
247 <sourceDir>${project.basedir}/src/main/kotlin</sourceDir>
248 <sourceDir>${project.basedir}/src/main/java</sourceDir>
249 </sourceDirs>
250 </configuration>
251 </execution>
252 <execution>
253 <id>test-compile</id>
254 <goals>
255 <goal>test-compile</goal>
256 </goals>
257 <configuration>
258 <sourceDirs>
259 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
260 <sourceDir>${project.basedir}/src/test/java</sourceDir>
261 </sourceDirs>
262 </configuration>
263 </execution>
264 </executions>
265 </plugin>
266 <plugin>
267 <groupId>org.apache.maven.plugins</groupId>
268 <artifactId>maven-compiler-plugin</artifactId>
269 <version>3.5.1</version>
270 <configuration>
271 <source>${maven.compiler.source}</source>
272 <target>${maven.compiler.target}</target>
273 </configuration>
274 <executions>
275 <!-- Replacing default-compile as it is treated specially by maven -->
276 <execution>
277 <id>default-compile</id>
278 <phase>none</phase>
279 </execution>
280 <!-- Replacing default-testCompile as it is treated specially by maven -->
281 <execution>
282 <id>default-testCompile</id>
283 <phase>none</phase>
284 </execution>
285 <execution>
286 <id>java-compile</id>
287 <phase>compile</phase>
288 <goals>
289 <goal>compile</goal>
290 </goals>
291 </execution>
292 <execution>
293 <id>java-test-compile</id>
294 <phase>test-compile</phase>
295 <goals>
296 <goal>testCompile</goal>
297 </goals>
298 </execution>
299 </executions>
300 </plugin>
301 </plugins>
302 </build>
303</project>