Merge "add fluent type builder support to A&AI client"
[so.git] / graph-inventory / aai-client / 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</groupId>
6     <artifactId>graph-inventory</artifactId>
7     <version>1.6.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>aai-client</artifactId>
10   <build>
11     <pluginManagement>
12       <plugins>
13         <plugin>
14           <groupId>org.eclipse.m2e</groupId>
15           <artifactId>lifecycle-mapping</artifactId>
16           <version>1.0.0</version>
17           <configuration>
18             <lifecycleMappingMetadata>
19               <pluginExecutions>
20                 <pluginExecution>
21                   <pluginExecutionFilter>
22                     <groupId>org.apache.maven.plugins</groupId>
23                     <artifactId>maven-dependency-plugin</artifactId>
24                     <versionRange>[1.0.0,)</versionRange>
25                     <goals>
26                       <goal>unpack</goal>
27                     </goals>
28                   </pluginExecutionFilter>
29                   <action>
30                     <execute />
31                   </action>
32                 </pluginExecution>
33                 <pluginExecution>
34                   <pluginExecutionFilter>
35                     <groupId>org.onap.so</groupId>
36                     <artifactId>fluent-builder-maven-plugin</artifactId>
37                     <goals>
38                       <goal>generate-builders</goal>
39                     </goals>
40                     <versionRange>[0.0,)</versionRange>
41                   </pluginExecutionFilter>
42                   <action>
43                     <execute />
44                   </action>
45                 </pluginExecution>
46               </pluginExecutions>
47             </lifecycleMappingMetadata>
48           </configuration>
49         </plugin>
50       </plugins>
51     </pluginManagement>
52     <plugins>
53       <plugin>
54         <groupId>org.apache.maven.plugins</groupId>
55         <artifactId>maven-dependency-plugin</artifactId>
56         <executions>
57           <execution>
58             <id>unpack</id>
59             <phase>generate-sources</phase>
60             <goals>
61               <goal>unpack</goal>
62             </goals>
63             <configuration>
64               <artifactItems>
65                 <artifactItem>
66                   <groupId>org.onap.aai.traversal</groupId>
67                   <artifactId>aai-traversal</artifactId>
68                   <version>1.6.3</version>
69                   <outputDirectory>${project.build.directory}/antlr</outputDirectory>
70                   <includes>**/*.g4</includes>
71                 </artifactItem>
72                 <artifactItem>
73                   <groupId>org.onap.aai.schema-service</groupId>
74                   <artifactId>aai-schema</artifactId>
75                   <version>1.6.5</version>
76                   <outputDirectory>${project.build.directory}/swagger</outputDirectory>
77                   <includes>**/*.yaml</includes>
78                 </artifactItem>
79               </artifactItems>
80             </configuration>
81           </execution>
82         </executions>
83       </plugin>
84       <plugin>
85         <groupId>org.onap.so</groupId>
86         <artifactId>fluent-builder-maven-plugin</artifactId>
87         <version>${project.version}</version>
88         <executions>
89           <execution>
90             <goals>
91               <goal>generate-builders</goal>
92             </goals>
93             <configuration>
94               <destination>${project.build.directory}/generated-sources</destination>
95               <destinationClasspath>org.onap.aaiclient.client.generated.fluentbuilders</destinationClasspath>
96               <builderName>AAIFluentTypeBuilder</builderName>
97               <swaggerLocation>${project.build.directory}/swagger/onap/aai_swagger_yaml/aai_swagger_v19.yaml</swaggerLocation>
98               <singularBuilderClass>org.onap.aaiclient.client.aai.entities.uri.AAIFluentSingleType</singularBuilderClass>
99               <pluralBuilderClass>org.onap.aaiclient.client.aai.entities.uri.AAIFluentPluralType</pluralBuilderClass>
100               <topLevelBuilderClass>org.onap.aaiclient.client.aai.entities.uri.AAIFluentTopLevelType</topLevelBuilderClass>
101               <baseBuilderClass>org.onap.aaiclient.client.graphinventory.GraphInventoryFluentTypeBase</baseBuilderClass>
102               <singularClass>org.onap.aaiclient.client.aai.AAIObjectType</singularClass>
103               <pluralClass>org.onap.aaiclient.client.aai.AAIObjectPlurals</pluralClass>
104               <nameClass>org.onap.aaiclient.client.aai.AAIObjectName</nameClass>
105             </configuration>
106           </execution>
107         </executions>
108       </plugin>
109       <plugin>
110         <groupId>org.codehaus.mojo</groupId>
111         <artifactId>build-helper-maven-plugin</artifactId>
112         <executions>
113           <execution>
114             <id>add-source</id>
115             <phase>generate-sources</phase>
116             <goals>
117               <goal>add-source</goal>
118             </goals>
119             <configuration>
120               <sources>
121                 <source>${project.build.directory}/generated-sources/fluent/</source>
122               </sources>
123             </configuration>
124           </execution>
125         </executions>
126       </plugin>
127     </plugins>
128   </build>
129   <dependencies>
130     <dependency>
131       <groupId>org.onap.so</groupId>
132       <artifactId>common</artifactId>
133       <version>${project.version}</version>
134     </dependency>
135     <dependency>
136       <groupId>com.google.guava</groupId>
137       <artifactId>guava</artifactId>
138       <version>22.0</version>
139     </dependency>
140     <dependency>
141       <groupId>org.apache.httpcomponents</groupId>
142       <artifactId>httpclient</artifactId>
143       <version>4.5</version>
144       <scope>compile</scope>
145       <optional>true</optional>
146     </dependency>
147     <dependency>
148       <groupId>org.apache.cxf</groupId>
149       <artifactId>cxf-rt-rs-client</artifactId>
150       <version>3.2.5</version>
151       <optional>true</optional>
152     </dependency>
153     <dependency>
154       <groupId>com.fasterxml.jackson.core</groupId>
155       <artifactId>jackson-databind</artifactId>
156       <version>2.9.6</version>
157     </dependency>
158     <dependency>
159       <groupId>com.fasterxml.jackson.core</groupId>
160       <artifactId>jackson-annotations</artifactId>
161       <version>2.9.6</version>
162     </dependency>
163     <dependency>
164       <groupId>com.fasterxml.jackson.module</groupId>
165       <artifactId>jackson-module-jaxb-annotations</artifactId>
166       <version>2.9.6</version>
167     </dependency>
168     <dependency>
169       <groupId>com.fasterxml.jackson.jaxrs</groupId>
170       <artifactId>jackson-jaxrs-json-provider</artifactId>
171       <version>2.9.0</version>
172     </dependency>
173     <dependency>
174       <groupId>commons-io</groupId>
175       <artifactId>commons-io</artifactId>
176       <version>2.5</version>
177     </dependency>
178     <dependency>
179       <groupId>ch.qos.logback</groupId>
180       <artifactId>logback-classic</artifactId>
181       <version>1.2.3</version>
182     </dependency>
183     <dependency>
184       <groupId>org.onap.logging-analytics</groupId>
185       <artifactId>logging-slf4j</artifactId>
186       <version>1.6.6</version>
187     </dependency>
188     <dependency>
189       <groupId>org.onap.logging-analytics</groupId>
190       <artifactId>logging-filter-base</artifactId>
191       <version>1.6.6</version>
192     </dependency>
193     <dependency>
194       <groupId>org.onap.logging-analytics</groupId>
195       <artifactId>logging-filter-spring</artifactId>
196       <version>1.6.6</version>
197     </dependency>
198     <dependency>
199       <groupId>junit</groupId>
200       <artifactId>junit</artifactId>
201       <version>4.12</version>
202       <scope>test</scope>
203     </dependency>
204     <dependency>
205       <groupId>org.hamcrest</groupId>
206       <artifactId>hamcrest-all</artifactId>
207       <version>1.3</version>
208       <scope>test</scope>
209     </dependency>
210     <dependency>
211       <groupId>javax.ws.rs</groupId>
212       <artifactId>javax.ws.rs-api</artifactId>
213       <version>2.1</version>
214     </dependency>
215     <dependency>
216       <groupId>com.github.tomakehurst</groupId>
217       <artifactId>wiremock-standalone</artifactId>
218       <version>2.13.0</version>
219       <scope>test</scope>
220       <exclusions>
221         <exclusion>
222           <groupId>org.mortbay.jetty</groupId>
223           <artifactId>jetty</artifactId>
224         </exclusion>
225         <exclusion>
226           <groupId>com.google.guava</groupId>
227           <artifactId>guava</artifactId>
228         </exclusion>
229         <exclusion>
230           <groupId>com.fasterxml.jackson.core</groupId>
231           <artifactId>jackson-core</artifactId>
232         </exclusion>
233         <exclusion>
234           <groupId>com.fasterxml.jackson.core</groupId>
235           <artifactId>jackson-annotations</artifactId>
236         </exclusion>
237         <exclusion>
238           <groupId>com.fasterxml.jackson.core</groupId>
239           <artifactId>jackson-databind</artifactId>
240         </exclusion>
241         <exclusion>
242           <groupId>org.apache.httpcomponents</groupId>
243           <artifactId>httpclient</artifactId>
244         </exclusion>
245         <exclusion>
246           <groupId>org.skyscreamer</groupId>
247           <artifactId>jsonassert</artifactId>
248         </exclusion>
249         <exclusion>
250           <groupId>xmlunit</groupId>
251           <artifactId>xmlunit</artifactId>
252         </exclusion>
253         <exclusion>
254           <groupId>com.jayway.jsonpath</groupId>
255           <artifactId>json-path</artifactId>
256         </exclusion>
257         <exclusion>
258           <groupId>net.sf.jopt-simple</groupId>
259           <artifactId>jopt-simple</artifactId>
260         </exclusion>
261       </exclusions>
262     </dependency>
263     <dependency>
264       <groupId>javax.servlet</groupId>
265       <artifactId>javax.servlet-api</artifactId>
266       <version>3.1.0</version>
267     </dependency>
268     <dependency>
269       <groupId>org.mockito</groupId>
270       <artifactId>mockito-core</artifactId>
271       <version>2.20.0</version>
272       <scope>test</scope>
273     </dependency>
274     <dependency>
275       <groupId>com.shazam</groupId>
276       <artifactId>shazamcrest</artifactId>
277       <version>0.11</version>
278       <scope>test</scope>
279       <exclusions>
280         <exclusion>
281           <groupId>com.google.guava</groupId>
282           <artifactId>guava</artifactId>
283         </exclusion>
284         <exclusion>
285           <groupId>org.apache.commons</groupId>
286           <artifactId>commons-lang3</artifactId>
287         </exclusion>
288       </exclusions>
289     </dependency>
290     <dependency>
291       <groupId>org.onap.aai.schema-service</groupId>
292       <artifactId>aai-schema</artifactId>
293       <version>1.6.5</version>
294     </dependency>
295     <dependency>
296       <groupId>com.jayway.jsonpath</groupId>
297       <artifactId>json-path</artifactId>
298       <version>2.2.0</version>
299     </dependency>
300     <dependency>
301       <groupId>org.apache.commons</groupId>
302       <artifactId>commons-lang3</artifactId>
303       <version>3.6</version>
304     </dependency>
305     <dependency>
306       <groupId>org.springframework</groupId>
307       <artifactId>spring-web</artifactId>
308       <version>5.0.9.RELEASE</version>
309     </dependency>
310     <dependency>
311       <groupId>org.antlr</groupId>
312       <artifactId>antlr4-runtime</artifactId>
313       <version>4.7</version>
314     </dependency>
315     <dependency>
316       <groupId>net.jodah</groupId>
317       <artifactId>failsafe</artifactId>
318       <version>2.0.1</version>
319     </dependency>
320     <dependency>
321       <groupId>org.reflections</groupId>
322       <artifactId>reflections</artifactId>
323       <version>0.9.11</version>
324     </dependency>
325   </dependencies>
326 </project>