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