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