Roll versions to next Guilin snapshot
[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.0.1-SNAPSHOT</version>
9     </parent>
10
11     <groupId>org.onap.sdnc.northbound</groupId>
12     <artifactId>generic-resource-api-client</artifactId>
13     <version>2.0.1-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         <api.name>generic-resource</api.name>
22     </properties>
23
24     <build>
25         <plugins>
26             <plugin>
27                 <groupId>io.swagger</groupId>
28                 <artifactId>swagger-codegen-maven-plugin</artifactId>
29                 <executions>
30                     <execution>
31                         <goals>
32                             <goal>generate</goal>
33                         </goals>
34                         <configuration>
35                             <inputSpec>${project.basedir}/../model/swagger/src/main/json/${api.name}.json</inputSpec>
36                             <language>spring</language>
37                             <configOptions>
38                                 <java8>true</java8>
39                                 <withXml>true</withXml>
40                                 <output>${project.build.directory}/generated-sources/swagger</output>
41                                 <generateApis>false</generateApis>
42                                 <generateApiTests>false</generateApiTests>
43                                 <generateModels>true</generateModels>
44                                 <generateModelTests>false</generateModelTests>
45                                 <generateSupportingFiles>true</generateSupportingFiles>
46                                 <apiPackage>org.onap.sdnc.northbound.client.handler</apiPackage>
47                                 <modelPackage>org.onap.sdnc.northbound.client.model</modelPackage>
48                                 <invokerPackage>org.onap.sdnc.northbound.client.invoker</invokerPackage>
49                                 <sourceFolder>src/main/java</sourceFolder>
50                                 <useBeanValidation>true</useBeanValidation>
51                                 <interfaceOnly>true</interfaceOnly>
52                                                                 <serializableModel>true</serializableModel>
53                             </configOptions>
54                         </configuration>
55                     </execution>
56                 </executions>
57             </plugin>
58             <plugin>
59                 <groupId>org.apache.maven.plugins</groupId>
60                 <artifactId>maven-source-plugin</artifactId>
61             </plugin>
62         </plugins>
63     </build>
64 </project>