0717d484178b09ec0c36b153aef8660ae3f6a41d
[ccsdk/cds.git] / ms / error-catalog / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Copyright © 2018-2019 AT&T Intellectual Property.
4   ~
5   ~ Licensed under the Apache License, Version 2.0 (the "License");
6   ~ you may not use this file except in compliance with the License.
7   ~ You may obtain a copy of the License at
8   ~
9   ~     http://www.apache.org/licenses/LICENSE-2.0
10   ~
11   ~ Unless required by applicable law or agreed to in writing, software
12   ~ distributed under the License is distributed on an "AS IS" BASIS,
13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   ~ See the License for the specific language governing permissions and
15   ~ limitations under the License.
16   -->
17 <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">
18     <modelVersion>4.0.0</modelVersion>
19
20     <parent>
21         <groupId>org.onap.ccsdk.cds</groupId>
22         <artifactId>cds-ms</artifactId>
23         <version>1.4.2-SNAPSHOT</version>
24         <relativePath>..</relativePath>
25     </parent>
26
27     <groupId>org.onap.ccsdk.cds.error.catalog</groupId>
28     <artifactId>error-catalog</artifactId>
29     <packaging>pom</packaging>
30
31     <name>MS Error Catalog (Root)</name>
32     <description>Error Catalog Lib for ONAP Components</description>
33
34     <modules>
35         <module>application</module>
36         <module>core</module>
37         <module>services</module>
38     </modules>
39
40     <properties>
41         <error-catalog.version>${project.version}</error-catalog.version>
42     </properties>
43
44     <dependencyManagement>
45         <dependencies>
46             <dependency>
47                 <groupId>org.onap.ccsdk.cds.error.catalog</groupId>
48                 <artifactId>error-catalog-core</artifactId>
49                 <version>${error-catalog.version}</version>
50             </dependency>
51             <dependency>
52                 <groupId>org.onap.ccsdk.cds.error.catalog</groupId>
53                 <artifactId>error-catalog-services</artifactId>
54                 <version>${error-catalog.version}</version>
55             </dependency>
56         </dependencies>
57     </dependencyManagement>
58     <dependencies>
59         <!-- Kotlin Dependencies -->
60         <dependency>
61             <groupId>org.jetbrains.kotlin</groupId>
62             <artifactId>kotlin-stdlib</artifactId>
63         </dependency>
64         <dependency>
65             <groupId>org.jetbrains.kotlin</groupId>
66             <artifactId>kotlin-reflect</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>org.jetbrains.kotlin</groupId>
70             <artifactId>kotlin-stdlib-common</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>org.jetbrains.kotlin</groupId>
74             <artifactId>kotlin-compiler-embeddable</artifactId>
75         </dependency>
76         <dependency>
77             <groupId>org.springframework.boot</groupId>
78             <artifactId>spring-boot-starter-test</artifactId>
79             <scope>test</scope>
80         </dependency>
81     </dependencies>
82
83     <build>
84         <plugins>
85             <plugin>
86                 <groupId>org.jetbrains.kotlin</groupId>
87                 <artifactId>kotlin-maven-plugin</artifactId>
88                 <executions>
89                     <execution>
90                         <id>compile</id>
91                         <goals>
92                             <goal>compile</goal>
93                         </goals>
94                         <configuration>
95                             <sourceDirs>
96                                 <sourceDir>src/main/kotlin</sourceDir>
97                             </sourceDirs>
98                         </configuration>
99                     </execution>
100                     <execution>
101                         <id>test-compile</id>
102                         <goals>
103                             <goal>test-compile</goal>
104                         </goals>
105                         <configuration>
106                             <sourceDirs>
107                                 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
108                             </sourceDirs>
109                         </configuration>
110                     </execution>
111                 </executions>
112             </plugin>
113         </plugins>
114     </build>
115 </project>