blob: a98220460692369e4270f92fd9154d69256155f7 [file] [log] [blame]
Timoney, Dan (dt5972)eadb5f52018-07-27 10:07:10 -04001<?xml version="1.0" encoding="UTF-8"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5
6
7 <modelVersion>4.0.0</modelVersion>
8 <packaging>jar</packaging>
9 <groupId>org.onap.sdnc.northbound</groupId>
10 <artifactId>generic-resource-api-client</artifactId>
Timoney, Dan (dt5972)7c9b6372018-10-23 14:09:28 -040011 <version>1.5.0-SNAPSHOT</version>
Timoney, Dan (dt5972)eadb5f52018-07-27 10:07:10 -040012
13 <name>sdnc-northbound :: generic-resource-api:: ${project.artifactId}</name>
14 <url>http://wiki.onap.org</url>
15 <description>POM to be used for yang2swagger generation of client in SDNC project</description>
16
17 <parent>
18 <groupId>org.onap.ccsdk.parent</groupId>
19 <artifactId>client-parent</artifactId>
Timoney, Dan (dt5972)7c9b6372018-10-23 14:09:28 -040020 <version>1.2.0-SNAPSHOT</version>
Timoney, Dan (dt5972)eadb5f52018-07-27 10:07:10 -040021 </parent>
22
23 <dependencies>
24 <!-- This is where the yang comes from -->
25 <dependency>
26 <groupId>${project.groupId}</groupId>
27 <artifactId>generic-resource-api-model</artifactId>
28 <version>${project.version}</version>
29 </dependency>
30 <!-- End this is where the yang comes from -->
31 </dependencies>
32
33 <build>
34 <plugins>
35 <plugin>
36 <groupId>org.apache.maven.plugins</groupId>
37 <artifactId>maven-compiler-plugin</artifactId>
38 </plugin>
39 <plugin>
40 <groupId>org.apache.maven.plugins</groupId>
41 <artifactId>maven-dependency-plugin</artifactId>
42 <configuration>
43 <includeGroupIds>org.opendaylight.mdsal.model, org.onap.sdnc.northbound</includeGroupIds>
44 </configuration>
45 </plugin>
46 <plugin>
47 <artifactId>maven-antrun-plugin</artifactId>
48 </plugin>
49 <plugin>
50 <groupId>org.opendaylight.yangtools</groupId>
51 <artifactId>yang-maven-plugin</artifactId>
52 </plugin>
53 <plugin>
54 <groupId>io.swagger</groupId>
55 <artifactId>swagger-codegen-maven-plugin</artifactId>
56 <executions>
57 <execution>
58 <goals>
59 <goal>generate</goal>
60 </goals>
61 <configuration>
62 <configOptions>
63 <java8>true</java8>
64 <withXml>true</withXml>
65 <output>${project.build.directory}/generated-sources/swagger</output>
66 <generateApis>false</generateApis>
67 <generateApiTests>false</generateApiTests>
68 <generateModels>true</generateModels>
69 <generateModelTests>false</generateModelTests>
70 <generateSupportingFiles>true</generateSupportingFiles>
71 <apiPackage>org.onap.sdnc.northbound.client.handler</apiPackage>
72 <modelPackage>org.onap.sdnc.northbound.client.model</modelPackage>
73 <invokerPackage>org.onap.sdnc.northbound.client.invoker</invokerPackage>
74 <sourceFolder>src/main/java</sourceFolder>
75 <useBeanValidation>true</useBeanValidation>
76 <interfaceOnly>true</interfaceOnly>
bb34765105cb42018-11-15 13:56:45 -050077 <serializableModel>true</serializableModel>
Timoney, Dan (dt5972)eadb5f52018-07-27 10:07:10 -040078 </configOptions>
79 </configuration>
80 </execution>
81 </executions>
82 </plugin>
83 <plugin>
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-source-plugin</artifactId>
86 </plugin>
87 <plugin>
88 <groupId>org.codehaus.mojo</groupId>
89 <artifactId>build-helper-maven-plugin</artifactId>
90 <version>1.10</version>
91 <executions>
92 <execution>
93 <id>attach-artifacts</id>
94 <phase>package</phase>
95 <goals>
96 <goal>attach-artifact</goal>
97 </goals>
98 <configuration>
99 <artifacts>
100 <artifact>
101 <file>target/generated-sources/swagger-maven-api-gen/client.yaml</file>
102 <type>yaml</type>
103 </artifact>
104 </artifacts>
105 </configuration>
106 </execution>
107 </executions>
108 </plugin>
109 </plugins>
110 </build>
111</project>