Refactor SOL003 Adapter to organize its modules
[so.git] / adapters / etsi-sol003-adapter / etsi-sol003-lcm / etsi-sol003-lcm-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-lcm</artifactId>
7     <version>1.6.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>etsi-sol003-lcm-ext-clients</artifactId>
10   <name>ETSI SOL003 Life Cycle 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>sol003-vnf-lcm-api</id>
20             <goals>
21               <goal>generate</goal>
22             </goals>
23             <configuration>
24               <inputSpec>${basedir}/src/main/resources/SOL003-VNFLifecycleManagement-API.json</inputSpec>
25               <language>java</language>
26               <library>okhttp-gson</library>
27               <output>${project.build.directory}/generated-sources/sol003-vnf-lcm</output>
28               <apiPackage>org.onap.so.adapters.etsi.sol003.adapter.lcm.extclients.vnfm.api</apiPackage>
29               <modelPackage>org.onap.so.adapters.etsi.sol003.adapter.lcm.extclients.vnfm.model</modelPackage>
30               <generateApiTests>false</generateApiTests>
31               <generateModelTests>false</generateModelTests>
32               <configOptions>
33                 <jackson>true</jackson>
34                 <sourceFolder>src/gen/java/main</sourceFolder>
35                 <withXml>true</withXml>
36                 <useRxJava2>true</useRxJava2>
37                 <serializableModel>true</serializableModel>
38               </configOptions>
39             </configuration>
40           </execution>
41         </executions>
42       </plugin>
43       <plugin>
44         <groupId>org.codehaus.mojo</groupId>
45         <artifactId>build-helper-maven-plugin</artifactId>
46         <executions>
47           <execution>
48             <id>add-source</id>
49             <phase>generate-sources</phase>
50             <goals>
51               <goal>add-source</goal>
52             </goals>
53             <configuration>
54               <sources>
55                 <source>${project.basedir}/target/generated-sources/sol003-vnf-lcm/src/gen/java/main</source>
56               </sources>
57             </configuration>
58           </execution>
59         </executions>
60       </plugin>
61     </plugins>
62     <pluginManagement>
63       <plugins>
64         <plugin>
65           <groupId>org.eclipse.m2e</groupId>
66           <artifactId>lifecycle-mapping</artifactId>
67           <version>1.0.0</version>
68           <configuration>
69             <lifecycleMappingMetadata>
70               <pluginExecutions>
71                 <pluginExecution>
72                   <pluginExecutionFilter>
73                     <groupId>io.swagger</groupId>
74                     <artifactId>swagger-codegen-maven-plugin</artifactId>
75                     <goals>
76                       <goal>generate</goal>
77                     </goals>
78                     <versionRange>[2.2.0,)</versionRange>
79                   </pluginExecutionFilter>
80                   <action>
81                     <execute>
82                       <runOnIncremental>false</runOnIncremental>
83                     </execute>
84                   </action>
85                 </pluginExecution>
86               </pluginExecutions>
87             </lifecycleMappingMetadata>
88           </configuration>
89         </plugin>
90       </plugins>
91     </pluginManagement>
92   </build>
93   <dependencies>
94     <dependency>
95       <groupId>io.swagger</groupId>
96       <artifactId>swagger-annotations</artifactId>
97       <version>${swagger-core-version}</version>
98     </dependency>
99     <dependency>
100       <groupId>com.squareup.retrofit2</groupId>
101       <artifactId>converter-gson</artifactId>
102       <version>${retrofit-version}</version>
103     </dependency>
104     <dependency>
105       <groupId>com.squareup.retrofit2</groupId>
106       <artifactId>retrofit</artifactId>
107       <version>${retrofit-version}</version>
108     </dependency>
109     <dependency>
110       <groupId>com.squareup.retrofit2</groupId>
111       <artifactId>converter-scalars</artifactId>
112       <version>${retrofit-version}</version>
113     </dependency>
114     <dependency>
115       <groupId>org.apache.oltu.oauth2</groupId>
116       <artifactId>org.apache.oltu.oauth2.client</artifactId>
117       <version>${oltu-version}</version>
118     </dependency>
119     <dependency>
120       <groupId>io.gsonfire</groupId>
121       <artifactId>gson-fire</artifactId>
122       <version>${gson-fire-version}</version>
123     </dependency>
124     <dependency>
125       <groupId>org.threeten</groupId>
126       <artifactId>threetenbp</artifactId>
127       <version>${threetenbp-version}</version>
128     </dependency>
129     <dependency>
130       <groupId>io.reactivex.rxjava2</groupId>
131       <artifactId>rxjava</artifactId>
132     </dependency>
133     <dependency>
134       <groupId>com.squareup.retrofit2</groupId>
135       <artifactId>adapter-rxjava2</artifactId>
136       <version>${retrofit-version}</version>
137     </dependency>
138     <dependency>
139       <groupId>com.google.code.gson</groupId>
140       <artifactId>gson</artifactId>
141     </dependency>
142     <dependency>
143       <groupId>com.squareup.okio</groupId>
144       <artifactId>okio</artifactId>
145       <version>${okio-version}</version>
146     </dependency>
147     <dependency>
148       <groupId>com.squareup.okhttp3</groupId>
149       <artifactId>okhttp</artifactId>
150       <version>${okhttp3-version}</version>
151     </dependency>
152     <dependency>
153       <groupId>com.squareup.okhttp3</groupId>
154       <artifactId>logging-interceptor</artifactId>
155       <version>${okhttp3-version}</version>
156     </dependency>
157     <dependency>
158       <groupId>com.squareup.okhttp</groupId>
159       <artifactId>logging-interceptor</artifactId>
160       <version>${okhttp-version}</version>
161     </dependency>
162     <dependency>
163       <groupId>com.squareup.okhttp</groupId>
164       <artifactId>okhttp</artifactId>
165       <version>${okhttp-version}</version>
166     </dependency>
167     <dependency>
168       <groupId>com.squareup.okhttp</groupId>
169       <artifactId>logging-interceptor</artifactId>
170       <version>${okhttp-version}</version>
171     </dependency>
172   </dependencies>
173 </project>