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>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>client-parent</artifactId>
8 <version>2.2.0-SNAPSHOT</version>
11 <groupId>org.onap.sdnc.northbound</groupId>
12 <artifactId>generic-resource-api-client</artifactId>
13 <version>2.2.0-SNAPSHOT</version>
14 <packaging>jar</packaging>
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>
21 <api.name>generic-resource</api.name>
25 <groupId>javax.annotation</groupId>
26 <artifactId>jsr250-api</artifactId>
27 <version>1.0</version>
33 <groupId>io.swagger</groupId>
34 <artifactId>swagger-codegen-maven-plugin</artifactId>
41 <inputSpec>${project.basedir}/../model/swagger/src/main/json/${api.name}.json</inputSpec>
42 <language>spring</language>
45 <withXml>true</withXml>
46 <output>${project.build.directory}/generated-sources/swagger</output>
47 <generateApis>false</generateApis>
48 <generateApiTests>false</generateApiTests>
49 <generateModels>true</generateModels>
50 <generateModelTests>false</generateModelTests>
51 <generateSupportingFiles>true</generateSupportingFiles>
52 <apiPackage>org.onap.sdnc.northbound.client.handler</apiPackage>
53 <modelPackage>org.onap.sdnc.northbound.client.model</modelPackage>
54 <invokerPackage>org.onap.sdnc.northbound.client.invoker</invokerPackage>
55 <sourceFolder>src/main/java</sourceFolder>
56 <useBeanValidation>true</useBeanValidation>
57 <interfaceOnly>true</interfaceOnly>
58 <serializableModel>true</serializableModel>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-source-plugin</artifactId>