blob: cb41d46b6c98126fd4fa35ec9433b5964b95e40c [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001<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
4 <modelVersion>4.0.0</modelVersion>
5 <artifactId>catalog-fe</artifactId>
6 <packaging>war</packaging>
7
8
9
10 <parent>
11 <groupId>org.openecomp.sdc</groupId>
12 <artifactId>sdc-main</artifactId>
13 <version>1.0.0-SNAPSHOT</version>
14 </parent>
15
16
17
18 <dependencies>
19
20 <dependency>
21 <groupId>org.functionaljava</groupId>
22 <artifactId>functionaljava</artifactId>
23 <scope>compile</scope>
24 </dependency>
25
26 <dependency>
27 <groupId>org.openecomp.sdc</groupId>
28 <artifactId>security-utils</artifactId>
29 <version>${security-utils.version}</version>
30 <scope>compile</scope> </dependency>
31
32 <dependency>
33 <groupId>org.openecomp.sdc</groupId>
34 <artifactId>common-app-api</artifactId>
35 <version>${common-app-api.version}</version>
36 </dependency>
37
38 <!-- File changes listener -->
39 <dependency>
40 <groupId>org.slf4j</groupId>
41 <artifactId>slf4j-api</artifactId>
42 <scope>compile</scope>
43 </dependency>
44
45 <dependency>
46 <groupId>ch.qos.logback</groupId>
47 <artifactId>logback-classic</artifactId>
48 <scope>compile</scope>
49 </dependency>
50
51 <dependency>
52 <groupId>ch.qos.logback</groupId>
53 <artifactId>logback-core</artifactId>
54 <scope>compile</scope>
55 </dependency>
56
57 <dependency>
58 <groupId>org.codehaus.groovy</groupId>
59 <artifactId>groovy-all</artifactId>
60 <scope>compile</scope>
61 </dependency>
62
63 <dependency>
64 <groupId>org.codehaus.janino</groupId>
65 <artifactId>janino</artifactId>
66 <scope>compile</scope>
67 </dependency>
68
69 <dependency>
70 <groupId>org.yaml</groupId>
71 <artifactId>snakeyaml</artifactId>
72 <scope>compile</scope>
73 </dependency>
74
75 <dependency>
76 <groupId>org.apache.commons</groupId>
77 <artifactId>commons-jci-core</artifactId>
78 <scope>compile</scope>
79 </dependency>
80
81 <dependency>
82 <groupId>com.google.code.gson</groupId>
83 <artifactId>gson</artifactId>
84 <scope>compile</scope>
85 </dependency>
86
87 <dependency>
88 <groupId>org.glassfish.jersey.containers</groupId>
89 <artifactId>jersey-container-servlet</artifactId>
90 <scope>compile</scope>
91 </dependency>
92
93 <dependency>
94 <groupId>org.glassfish.jersey.media</groupId>
95 <artifactId>jersey-media-multipart</artifactId>
96 <scope>compile</scope>
97 </dependency>
98
99 <dependency>
100 <groupId>org.glassfish.jersey.media</groupId>
101 <artifactId>jersey-media-moxy</artifactId>
102 <scope>compile</scope>
103 </dependency>
104
105 <dependency>
106 <groupId>javax.mail</groupId>
107 <artifactId>javax.mail-api</artifactId>
108 <version>1.5.2</version>
109 <scope>compile</scope>
110 </dependency>
111
112 <dependency>
113 <groupId>org.glassfish.jersey.media</groupId>
114 <artifactId>jersey-media-json-jackson</artifactId>
115 <scope>compile</scope>
116 </dependency>
117
118 <dependency>
119 <groupId>com.fasterxml.jackson.core</groupId>
120 <artifactId>jackson-core</artifactId>
121 <scope>compile</scope>
122 </dependency>
123
124 <dependency>
125 <groupId>com.fasterxml.jackson.core</groupId>
126 <artifactId>jackson-databind</artifactId>
127 <scope>compile</scope>
128 </dependency>
129
130 <dependency>
131 <groupId>com.fasterxml.jackson.core</groupId>
132 <artifactId>jackson-annotations</artifactId>
133 <scope>compile</scope>
134 </dependency>
135
136 <!-- http client -->
137 <dependency>
138 <groupId>org.apache.httpcomponents</groupId>
139 <artifactId>httpclient</artifactId>
140 <scope>compile</scope>
141 </dependency>
142
143 <dependency>
144 <groupId>org.apache.httpcomponents</groupId>
145 <artifactId>httpcore</artifactId>
146 <scope>compile</scope>
147 </dependency>
148
149 <dependency>
150 <groupId>org.apache.httpcomponents</groupId>
151 <artifactId>httpmime</artifactId>
152 <version>4.3.2</version>
153 <scope>compile</scope>
154 </dependency>
155
156 <dependency>
157 <groupId>commons-logging</groupId>
158 <artifactId>commons-logging</artifactId>
159 <scope>compile</scope>
160 </dependency>
161
162 <dependency>
163 <groupId>commons-codec</groupId>
164 <artifactId>commons-codec</artifactId>
165 <scope>compile</scope>
166 </dependency>
167 <!-- http client END -->
168
169 <dependency>
170 <groupId>javax.servlet</groupId>
171 <artifactId>servlet-api</artifactId>
172 <scope>provided</scope>
173 </dependency>
174
175 <!-- JSON and YAML Parsing -->
176 <dependency>
177 <groupId>com.fasterxml.jackson.dataformat</groupId>
178 <artifactId>jackson-dataformat-yaml</artifactId>
179 <scope>compile</scope>
180 </dependency>
181
182 <!-- Jetty Proxy -->
183 <dependency>
184 <groupId>org.eclipse.jetty</groupId>
185 <artifactId>jetty-proxy</artifactId>
186 <version>${jetty.version}</version>
187 <scope>compile</scope>
188 </dependency>
189
190 <dependency>
191 <groupId>org.eclipse.jetty</groupId>
192 <artifactId>jetty-servlets</artifactId>
193 <version>${jetty.servlets.version}</version>
194 <scope>compile</scope>
195 </dependency>
196
197 <!-- Proxy servlet -->
198 <dependency>
199 <groupId>com.google.guava</groupId>
200 <artifactId>guava</artifactId>
201 <scope>compile</scope>
202 </dependency>
203
204 <!-- Aspects -->
205 <dependency>
206 <groupId>com.jcabi</groupId>
207 <artifactId>jcabi-aspects</artifactId>
208 <scope>compile</scope>
209 </dependency>
210 <dependency>
211 <groupId>org.aspectj</groupId>
212 <artifactId>aspectjrt</artifactId>
213 <scope>compile</scope>
214 </dependency>
215 <dependency>
216 <groupId>org.apache.commons</groupId>
217 <artifactId>commons-lang3</artifactId>
218 <scope>compile</scope>
219 </dependency>
220
221 <!-- Inserted for ECOMP Portal Integration -->
222 <dependency>
223 <groupId>org.openecomp.ecompsdkos</groupId>
224 <artifactId>ecompFW</artifactId>
225 <version>${ecomp.version}</version>
226 <scope>compile</scope>
227 <exclusions>
228 <exclusion>
229 <groupId>com.att.nsa</groupId>
230 <artifactId>cambriaClient</artifactId>
231 </exclusion>
232 <exclusion>
233 <artifactId>slf4j-log4j12</artifactId>
234 <groupId>org.slf4j</groupId>
235 </exclusion>
236 </exclusions>
237 </dependency>
238
239 <!-- TEST -->
240 <dependency>
241 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
242 <artifactId>jersey-test-framework-provider-bundle</artifactId>
243 <type>pom</type>
244 <scope>test</scope>
245 </dependency>
246
247 <dependency>
248 <groupId>org.eclipse.jetty</groupId>
249 <artifactId>jetty-servlet</artifactId>
250 <scope>test</scope>
251 </dependency>
252
253 <dependency>
254 <groupId>org.eclipse.jetty</groupId>
255 <artifactId>jetty-webapp</artifactId>
256 <scope>test</scope>
257 </dependency>
258
259 <dependency>
260 <groupId>org.mockito</groupId>
261 <artifactId>mockito-all</artifactId>
262 </dependency>
263
264 <dependency>
265 <groupId>org.springframework</groupId>
266 <artifactId>spring-test</artifactId>
267 <scope>test</scope>
268 </dependency>
269 </dependencies>
270
271
272
273
274
275 <build>
276
277 <finalName>${project.artifactId}-${project.version}</finalName>
278
279 <plugins>
280
281 <plugin>
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-war-plugin</artifactId>
284 <version>2.6</version>
285 <configuration>
286 <archive>
287 <manifest>
288 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
289 </manifest>
290 </archive>
291
292 <webResources>
293 <resource>
294 <directory>src/main/resources</directory>
295 </resource>
296 </webResources>
297 </configuration>
298 </plugin>
299
300
301
302 <plugin>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-dependency-plugin</artifactId>
305 <executions>
306 <execution>
307 <id>copy-dependencies</id>
308 <phase>package</phase>
309 <goals>
310 <goal>copy-dependencies</goal>
311 </goals>
312 <configuration>
313 <includeScope>compile</includeScope>
314 </configuration>
315 </execution>
316 <execution>
317 <id>copy-installed</id>
318 <phase>install</phase>
319 <goals>
320 <goal>copy</goal>
321 </goals>
322 <configuration>
323 <artifactItems>
324 <artifactItem>
325 <groupId>${project.groupId}</groupId>
326 <artifactId>${project.artifactId}</artifactId>
327 <version>${project.version}</version>
328 <type>${project.packaging}</type>
329 </artifactItem>
330 </artifactItems>
331 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-frontend/</outputDirectory>
332 </configuration>
333 </execution>
334
335 </executions>
336 </plugin>
337
338
339
340 <plugin>
341 <groupId>org.eclipse.jetty</groupId>
342 <artifactId>jetty-maven-plugin</artifactId>
343 <version>9.0.6.v20130930</version>
344 <configuration>
345 <contextPath>/</contextPath>
346 <webApp>
347 <contextPath>/</contextPath>
348 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
349 </webApp>
350 <war>${project.build.directory}/${project.build.finalName}.war</war>
351 </configuration>
352 </plugin>
353
354 <plugin>
355 <groupId>org.apache.maven.plugins</groupId>
356 <artifactId>maven-deploy-plugin</artifactId>
357 <version>2.7</version>
358 </plugin>
359
360 <plugin>
361 <groupId>com.jcabi</groupId>
362 <artifactId>jcabi-maven-plugin</artifactId>
363 <version>${jcabi.plugin.version}</version>
364 <executions>
365 <execution>
366 <goals>
367 <goal>ajc</goal>
368 </goals>
369 </execution>
370 </executions>
371 </plugin>
372 <!-- ============================================= -->
373 <!-- Create the TAR file -->
374 <!-- ============================================= -->
375 <plugin>
376 <groupId>org.apache.maven.plugins</groupId>
377 <artifactId>maven-assembly-plugin</artifactId>
378 <version>2.6</version>
379 <configuration>
380 <finalName>${project.artifactId}-${full.release.version}${build.type}</finalName>
381 <appendAssemblyId>false</appendAssemblyId>
382 <descriptor>${project.basedir}/tarball.xml</descriptor>
383 </configuration>
384
385 <executions>
386 <execution>
387 <id>assembly-tar-file</id>
388 <phase>package</phase>
389 <goals>
390 <goal>single</goal>
391 </goals>
392 </execution>
393 </executions>
394 </plugin>
395 </plugins>
396
397
398 <pluginManagement>
399 <plugins>
400 <!--This plugin's configuration is used to store Eclipse m2e settings
401 only. It has no influence on the Maven build itself. -->
402 <plugin>
403 <groupId>org.eclipse.m2e</groupId>
404 <artifactId>lifecycle-mapping</artifactId>
405 <version>1.0.0</version>
406 <configuration>
407 <lifecycleMappingMetadata>
408 <pluginExecutions>
409
410 <pluginExecution>
411 <pluginExecutionFilter>
412 <groupId>com.jcabi</groupId>
413 <artifactId>jcabi-maven-plugin</artifactId>
414 <versionRange>[0.0,)</versionRange>
415 <goals>
416 <goal>ajc</goal>
417 </goals>
418 </pluginExecutionFilter>
419 <action>
420 <execute />
421 </action>
422 </pluginExecution>
423
424 </pluginExecutions>
425 </lifecycleMappingMetadata>
426 </configuration>
427 </plugin>
428
429 <!-- jacbi (log injection) -->
430
431 </plugins>
432 </pluginManagement>
433
434 </build>
435
436
437
438
439
440
441</project>