blob: 6d80d6f2321707badeadca8b80aa62f50a79deef [file] [log] [blame]
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -04001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 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 <parent>
5 <groupId>org.onap.so.adapters</groupId>
waqas.ikram12bfb7b2020-04-08 15:48:21 +01006 <artifactId>etsi-sol003-package-management</artifactId>
seshukmb9af26a2020-02-26 19:30:17 +08007 <version>1.6.0-SNAPSHOT</version>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -04008 </parent>
waqas.ikram12bfb7b2020-04-08 15:48:21 +01009 <artifactId>etsi-sol003-package-management-ext-clients</artifactId>
10 <name>ETSI SOL003 VNF Package Management Adapter Ext Clients</name>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040011 <build>
12 <plugins>
13 <plugin>
14 <groupId>io.swagger</groupId>
15 <artifactId>swagger-codegen-maven-plugin</artifactId>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010016 <version>${version-swagger-codegen}</version>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040017 <executions>
18 <execution>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010019 <id>etsicatalog-api</id>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040020 <goals>
21 <goal>generate</goal>
22 </goals>
23 <configuration>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010024 <inputSpec>${basedir}/src/main/resources/ETSI-Catalog-API.json</inputSpec>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040025 <language>java</language>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010026 <library>okhttp-gson</library>
27 <output>${project.build.directory}/generated-sources/etsicatalog</output>
28 <apiPackage>org.onap.so.adapters.vnfmadapter.extclients.etsicatalog.api</apiPackage>
29 <modelPackage>org.onap.so.adapters.vnfmadapter.extclients.etsicatalog.model</modelPackage>
30 <generateApiTests>false</generateApiTests>
31 <generateModelTests>false</generateModelTests>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040032 <configOptions>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040033 <sourceFolder>src/gen/java/main</sourceFolder>
34 <withXml>true</withXml>
35 <useRxJava2>true</useRxJava2>
36 <serializableModel>true</serializableModel>
37 </configOptions>
38 </configuration>
39 </execution>
rope25293c822c2020-02-10 14:15:37 +000040 <execution>
41 <id>sol003-packagemanagement-notification-api</id>
42 <goals>
43 <goal>generate</goal>
44 </goals>
45 <configuration>
46 <inputSpec>${basedir}/src/main/resources/SOL003-VNFPackageManagement-Notification-API.json</inputSpec>
47 <language>java</language>
48 <library>okhttp-gson</library>
49 <output>${project.build.directory}/generated-sources/sol003-vnf-packagemanagement/notification</output>
50 <apiPackage>org.onap.so.adapters.vnfmadapter.extclients.vnfm.packagemanagement.notification.api</apiPackage>
51 <modelPackage>org.onap.so.adapters.vnfmadapter.extclients.vnfm.packagemanagement.notification.model</modelPackage>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010052 <generateApiTests>false</generateApiTests>
53 <generateModelTests>false</generateModelTests>
rope252524b5c72019-12-20 13:14:13 +000054 <configOptions>
55 <sourceFolder>src/gen/java/main</sourceFolder>
56 <withXml>true</withXml>
57 <useRxJava2>true</useRxJava2>
58 <serializableModel>true</serializableModel>
59 </configOptions>
60 </configuration>
61 </execution>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040062 </executions>
63 </plugin>
Benjamin, Max26275322020-03-16 10:09:29 -040064 <plugin>
65 <groupId>org.codehaus.mojo</groupId>
66 <artifactId>build-helper-maven-plugin</artifactId>
67 <executions>
68 <execution>
69 <id>add-source</id>
70 <phase>generate-sources</phase>
71 <goals>
72 <goal>add-source</goal>
73 </goals>
74 <configuration>
75 <sources>
Benjamin, Max168f9dd2020-03-17 14:27:16 -040076 <source>${project.basedir}/target/generated-sources/sol003-vnf-packagemanagement/notification/src/gen/java/main</source>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010077 <source>${project.basedir}/target/generated-sources/etsicatalog/src/gen/java/main</source>
Benjamin, Max26275322020-03-16 10:09:29 -040078 </sources>
79 </configuration>
80 </execution>
81 </executions>
82 </plugin>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040083 </plugins>
Benjamin, Max168f9dd2020-03-17 14:27:16 -040084 <pluginManagement>
85 <plugins>
86 <plugin>
87 <groupId>org.eclipse.m2e</groupId>
88 <artifactId>lifecycle-mapping</artifactId>
89 <version>1.0.0</version>
90 <configuration>
91 <lifecycleMappingMetadata>
92 <pluginExecutions>
93 <pluginExecution>
94 <pluginExecutionFilter>
95 <groupId>io.swagger</groupId>
96 <artifactId>swagger-codegen-maven-plugin</artifactId>
97 <goals>
98 <goal>generate</goal>
99 </goals>
100 <versionRange>[2.2.0,)</versionRange>
101 </pluginExecutionFilter>
102 <action>
103 <execute>
104 <runOnIncremental>false</runOnIncremental>
105 </execute>
106 </action>
107 </pluginExecution>
108 </pluginExecutions>
109 </lifecycleMappingMetadata>
110 </configuration>
111 </plugin>
112 </plugins>
113 </pluginManagement>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400114 </build>
115 <dependencies>
116 <dependency>
117 <groupId>io.swagger</groupId>
118 <artifactId>swagger-annotations</artifactId>
119 <version>${swagger-core-version}</version>
120 </dependency>
121 <dependency>
122 <groupId>com.squareup.retrofit2</groupId>
123 <artifactId>converter-gson</artifactId>
124 <version>${retrofit-version}</version>
125 </dependency>
126 <dependency>
127 <groupId>com.squareup.retrofit2</groupId>
128 <artifactId>retrofit</artifactId>
129 <version>${retrofit-version}</version>
130 </dependency>
131 <dependency>
132 <groupId>com.squareup.retrofit2</groupId>
133 <artifactId>converter-scalars</artifactId>
134 <version>${retrofit-version}</version>
135 </dependency>
136 <dependency>
137 <groupId>org.apache.oltu.oauth2</groupId>
138 <artifactId>org.apache.oltu.oauth2.client</artifactId>
139 <version>${oltu-version}</version>
140 </dependency>
141 <dependency>
142 <groupId>io.gsonfire</groupId>
143 <artifactId>gson-fire</artifactId>
144 <version>${gson-fire-version}</version>
145 </dependency>
146 <dependency>
147 <groupId>org.threeten</groupId>
148 <artifactId>threetenbp</artifactId>
149 <version>${threetenbp-version}</version>
150 </dependency>
151 <dependency>
152 <groupId>io.reactivex.rxjava2</groupId>
153 <artifactId>rxjava</artifactId>
154 </dependency>
155 <dependency>
156 <groupId>com.squareup.retrofit2</groupId>
157 <artifactId>adapter-rxjava2</artifactId>
158 <version>${retrofit-version}</version>
159 </dependency>
160 <dependency>
161 <groupId>com.google.code.gson</groupId>
162 <artifactId>gson</artifactId>
163 </dependency>
MichaelMorrisdf6508f2019-04-25 11:31:45 +0000164 <dependency>
165 <groupId>com.squareup.okio</groupId>
166 <artifactId>okio</artifactId>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100167 <version>${okio-version}</version>
MichaelMorrisdf6508f2019-04-25 11:31:45 +0000168 </dependency>
rope252439c3a22019-11-19 16:23:34 +0000169 <dependency>
rope252524b5c72019-12-20 13:14:13 +0000170 <groupId>com.squareup.okhttp3</groupId>
171 <artifactId>okhttp</artifactId>
172 <version>${okhttp3-version}</version>
173 </dependency>
174 <dependency>
175 <groupId>com.squareup.okhttp3</groupId>
176 <artifactId>logging-interceptor</artifactId>
177 <version>${okhttp3-version}</version>
178 </dependency>
179 <dependency>
180 <groupId>com.squareup.okhttp</groupId>
181 <artifactId>logging-interceptor</artifactId>
182 <version>${okhttp-version}</version>
183 </dependency>
184 <dependency>
185 <groupId>com.squareup.okhttp</groupId>
186 <artifactId>okhttp</artifactId>
187 <version>${okhttp-version}</version>
188 </dependency>
189 <dependency>
190 <groupId>com.squareup.okhttp</groupId>
191 <artifactId>logging-interceptor</artifactId>
192 <version>${okhttp-version}</version>
193 </dependency>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400194 </dependencies>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100195
196</project>