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/maven-v4_0_0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6 <packaging>jar</packaging>
7 <groupId>org.onap.sdnc.northbound</groupId>
8 <artifactId>generic-resource-api-client</artifactId>
9 <version>1.6.0-SNAPSHOT</version>
11 <name>sdnc-northbound :: generic-resource-api:: ${project.artifactId}</name>
12 <url>http://wiki.onap.org</url>
13 <description>POM to be used for yang2swagger generation of client in SDNC project</description>
16 <groupId>org.onap.ccsdk.parent</groupId>
17 <artifactId>client-parent</artifactId>
18 <version>1.3.1-SNAPSHOT</version>
22 <!-- This is where the yang comes from -->
24 <groupId>${project.groupId}</groupId>
25 <artifactId>generic-resource-api-model</artifactId>
26 <version>${project.version}</version>
28 <!-- End this is where the yang comes from -->
34 <groupId>org.apache.maven.plugins</groupId>
35 <artifactId>maven-compiler-plugin</artifactId>
38 <groupId>org.apache.maven.plugins</groupId>
39 <artifactId>maven-dependency-plugin</artifactId>
41 <includeGroupIds>org.opendaylight.mdsal.model, org.onap.sdnc.northbound</includeGroupIds>
45 <artifactId>maven-antrun-plugin</artifactId>
48 <groupId>org.opendaylight.yangtools</groupId>
49 <artifactId>yang-maven-plugin</artifactId>
52 <groupId>io.swagger</groupId>
53 <artifactId>swagger-codegen-maven-plugin</artifactId>
62 <withXml>true</withXml>
63 <output>${project.build.directory}/generated-sources/swagger</output>
64 <generateApis>false</generateApis>
65 <generateApiTests>false</generateApiTests>
66 <generateModels>true</generateModels>
67 <generateModelTests>false</generateModelTests>
68 <generateSupportingFiles>true</generateSupportingFiles>
69 <apiPackage>org.onap.sdnc.northbound.client.handler</apiPackage>
70 <modelPackage>org.onap.sdnc.northbound.client.model</modelPackage>
71 <invokerPackage>org.onap.sdnc.northbound.client.invoker</invokerPackage>
72 <sourceFolder>src/main/java</sourceFolder>
73 <useBeanValidation>true</useBeanValidation>
74 <interfaceOnly>true</interfaceOnly>
75 <serializableModel>true</serializableModel>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-source-plugin</artifactId>
86 <groupId>org.codehaus.mojo</groupId>
87 <artifactId>build-helper-maven-plugin</artifactId>
88 <version>1.10</version>
91 <id>attach-artifacts</id>
92 <phase>package</phase>
94 <goal>attach-artifact</goal>
99 <file>target/generated-sources/swagger-maven-api-gen/client.yaml</file>