blob: 211a0b339d17da7d14a2d240a25c95c76b950030 [file] [log] [blame]
Sourabh Sourabhb5d7b532024-11-21 10:27:25 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
4 Copyright (C) 2023-2024 Nordix Foundation
5 ================================================================================
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 SPDX-License-Identifier: Apache-2.0
16 ============LICENSE_END=========================================================
17-->
18
19<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
21 <modelVersion>4.0.0</modelVersion>
22
23 <parent>
sourabh_sourabhf501c402024-11-26 13:45:56 +000024 <groupId>org.onap.cps.ncmp-dmi-plugin</groupId>
Sourabh Sourabhb5d7b532024-11-21 10:27:25 +000025 <artifactId>dmi-stub</artifactId>
26 <version>1.6.0-SNAPSHOT</version>
27 </parent>
28
29 <artifactId>dmi-stub-service</artifactId>
30 <packaging>jar</packaging>
31
32 <properties>
33 <gmavenplus.plugin.version>4.0.1</gmavenplus.plugin.version>
34 <maven.compiler.plugin.version>3.13.0</maven.compiler.plugin.version>
35 <maven.compiler.source>17</maven.compiler.source>
36 <maven.compiler.target>17</maven.compiler.target>
37 <maven.surefire.plugin.version>3.3.1</maven.surefire.plugin.version>
38 </properties>
39
40 <dependencies>
41 <dependency>
42 <groupId>ch.qos.logback</groupId>
43 <artifactId>logback-classic</artifactId>
44 <exclusions>
45 <exclusion>
46 <groupId>org.slf4j</groupId>
47 <artifactId>slf4j-api</artifactId>
48 </exclusion></exclusions>
49 </dependency>
50 <dependency>
51 <groupId>org.springframework.boot</groupId>
52 <artifactId>spring-boot-starter-web</artifactId>
53 <exclusions>
54 <exclusion>
55 <groupId>org.springframework.boot</groupId>
56 <artifactId>spring-boot-starter-tomcat</artifactId>
57 </exclusion>
58 </exclusions>
59 <scope>compile</scope>
60 </dependency>
61 <dependency>
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-actuator</artifactId>
64 </dependency>
65 <dependency>
66 <groupId>com.googlecode.json-simple</groupId>
67 <artifactId>json-simple</artifactId>
68 <version>1.1.1</version>
69 <exclusions>
70 <exclusion>
71 <groupId>junit</groupId>
72 <artifactId>junit</artifactId>
73 </exclusion>
74 </exclusions>
75 </dependency>
76 <dependency>
77 <groupId>org.projectlombok</groupId>
78 <artifactId>lombok</artifactId>
79 </dependency>
80 <dependency>
81 <groupId>io.cloudevents</groupId>
82 <artifactId>cloudevents-kafka</artifactId>
83 </dependency>
84 <dependency>
85 <groupId>io.cloudevents</groupId>
86 <artifactId>cloudevents-spring</artifactId>
87 </dependency>
88 <dependency>
89 <groupId>org.springframework.kafka</groupId>
90 <artifactId>spring-kafka</artifactId>
91 </dependency>
92 <dependency>
93 <groupId>org.apache.commons</groupId>
94 <artifactId>commons-lang3</artifactId>
95 </dependency>
96 <dependency>
97 <groupId>jakarta.servlet</groupId>
98 <artifactId>jakarta.servlet-api</artifactId>
99 </dependency>
100
101 <dependency>
sourabh_sourabhf501c402024-11-26 13:45:56 +0000102 <groupId>${cps.groupId}</groupId>
Sourabh Sourabhb5d7b532024-11-21 10:27:25 +0000103 <artifactId>cps-ncmp-events</artifactId>
104 <version>${cps.version}</version>
105 </dependency>
106 <dependency>
107 <groupId>org.springframework.boot</groupId>
108 <artifactId>spring-boot-starter-aop</artifactId>
109 </dependency>
110 <dependency>
111 <groupId>io.swagger.core.v3</groupId>
112 <artifactId>swagger-annotations</artifactId>
113 </dependency>
114
115 <!-- T E S T D E P E N D E N C I E S -->
116 <dependency>
117 <groupId>org.spockframework</groupId>
118 <artifactId>spock-core</artifactId>
119 <scope>test</scope>
120 </dependency>
121 <dependency>
122 <groupId>org.spockframework</groupId>
123 <artifactId>spock-spring</artifactId>
124 <scope>test</scope>
125 </dependency>
126 <dependency>
127 <groupId>org.springframework.boot</groupId>
128 <artifactId>spring-boot-starter-test</artifactId>
129 <scope>test</scope>
130 </dependency>
131 <dependency>
132 <groupId>org.codehaus.groovy</groupId>
133 <artifactId>groovy</artifactId>
134 <scope>test</scope>
135 </dependency>
136 <dependency>
137 <groupId>org.codehaus.groovy</groupId>
138 <artifactId>groovy-json</artifactId>
139 <scope>test</scope>
140 </dependency>
141
142 </dependencies>
143 <build>
144 <plugins>
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-compiler-plugin</artifactId>
148 <version>${maven.compiler.plugin.version}</version>
149 <configuration>
150 <encoding>${project.build.sourceEncoding}</encoding>
151 <source>17</source>
152 <target>17</target>
153 </configuration>
154 </plugin>
155 <plugin>
156 <groupId>org.codehaus.gmavenplus</groupId>
157 <artifactId>gmavenplus-plugin</artifactId>
158 <version>${gmavenplus.plugin.version}</version>
159 <executions>
160 <execution>
161 <goals>
162 <goal>compileTests</goal>
163 </goals>
164 </execution>
165 </executions>
166 </plugin>
167 <plugin>
168 <groupId>org.apache.maven.plugins</groupId>
169 <artifactId>maven-surefire-plugin</artifactId>
170 <version>${maven.surefire.plugin.version}</version>
171 <configuration>
172 <!--suppress UnresolvedMavenProperty -->
173 <argLine>${surefireArgLine}</argLine>
174 <useFile>false</useFile>
175 <includes>
176 <include>**/*Spec.java</include>
177 <include>**/*Test.java</include> <!-- Just in case of having also "normal" JUnit tests -->
178 </includes>
179 </configuration>
180 </plugin>
181 </plugins>
182 </build>
183</project>