f7929e2f076ac915f79b0b127d0d9808d64d0875
[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.5.0-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         <dependency>
82             <groupId>org.junit.vintage</groupId>
83             <artifactId>junit-vintage-engine</artifactId>
84             <scope>test</scope>
85         </dependency>
86     </dependencies>
87
88     <build>
89         <plugins>
90             <plugin>
91                 <groupId>org.jetbrains.kotlin</groupId>
92                 <artifactId>kotlin-maven-plugin</artifactId>
93                 <executions>
94                     <execution>
95                         <id>compile</id>
96                         <goals>
97                             <goal>compile</goal>
98                         </goals>
99                         <configuration>
100                             <sourceDirs>
101                                 <sourceDir>src/main/kotlin</sourceDir>
102                             </sourceDirs>
103                         </configuration>
104                     </execution>
105                     <execution>
106                         <id>test-compile</id>
107                         <goals>
108                             <goal>test-compile</goal>
109                         </goals>
110                         <configuration>
111                             <sourceDirs>
112                                 <sourceDir>${project.basedir}/src/test/kotlin</sourceDir>
113                             </sourceDirs>
114                         </configuration>
115                     </execution>
116                 </executions>
117             </plugin>
118         </plugins>
119     </build>
120 </project>