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