blob: e5d4bdaf830e67639bb25d10538a01b9d966d12c [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
Michael Lando451a3402017-02-19 10:28:42 +02008 <parent>
9 <groupId>org.openecomp.sdc</groupId>
10 <artifactId>sdc-main</artifactId>
Michael Landoebd7c8f2017-03-15 20:38:00 +020011 <version>1.1.0-SNAPSHOT</version>
Michael Lando451a3402017-02-19 10:28:42 +020012 </parent>
13
Michael Lando451a3402017-02-19 10:28:42 +020014 <dependencies>
Michael Lando2e0ef972017-02-28 01:44:21 +020015
Michael Landoc0ac0152017-02-27 23:48:43 +020016 <dependency>
Michael Lando451a3402017-02-19 10:28:42 +020017 <groupId>org.functionaljava</groupId>
18 <artifactId>functionaljava</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030019 <version>${functionaljava.version}</version>
Michael Lando451a3402017-02-19 10:28:42 +020020 <scope>compile</scope>
21 </dependency>
Michael Landoed64b5e2017-06-09 03:19:04 +030022
Michael Lando451a3402017-02-19 10:28:42 +020023 <dependency>
24 <groupId>org.openecomp.sdc</groupId>
25 <artifactId>security-utils</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +030026 <version>${project.version}</version>
27 <scope>compile</scope>
28 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020029
Michael Landoed64b5e2017-06-09 03:19:04 +030030 <dependency>
31 <groupId>org.openecomp.sdc</groupId>
32 <artifactId>common-app-api</artifactId>
33 <version>${project.version}</version>
34 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020035
Michael Landoed64b5e2017-06-09 03:19:04 +030036 <!-- File changes listener -->
37 <dependency>
38 <groupId>org.slf4j</groupId>
39 <artifactId>slf4j-api</artifactId>
40 <version>${slf4j-api.version}</version>
41 <scope>compile</scope>
42 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020043
Michael Landoed64b5e2017-06-09 03:19:04 +030044 <dependency>
45 <groupId>ch.qos.logback</groupId>
46 <artifactId>logback-classic</artifactId>
47 <version>${logback.version}</version>
48 <scope>compile</scope>
49 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020050
Michael Landoed64b5e2017-06-09 03:19:04 +030051 <dependency>
52 <groupId>ch.qos.logback</groupId>
53 <artifactId>logback-core</artifactId>
54 <version>${logback.version}</version>
55 <scope>compile</scope>
56 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020057
Michael Landoed64b5e2017-06-09 03:19:04 +030058 <dependency>
59 <groupId>org.codehaus.groovy</groupId>
60 <artifactId>groovy-all</artifactId>
61 <version>${groovy.version}</version>
62 <scope>compile</scope>
63 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020064
Michael Landoed64b5e2017-06-09 03:19:04 +030065 <dependency>
66 <groupId>org.codehaus.janino</groupId>
67 <artifactId>janino</artifactId>
68 <version>${janino.version}</version>
69 <scope>compile</scope>
70 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020071
Michael Landoed64b5e2017-06-09 03:19:04 +030072 <dependency>
73 <groupId>org.yaml</groupId>
74 <artifactId>snakeyaml</artifactId>
75 <version>${snakeyaml.version}</version>
76 <scope>compile</scope>
77 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020078
Michael Landoed64b5e2017-06-09 03:19:04 +030079 <dependency>
80 <groupId>org.apache.commons</groupId>
81 <artifactId>commons-jci-core</artifactId>
82 <version>${commons-jci-core.version}</version>
83 <scope>compile</scope>
84 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020085
Michael Landoed64b5e2017-06-09 03:19:04 +030086 <dependency>
87 <groupId>com.google.code.gson</groupId>
88 <artifactId>gson</artifactId>
89 <version>${gson.version}</version>
90 <scope>compile</scope>
91 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020092
Michael Landoed64b5e2017-06-09 03:19:04 +030093 <dependency>
94 <groupId>org.glassfish.jersey.containers</groupId>
95 <artifactId>jersey-container-servlet</artifactId>
96 <version>${jersey-bom.version}</version>
97 <scope>compile</scope>
98 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +020099
Michael Landoed64b5e2017-06-09 03:19:04 +0300100 <dependency>
101 <groupId>org.glassfish.jersey.media</groupId>
102 <artifactId>jersey-media-multipart</artifactId>
103 <version>${jersey-bom.version}</version>
104 <scope>compile</scope>
105 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200106
Michael Landoed64b5e2017-06-09 03:19:04 +0300107 <dependency>
108 <groupId>org.glassfish.jersey.media</groupId>
109 <artifactId>jersey-media-moxy</artifactId>
110 <version>${jersey-bom.version}</version>
111 <scope>compile</scope>
112 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200113
Michael Landoed64b5e2017-06-09 03:19:04 +0300114 <dependency>
115 <groupId>javax.mail</groupId>
116 <artifactId>javax.mail-api</artifactId>
117 <version>1.5.2</version>
118 <scope>compile</scope>
119 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200120
Michael Landoed64b5e2017-06-09 03:19:04 +0300121 <dependency>
122 <groupId>org.glassfish.jersey.media</groupId>
123 <artifactId>jersey-media-json-jackson</artifactId>
124 <version>${jersey-bom.version}</version>
125 <scope>compile</scope>
126 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200127
Michael Landoed64b5e2017-06-09 03:19:04 +0300128 <dependency>
129 <groupId>com.fasterxml.jackson.core</groupId>
130 <artifactId>jackson-core</artifactId>
131 <version>${jackson.version}</version>
132 <scope>compile</scope>
133 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200134
Michael Landoed64b5e2017-06-09 03:19:04 +0300135 <dependency>
136 <groupId>com.fasterxml.jackson.core</groupId>
137 <artifactId>jackson-databind</artifactId>
138 <version>${jackson.version}</version>
139 <scope>compile</scope>
140 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200141
Michael Landoed64b5e2017-06-09 03:19:04 +0300142 <dependency>
143 <groupId>com.fasterxml.jackson.core</groupId>
144 <artifactId>jackson-annotations</artifactId>
145 <version>${jackson.annotations.version}</version>
146 <scope>compile</scope>
147 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200148
Michael Landoed64b5e2017-06-09 03:19:04 +0300149 <!-- http client -->
150 <dependency>
151 <groupId>org.apache.httpcomponents</groupId>
152 <artifactId>httpclient</artifactId>
153 <version>${httpclient.version}</version>
154 <scope>compile</scope>
155 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200156
Michael Landoed64b5e2017-06-09 03:19:04 +0300157 <dependency>
158 <groupId>org.apache.httpcomponents</groupId>
159 <artifactId>httpcore</artifactId>
160 <version>${httpcore.version}</version>
161 <scope>compile</scope>
162 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200163
Michael Landoed64b5e2017-06-09 03:19:04 +0300164 <dependency>
165 <groupId>org.apache.httpcomponents</groupId>
166 <artifactId>httpmime</artifactId>
167 <version>${httpclient.version}</version>
168 <!--<version>4.3.2</version>-->
169 <scope>compile</scope>
170 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200171
Michael Landoed64b5e2017-06-09 03:19:04 +0300172 <dependency>
173 <groupId>commons-logging</groupId>
174 <artifactId>commons-logging</artifactId>
175 <version>${commons-logging}</version>
176 <scope>compile</scope>
177 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200178
Michael Landoed64b5e2017-06-09 03:19:04 +0300179 <dependency>
180 <groupId>commons-codec</groupId>
181 <artifactId>commons-codec</artifactId>
182 <version>${commons-codec}</version>
183 <scope>compile</scope>
184 </dependency>
185 <!-- http client END -->
Michael Lando451a3402017-02-19 10:28:42 +0200186
Michael Landoed64b5e2017-06-09 03:19:04 +0300187 <dependency>
188 <groupId>javax.servlet</groupId>
189 <artifactId>servlet-api</artifactId>
190 <version>${servlet-api.version}</version>
191 <scope>provided</scope>
192 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200193
Michael Landoed64b5e2017-06-09 03:19:04 +0300194 <!-- JSON and YAML Parsing -->
195 <dependency>
196 <groupId>com.fasterxml.jackson.dataformat</groupId>
197 <artifactId>jackson-dataformat-yaml</artifactId>
198 <version>${jackson.version}</version>
199 <scope>compile</scope>
200 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200201
Michael Landoed64b5e2017-06-09 03:19:04 +0300202 <!-- Jetty Proxy -->
203 <dependency>
204 <groupId>org.eclipse.jetty</groupId>
205 <artifactId>jetty-proxy</artifactId>
206 <version>${jetty.version}</version>
207 <scope>compile</scope>
208 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200209
Michael Landoed64b5e2017-06-09 03:19:04 +0300210 <dependency>
211 <groupId>org.eclipse.jetty</groupId>
212 <artifactId>jetty-servlets</artifactId>
213 <version>${jetty.version}</version>
214 <scope>provided</scope>
215 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200216
Michael Landoed64b5e2017-06-09 03:19:04 +0300217 <!-- Proxy servlet -->
218 <dependency>
219 <groupId>com.google.guava</groupId>
220 <artifactId>guava</artifactId>
221 <version>${guava.version}</version>
222 <scope>compile</scope>
223 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200224
Michael Landoed64b5e2017-06-09 03:19:04 +0300225 <!-- Aspects -->
226 <dependency>
227 <groupId>com.jcabi</groupId>
228 <artifactId>jcabi-aspects</artifactId>
229 <version>${jcabi.version}</version>
230 <scope>compile</scope>
231 </dependency>
232 <dependency>
233 <groupId>org.aspectj</groupId>
234 <artifactId>aspectjrt</artifactId>
235 <version>${aspectjrt.version}</version>
236 <scope>compile</scope>
237 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200238
Michael Landoed64b5e2017-06-09 03:19:04 +0300239 <dependency>
240 <groupId>org.apache.commons</groupId>
241 <artifactId>commons-lang3</artifactId>
242 <version>${lang3.version}</version>
243 <scope>compile</scope>
244 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200245
Michael Landoed64b5e2017-06-09 03:19:04 +0300246 <!-- Inserted for ECOMP Portal Integration -->
247 <dependency>
248 <groupId>org.openecomp.ecompsdkos</groupId>
Michael Landob3d48982017-06-11 14:22:02 +0300249 <artifactId>epsdk-fw</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300250 <version>${ecomp.version}</version>
251 <scope>compile</scope>
252 <exclusions>
253 <exclusion>
254 <groupId>com.att.nsa</groupId>
255 <artifactId>cambriaClient</artifactId>
256 </exclusion>
257 <exclusion>
258 <artifactId>slf4j-log4j12</artifactId>
259 <groupId>org.slf4j</groupId>
260 </exclusion>
261 </exclusions>
262 </dependency>
263 <!-- System metrics -->
264 <dependency>
265 <groupId>org.fusesource</groupId>
266 <artifactId>sigar</artifactId>
267 <version>${sigar.version}</version>
268 <scope>compile</scope>
269 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200270
Michael Landoed64b5e2017-06-09 03:19:04 +0300271 <!-- TEST -->
272 <dependency>
273 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
274 <artifactId>jersey-test-framework-provider-bundle</artifactId>
275 <version>${jersey-bom.version}</version>
276 <type>pom</type>
277 <scope>test</scope>
278 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200279
Michael Landoed64b5e2017-06-09 03:19:04 +0300280 <dependency>
281 <groupId>org.eclipse.jetty</groupId>
282 <artifactId>jetty-servlet</artifactId>
283 <version>${jetty.version}</version>
284 <scope>test</scope>
285 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200286
Michael Landoed64b5e2017-06-09 03:19:04 +0300287 <dependency>
288 <groupId>org.eclipse.jetty</groupId>
289 <artifactId>jetty-webapp</artifactId>
290 <version>${jetty.version}</version>
291 <scope>test</scope>
292 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200293
Michael Landoed64b5e2017-06-09 03:19:04 +0300294 <dependency>
295 <groupId>org.mockito</groupId>
296 <artifactId>mockito-all</artifactId>
297 <version>${mockito.version}</version>
298 <scope>test</scope>
299 </dependency>
Michael Lando451a3402017-02-19 10:28:42 +0200300
Michael Landoed64b5e2017-06-09 03:19:04 +0300301 </dependencies>
Michael Lando451a3402017-02-19 10:28:42 +0200302
Michael Landoed64b5e2017-06-09 03:19:04 +0300303 <build>
Michael Lando451a3402017-02-19 10:28:42 +0200304
Michael Landoed64b5e2017-06-09 03:19:04 +0300305 <finalName>${project.artifactId}-${project.version}</finalName>
306
307 <plugins>
Michael Lando451a3402017-02-19 10:28:42 +0200308 <plugin>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-war-plugin</artifactId>
311 <version>2.6</version>
312 <configuration>
313 <archive>
314 <manifest>
315 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
316 </manifest>
317 </archive>
Michael Landoed64b5e2017-06-09 03:19:04 +0300318
Michael Lando451a3402017-02-19 10:28:42 +0200319 <webResources>
320 <resource>
321 <directory>src/main/resources</directory>
322 </resource>
323 </webResources>
324 </configuration>
325 </plugin>
326
Michael Lando451a3402017-02-19 10:28:42 +0200327 <plugin>
328 <groupId>org.apache.maven.plugins</groupId>
329 <artifactId>maven-dependency-plugin</artifactId>
330 <executions>
331 <execution>
332 <id>copy-dependencies</id>
333 <phase>package</phase>
334 <goals>
335 <goal>copy-dependencies</goal>
336 </goals>
337 <configuration>
338 <includeScope>compile</includeScope>
339 </configuration>
340 </execution>
341 <execution>
342 <id>copy-installed</id>
343 <phase>install</phase>
344 <goals>
345 <goal>copy</goal>
346 </goals>
347 <configuration>
348 <artifactItems>
349 <artifactItem>
350 <groupId>${project.groupId}</groupId>
351 <artifactId>${project.artifactId}</artifactId>
352 <version>${project.version}</version>
353 <type>${project.packaging}</type>
354 </artifactItem>
355 </artifactItems>
356 <outputDirectory>${project.parent.basedir}/sdc-os-chef/sdc-frontend/</outputDirectory>
357 </configuration>
358 </execution>
Michael Lando451a3402017-02-19 10:28:42 +0200359 </executions>
360 </plugin>
361
Michael Lando451a3402017-02-19 10:28:42 +0200362 <plugin>
363 <groupId>org.eclipse.jetty</groupId>
364 <artifactId>jetty-maven-plugin</artifactId>
Michael Landoed64b5e2017-06-09 03:19:04 +0300365 <version>${jetty.version}</version>
366 <!--<version>9.0.6.v20130930</version>-->
Michael Lando451a3402017-02-19 10:28:42 +0200367 <configuration>
368 <contextPath>/</contextPath>
369 <webApp>
370 <contextPath>/</contextPath>
371 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
372 </webApp>
373 <war>${project.build.directory}/${project.build.finalName}.war</war>
374 </configuration>
375 </plugin>
376
377 <plugin>
378 <groupId>org.apache.maven.plugins</groupId>
379 <artifactId>maven-deploy-plugin</artifactId>
380 <version>2.7</version>
Michael Landoed64b5e2017-06-09 03:19:04 +0300381 <configuration>
382 <skip>true</skip>
383 </configuration>
Michael Lando451a3402017-02-19 10:28:42 +0200384 </plugin>
385
386 <plugin>
387 <groupId>com.jcabi</groupId>
388 <artifactId>jcabi-maven-plugin</artifactId>
389 <version>${jcabi.plugin.version}</version>
390 <executions>
391 <execution>
392 <goals>
393 <goal>ajc</goal>
394 </goals>
395 </execution>
396 </executions>
397 </plugin>
Michael Lando451a3402017-02-19 10:28:42 +0200398 </plugins>
399
Michael Lando451a3402017-02-19 10:28:42 +0200400 <pluginManagement>
401 <plugins>
402 <!--This plugin's configuration is used to store Eclipse m2e settings
Michael Landoed64b5e2017-06-09 03:19:04 +0300403 only. It has no influence on the Maven build itself. -->
Michael Lando451a3402017-02-19 10:28:42 +0200404 <plugin>
405 <groupId>org.eclipse.m2e</groupId>
406 <artifactId>lifecycle-mapping</artifactId>
407 <version>1.0.0</version>
408 <configuration>
409 <lifecycleMappingMetadata>
410 <pluginExecutions>
Michael Landoed64b5e2017-06-09 03:19:04 +0300411
Michael Lando451a3402017-02-19 10:28:42 +0200412 <pluginExecution>
413 <pluginExecutionFilter>
414 <groupId>com.jcabi</groupId>
415 <artifactId>jcabi-maven-plugin</artifactId>
416 <versionRange>[0.0,)</versionRange>
417 <goals>
418 <goal>ajc</goal>
419 </goals>
420 </pluginExecutionFilter>
421 <action>
422 <execute />
423 </action>
424 </pluginExecution>
Michael Landoed64b5e2017-06-09 03:19:04 +0300425
Michael Lando451a3402017-02-19 10:28:42 +0200426 </pluginExecutions>
427 </lifecycleMappingMetadata>
428 </configuration>
429 </plugin>
Michael Landoed64b5e2017-06-09 03:19:04 +0300430
Michael Lando451a3402017-02-19 10:28:42 +0200431 <!-- jacbi (log injection) -->
432
433 </plugins>
434 </pluginManagement>
Michael Landoed64b5e2017-06-09 03:19:04 +0300435
Michael Lando451a3402017-02-19 10:28:42 +0200436 </build>
437
Michael Landoed64b5e2017-06-09 03:19:04 +0300438 <profiles>
439 <profile>
440 <id>catalog</id>
441 <activation>
442 <activeByDefault>false</activeByDefault>
443 </activation>
Michael Lando451a3402017-02-19 10:28:42 +0200444
445
Michael Landoed64b5e2017-06-09 03:19:04 +0300446 <build>
447
448 <finalName>${project.artifactId}-${full.release.version}</finalName>
449
450 <plugins>
451
452 <!-- ================================================== -->
453 <!-- Get the next versions from the properties file. -->
454 <!-- ================================================== -->
455 <plugin>
456 <groupId>org.codehaus.mojo</groupId>
457 <artifactId>properties-maven-plugin</artifactId>
458 <version>1.0-alpha-2</version>
459
460 <executions>
461 <execution>
462 <inherited>false</inherited>
463 <phase>initialize</phase>
464 <goals>
465 <goal>read-project-properties</goal>
466 </goals>
467 <configuration>
468 <files>
469 <file>${project.parent.build.directory}/FullReleaseVersion.properties</file>
470 </files>
471 </configuration>
472 </execution>
473 </executions>
474 </plugin>
475 </plugins>
476 </build>
477 </profile>
Michael Lando451a3402017-02-19 10:28:42 +0200478
479
Michael Landoed64b5e2017-06-09 03:19:04 +0300480 <profile>
481 <id>Fortify</id>
482 <activation>
483 <activeByDefault>false</activeByDefault>
484 </activation>
Michael Lando451a3402017-02-19 10:28:42 +0200485
Michael Landoed64b5e2017-06-09 03:19:04 +0300486 <build>
487 <plugins>
488 <plugin>
489 <groupId>com.fortify.ps.maven.plugin</groupId>
490 <artifactId>sca-maven-plugin</artifactId>
491 <version>4.30</version>
492 <configuration>
493 <source>1.8</source>
494 <buildId>${project.parent.artifactId}</buildId>
495 <toplevelArtifactId>${project.parent.artifactId}</toplevelArtifactId>
496 </configuration>
497 </plugin>
498 </plugins>
499 </build>
500 </profile>
501 </profiles>
Michael Lando451a3402017-02-19 10:28:42 +0200502</project>