Release Jakarta M4 artifacts
[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.3.3</version>
9     </parent>
10
11     <groupId>org.onap.sdnc.northbound</groupId>
12     <artifactId>generic-resource-api-client</artifactId>
13     <version>2.3.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     <dependencies>
25         <dependency>
26             <groupId>javax.annotation</groupId>
27             <artifactId>jsr250-api</artifactId>
28             <version>1.0</version>
29         </dependency>
30     </dependencies>
31
32     <build>
33         <plugins>
34             <plugin>
35                 <groupId>io.swagger</groupId>
36                 <artifactId>swagger-codegen-maven-plugin</artifactId>
37                 <executions>
38                     <execution>
39                         <goals>
40                             <goal>generate</goal>
41                         </goals>
42                         <configuration>
43                             <inputSpec>${project.basedir}/../model/swagger/src/main/json/${api.name}.json</inputSpec>
44                             <language>spring</language>
45                             <configOptions>
46                                 <java8>true</java8>
47                                 <withXml>true</withXml>
48                                 <output>${project.build.directory}/generated-sources/swagger</output>
49                                 <generateApis>false</generateApis>
50                                 <generateApiTests>false</generateApiTests>
51                                 <generateModels>true</generateModels>
52                                 <generateModelTests>false</generateModelTests>
53                                 <generateSupportingFiles>true</generateSupportingFiles>
54                                 <apiPackage>org.onap.sdnc.northbound.client.handler</apiPackage>
55                                 <modelPackage>org.onap.sdnc.northbound.client.model</modelPackage>
56                                 <invokerPackage>org.onap.sdnc.northbound.client.invoker</invokerPackage>
57                                 <sourceFolder>src/main/java</sourceFolder>
58                                 <useBeanValidation>true</useBeanValidation>
59                                 <interfaceOnly>true</interfaceOnly>
60                                 <serializableModel>true</serializableModel>
61                             </configOptions>
62                         </configuration>
63                     </execution>
64                 </executions>
65             </plugin>
66             <plugin>
67                 <groupId>org.apache.maven.plugins</groupId>
68                 <artifactId>maven-source-plugin</artifactId>
69             </plugin>
70         </plugins>
71     </build>
72 </project>