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