6e6de84b5ff8fb5fd9962c6ad4e37bafef02e9b1
[so.git] / adapters / etsi-sol003-adapter / etsi-sol003-pkgm / etsi-sol003-pkgm-ext-clients / pom.xml
1 <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>
6     <artifactId>etsi-sol003-pkgm</artifactId>
7     <version>1.6.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>etsi-sol003-pkgm-ext-clients</artifactId>
10   <name>ETSI SOL003 VNF Package Management Adapter Ext Clients</name>
11   <build>
12     <plugins>
13       <plugin>
14         <groupId>io.swagger</groupId>
15         <artifactId>swagger-codegen-maven-plugin</artifactId>
16         <version>${version-swagger-codegen}</version>
17         <executions>
18           <execution>
19             <id>etsicatalog-api</id>
20             <goals>
21               <goal>generate</goal>
22             </goals>
23             <configuration>
24               <inputSpec>${basedir}/src/main/resources/ETSI-Catalog-API.json</inputSpec>
25               <language>java</language>
26               <library>okhttp-gson</library>
27               <output>${project.build.directory}/generated-sources/etsicatalog</output>
28               <apiPackage>org.onap.so.adapters.etsisol003adapter.pkgm.extclients.etsicatalog.api</apiPackage>
29               <modelPackage>org.onap.so.adapters.etsisol003adapter.pkgm.extclients.etsicatalog.model</modelPackage>
30               <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>
37               </configOptions>
38             </configuration>
39           </execution>
40           <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.etsisol003adapter.pkgm.extclients.vnfm.notification.api</apiPackage>
51               <modelPackage>org.onap.so.adapters.etsisol003adapter.pkgm.extclients.vnfm.notification.model</modelPackage>
52               <generateApiTests>false</generateApiTests>
53               <generateModelTests>false</generateModelTests>
54               <configOptions>
55                 <sourceFolder>src/gen/java/main</sourceFolder>
56                 <withXml>true</withXml>
57                 <useRxJava2>true</useRxJava2>
58                 <serializableModel>true</serializableModel>
59                 <dateLibrary>java8-localdatetime</dateLibrary>
60               </configOptions>
61             </configuration>
62           </execution>
63         </executions>
64       </plugin>
65       <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>
77                 <source>${project.basedir}/target/generated-sources/sol003-vnf-packagemanagement/notification/src/gen/java/main</source>
78                 <source>${project.basedir}/target/generated-sources/etsicatalog/src/gen/java/main</source>
79               </sources>
80             </configuration>
81           </execution>
82         </executions>
83       </plugin>
84     </plugins>
85     <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>
115   </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>
165     <dependency>
166       <groupId>com.squareup.okio</groupId>
167       <artifactId>okio</artifactId>
168       <version>${okio-version}</version>
169     </dependency>
170     <dependency>
171       <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>
195   </dependencies>
196
197 </project>