Roll master to snapshot version for New Delhi release
[sdnc/northbound.git] / generic-resource-api / client / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3     <modelVersion>4.0.0</modelVersion>
4
5     <parent>
6         <groupId>org.onap.ccsdk.parent</groupId>
7         <artifactId>client-parent</artifactId>
8         <version>2.6.1</version>
9     </parent>
10
11     <groupId>org.onap.sdnc.northbound</groupId>
12     <artifactId>generic-resource-api-client</artifactId>
13     <version>2.7.0-SNAPSHOT</version>
14     <packaging>jar</packaging>
15
16     <name>sdnc-northbound :: generic-resource-api:: ${project.artifactId}</name>
17     <description>POM to be used for yang2swagger generation of client in SDNC project</description>
18     <url>http://wiki.onap.org</url>
19
20     <properties>
21         <java.version>17</java.version>
22         <maven-surefire-plugin.version>3.0.0-M8</maven-surefire-plugin.version>
23         <maven-failsafe-plugin.version>3.0.0-M8</maven-failsafe-plugin.version>
24         <bundle.plugin.version>5.1.1</bundle.plugin.version>
25         <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
26         <checkstyle.plugin.version>3.2.1</checkstyle.plugin.version>
27         <api.name>generic-resource</api.name>
28         <jackson.version>2.14.2</jackson.version>
29         <jaxb.version>2.3.1</jaxb.version>
30     </properties>
31
32     <dependencies>
33         <dependency>
34             <groupId>javax.annotation</groupId>
35             <artifactId>jsr250-api</artifactId>
36             <version>1.0</version>
37         </dependency>
38         <dependency>
39             <groupId>javax.xml.bind</groupId>
40             <artifactId>jaxb-api</artifactId>
41             <version>${jaxb.version}</version>
42         </dependency>
43         <dependency>
44             <groupId>org.projectlombok</groupId>
45             <artifactId>lombok</artifactId>
46             <version>1.18.26</version>
47             <scope>provided</scope>
48         </dependency>
49     </dependencies>
50
51     <build>
52         <plugins>
53             <plugin>
54                 <groupId>io.swagger</groupId>
55                 <artifactId>swagger-codegen-maven-plugin</artifactId>
56                 <dependencies>
57                     <dependency>
58                         <groupId>com.fasterxml.jackson.core</groupId>
59                         <artifactId>jackson-core</artifactId>
60                         <version>${jackson.version}</version>
61                     </dependency>
62                     <dependency>
63                         <groupId>com.fasterxml.jackson.core</groupId>
64                         <artifactId>jackson-databind</artifactId>
65                         <version>${jackson.version}</version>
66                     </dependency>
67                     <dependency>
68                         <groupId>com.fasterxml.jackson.core</groupId>
69                         <artifactId>jackson-annotations</artifactId>
70                         <version>${jackson.version}</version>
71                     </dependency>
72                     <dependency>
73                         <groupId>com.fasterxml.jackson.module</groupId>
74                         <artifactId>jackson-module-jaxb-annotations</artifactId>
75                         <version>${jackson.version}</version>
76                     </dependency>
77                     <dependency>
78                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
79                         <artifactId>jackson-jaxrs-base</artifactId>
80                         <version>${jackson.version}</version>
81                     </dependency>
82                     <dependency>
83                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
84                         <artifactId>jackson-jaxrs-json-provider</artifactId>
85                         <version>${jackson.version}</version>
86                     </dependency>
87                 </dependencies>
88                 <executions>
89                     <execution>
90                         <goals>
91                             <goal>generate</goal>
92                         </goals>
93                         <configuration>
94                             <inputSpec>${project.basedir}/../model/swagger/src/main/json/${api.name}.json</inputSpec>
95                             <language>spring</language>
96                             <configOptions>
97                                 <java8>true</java8>
98                                 <withXml>true</withXml>
99                                 <output>${project.build.directory}/generated-sources/swagger</output>
100                                 <generateApis>false</generateApis>
101                                 <generateApiTests>false</generateApiTests>
102                                 <generateModels>true</generateModels>
103                                 <generateModelTests>false</generateModelTests>
104                                 <generateSupportingFiles>true</generateSupportingFiles>
105                                 <apiPackage>org.onap.sdnc.northbound.client.handler</apiPackage>
106                                 <modelPackage>org.onap.sdnc.northbound.client.model</modelPackage>
107                                 <invokerPackage>org.onap.sdnc.northbound.client.invoker</invokerPackage>
108                                 <sourceFolder>src/main/java</sourceFolder>
109                                 <useBeanValidation>true</useBeanValidation>
110                                 <interfaceOnly>true</interfaceOnly>
111                                 <serializableModel>true</serializableModel>
112                             </configOptions>
113                         </configuration>
114                     </execution>
115                 </executions>
116             </plugin>
117             <plugin>
118                 <groupId>org.apache.maven.plugins</groupId>
119                 <artifactId>maven-source-plugin</artifactId>
120             </plugin>
121         </plugins>
122     </build>
123 </project>