a75acbec2e89b0ed7c6c6c971acff1ae368d0cdd
[oam/nf-oam-adopter.git] / ves-nf-oam-adopter / ves-nf-oam-adopter-api / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 * ============LICENSE_START=======================================================
4 * O-RAN-SC
5 * ================================================================================
6 * Copyright (C) 2021 AT&T Intellectual Property. All rights reserved.
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END============================================
20 *
21 -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26
27     <parent>
28         <groupId>org.o-ran-sc.oam</groupId>
29         <artifactId>ves-nf-oam-adopter-parent</artifactId>
30         <version>1.0.0-SNAPSHOT</version>
31         <relativePath>../ves-nf-oam-adopter-parent/pom.xml</relativePath>
32     </parent>
33
34     <artifactId>ves-nf-oam-adopter-api</artifactId>
35
36     <properties>
37         <schema.package.api>org.o.ran.oam.nf.oam.adopter.api</schema.package.api>
38         <spotbugs.skip>true</spotbugs.skip>
39         <!-- Plugins Versions -->
40         <jsonschema2pojo.version>1.0.2</jsonschema2pojo.version>
41     </properties>
42
43     <dependencies>
44         <dependency>
45             <groupId>com.google.code.gson</groupId>
46             <artifactId>gson</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>org.eclipse.jdt</groupId>
50             <artifactId>org.eclipse.jdt.annotation</artifactId>
51         </dependency>
52         <dependency>
53             <groupId>io.reactivex.rxjava3</groupId>
54             <artifactId>rxjava</artifactId>
55         </dependency>
56     </dependencies>
57
58     <build>
59         <plugins>
60             <plugin>
61                 <groupId>org.jsonschema2pojo</groupId>
62                 <artifactId>jsonschema2pojo-maven-plugin</artifactId>
63                 <version>${jsonschema2pojo.version}</version>
64                 <configuration>
65                     <sourceDirectory>${basedir}/src/main/resources/schema</sourceDirectory>
66                     <targetPackage>${schema.package.api}</targetPackage>
67                     <generateBuilders>true</generateBuilders>
68                     <includeConstructors>true</includeConstructors>
69                     <annotationStyle>gson</annotationStyle>
70                     <useLongIntegers>true</useLongIntegers>
71                 </configuration>
72                 <executions>
73                     <execution>
74                         <goals>
75                             <goal>generate</goal>
76                         </goals>
77                     </execution>
78                 </executions>
79             </plugin>
80         </plugins>
81     </build>
82 </project>