blob: 8d79aff29db9a9cc53af267542bfc8ba2755942e [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.ikram7ceffbb2020-05-01 18:26:26 +01006 <artifactId>etsi-sol003-pkgm</artifactId>
seshukmadbd1c42020-08-03 19:23:51 +05307 <version>1.7.1-SNAPSHOT</version>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -04008 </parent>
waqas.ikram7ceffbb2020-05-01 18:26:26 +01009 <artifactId>etsi-sol003-pkgm-api</artifactId>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010010 <name>ETSI SOL003 VNF Package Management Adapter API</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>
rope252524b5c72019-12-20 13:14:13 +000019 <id>etsicatalog-notification-api</id>
20 <goals>
21 <goal>generate</goal>
22 </goals>
23 <configuration>
24 <inputSpec>${basedir}/src/main/resources/ETSI-Catalog-Notification-API.json</inputSpec>
25 <language>java</language>
26 <library>okhttp-gson</library>
27 <output>${project.build.directory}/generated-sources/etsicatalog/notification</output>
waqas.ikram7511bc22020-05-01 12:30:32 +010028 <apiPackage>org.onap.so.adapters.etsisol003adapter.etsicatalog.notification.api</apiPackage>
29 <modelPackage>org.onap.so.adapters.etsisol003adapter.etsicatalog.notification.model</modelPackage>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010030 <generateApiTests>false</generateApiTests>
31 <generateModelTests>false</generateModelTests>
32 <configOptions>
33 <sourceFolder>src/gen/java/main</sourceFolder>
34 <withXml>true</withXml>
35 <useRxJava2>true</useRxJava2>
36 <serializableModel>true</serializableModel>
AndrewLamb36a12972020-04-29 15:33:19 +010037 <dateLibrary>java8-localdatetime</dateLibrary>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010038 </configOptions>
39 </configuration>
40 </execution>
41 <execution>
42 <id>sol003-vnf-packagemanagement-api</id>
43 <goals>
44 <goal>generate</goal>
45 </goals>
46 <configuration>
47 <inputSpec>${basedir}/src/main/resources/SOL003-VNFPackageManagement-API.json</inputSpec>
48 <language>java</language>
49 <library>okhttp-gson</library>
50 <output>${project.build.directory}/generated-sources/sol003-vnf-packagemanagement</output>
waqas.ikram7511bc22020-05-01 12:30:32 +010051 <apiPackage>org.onap.so.adapters.etsisol003adapter.pkgm.api</apiPackage>
52 <modelPackage>org.onap.so.adapters.etsisol003adapter.pkgm.model</modelPackage>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010053 <generateApiTests>false</generateApiTests>
54 <generateModelTests>false</generateModelTests>
rope252524b5c72019-12-20 13:14:13 +000055 <configOptions>
56 <sourceFolder>src/gen/java/main</sourceFolder>
57 <withXml>true</withXml>
58 <useRxJava2>true</useRxJava2>
59 <serializableModel>true</serializableModel>
60 </configOptions>
61 </configuration>
62 </execution>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040063 </executions>
64 </plugin>
Benjamin, Max26275322020-03-16 10:09:29 -040065 <plugin>
66 <groupId>org.codehaus.mojo</groupId>
67 <artifactId>build-helper-maven-plugin</artifactId>
68 <executions>
69 <execution>
70 <id>add-source</id>
71 <phase>generate-sources</phase>
72 <goals>
73 <goal>add-source</goal>
74 </goals>
75 <configuration>
76 <sources>
Benjamin, Max168f9dd2020-03-17 14:27:16 -040077 <source>${project.basedir}/target/generated-sources/etsicatalog/notification/src/gen/java/main</source>
waqas.ikram12bfb7b2020-04-08 15:48:21 +010078 <source>${project.basedir}/target/generated-sources/sol003-vnf-packagemanagement/src/gen/java/main</source>
Benjamin, Max26275322020-03-16 10:09:29 -040079 </sources>
80 </configuration>
81 </execution>
82 </executions>
83 </plugin>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -040084 </plugins>
Benjamin, Max168f9dd2020-03-17 14:27:16 -040085 <pluginManagement>
86 <plugins>
87 <plugin>
88 <groupId>org.eclipse.m2e</groupId>
89 <artifactId>lifecycle-mapping</artifactId>
90 <version>1.0.0</version>
91 <configuration>
92 <lifecycleMappingMetadata>
93 <pluginExecutions>
94 <pluginExecution>
95 <pluginExecutionFilter>
96 <groupId>io.swagger</groupId>
97 <artifactId>swagger-codegen-maven-plugin</artifactId>
98 <goals>
99 <goal>generate</goal>
100 </goals>
101 <versionRange>[2.2.0,)</versionRange>
102 </pluginExecutionFilter>
103 <action>
104 <execute>
105 <runOnIncremental>false</runOnIncremental>
106 </execute>
107 </action>
108 </pluginExecution>
109 </pluginExecutions>
110 </lifecycleMappingMetadata>
111 </configuration>
112 </plugin>
113 </plugins>
114 </pluginManagement>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400115 </build>
116 <dependencies>
117 <dependency>
118 <groupId>io.swagger</groupId>
119 <artifactId>swagger-annotations</artifactId>
120 <version>${swagger-core-version}</version>
121 </dependency>
122 <dependency>
123 <groupId>com.squareup.retrofit2</groupId>
124 <artifactId>converter-gson</artifactId>
125 <version>${retrofit-version}</version>
126 </dependency>
127 <dependency>
128 <groupId>com.squareup.retrofit2</groupId>
129 <artifactId>retrofit</artifactId>
130 <version>${retrofit-version}</version>
131 </dependency>
132 <dependency>
133 <groupId>com.squareup.retrofit2</groupId>
134 <artifactId>converter-scalars</artifactId>
135 <version>${retrofit-version}</version>
136 </dependency>
137 <dependency>
138 <groupId>org.apache.oltu.oauth2</groupId>
139 <artifactId>org.apache.oltu.oauth2.client</artifactId>
140 <version>${oltu-version}</version>
141 </dependency>
142 <dependency>
143 <groupId>io.gsonfire</groupId>
144 <artifactId>gson-fire</artifactId>
145 <version>${gson-fire-version}</version>
146 </dependency>
147 <dependency>
148 <groupId>org.threeten</groupId>
149 <artifactId>threetenbp</artifactId>
150 <version>${threetenbp-version}</version>
151 </dependency>
152 <dependency>
153 <groupId>io.reactivex.rxjava2</groupId>
154 <artifactId>rxjava</artifactId>
155 </dependency>
156 <dependency>
157 <groupId>com.squareup.retrofit2</groupId>
158 <artifactId>adapter-rxjava2</artifactId>
159 <version>${retrofit-version}</version>
160 </dependency>
161 <dependency>
162 <groupId>com.google.code.gson</groupId>
163 <artifactId>gson</artifactId>
164 </dependency>
MichaelMorrisdf6508f2019-04-25 11:31:45 +0000165 <dependency>
166 <groupId>com.squareup.okio</groupId>
167 <artifactId>okio</artifactId>
waqas.ikram12bfb7b2020-04-08 15:48:21 +0100168 <version>${okio-version}</version>
MichaelMorrisdf6508f2019-04-25 11:31:45 +0000169 </dependency>
rope252439c3a22019-11-19 16:23:34 +0000170 <dependency>
rope252524b5c72019-12-20 13:14:13 +0000171 <groupId>com.squareup.okhttp3</groupId>
172 <artifactId>okhttp</artifactId>
173 <version>${okhttp3-version}</version>
174 </dependency>
175 <dependency>
176 <groupId>com.squareup.okhttp3</groupId>
177 <artifactId>logging-interceptor</artifactId>
178 <version>${okhttp3-version}</version>
179 </dependency>
180 <dependency>
181 <groupId>com.squareup.okhttp</groupId>
182 <artifactId>logging-interceptor</artifactId>
183 <version>${okhttp-version}</version>
184 </dependency>
185 <dependency>
186 <groupId>com.squareup.okhttp</groupId>
187 <artifactId>okhttp</artifactId>
188 <version>${okhttp-version}</version>
189 </dependency>
190 <dependency>
191 <groupId>com.squareup.okhttp</groupId>
192 <artifactId>logging-interceptor</artifactId>
193 <version>${okhttp-version}</version>
194 </dependency>
Benjamin, Max (mb388a)c0247ec2019-04-11 10:34:45 -0400195 </dependencies>
AndrewLamb36a12972020-04-29 15:33:19 +0100196</project>