Merge "Refactoring of module in onboarding"
[sdc.git] / catalog-fe / 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
4         <modelVersion>4.0.0</modelVersion>
5         <artifactId>catalog-fe</artifactId>
6         <packaging>war</packaging>
7
8         <parent>
9                 <groupId>org.openecomp.sdc</groupId>
10                 <artifactId>sdc-main</artifactId>
11                 <version>1.2.0-SNAPSHOT</version>
12         </parent>
13
14         <dependencies>
15
16                 <dependency>
17                         <groupId>org.functionaljava</groupId>
18                         <artifactId>functionaljava</artifactId>
19                         <version>${functionaljava.version}</version>
20                         <scope>compile</scope>
21                 </dependency>
22
23                 <dependency>
24                         <groupId>org.openecomp.sdc</groupId>
25                         <artifactId>security-utils</artifactId>
26                         <version>${project.version}</version>
27                         <scope>compile</scope>
28                 </dependency>
29
30                 <dependency>
31                         <groupId>org.openecomp.sdc</groupId>
32                         <artifactId>common-app-api</artifactId>
33                         <version>${project.version}</version>
34                 </dependency>
35
36                 <!-- 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>
43
44                 <dependency>
45                         <groupId>ch.qos.logback</groupId>
46                         <artifactId>logback-classic</artifactId>
47             <version>${logback.version}</version>
48                         <scope>compile</scope>
49                 </dependency>
50
51                 <dependency>
52                         <groupId>ch.qos.logback</groupId>
53                         <artifactId>logback-core</artifactId>
54             <version>${logback.version}</version>
55                         <scope>compile</scope>
56                 </dependency>
57
58                 <dependency>
59                         <groupId>org.codehaus.groovy</groupId>
60                         <artifactId>groovy-all</artifactId>
61                         <version>${groovy.version}</version>
62                         <scope>compile</scope>
63                 </dependency>
64
65                 <dependency>
66                         <groupId>org.codehaus.janino</groupId>
67                         <artifactId>janino</artifactId>
68                         <version>${janino.version}</version>
69                         <scope>compile</scope>
70                 </dependency>
71
72                 <dependency>
73                         <groupId>org.yaml</groupId>
74                         <artifactId>snakeyaml</artifactId>
75                         <version>${snakeyaml.version}</version>
76                         <scope>compile</scope>
77                 </dependency>
78
79                 <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>
85
86                 <dependency>
87                         <groupId>com.google.code.gson</groupId>
88                         <artifactId>gson</artifactId>
89                         <version>${gson.version}</version>
90                         <scope>compile</scope>
91                 </dependency>
92
93                 <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>
99
100                 <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>
106
107                 <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>
113
114                 <dependency>
115                         <groupId>javax.mail</groupId>
116                         <artifactId>javax.mail-api</artifactId>
117                         <version>1.5.2</version>
118                         <scope>compile</scope>
119                 </dependency>
120
121                 <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>
127
128                 <dependency>
129                         <groupId>com.fasterxml.jackson.core</groupId>
130                         <artifactId>jackson-core</artifactId>
131                         <version>${jackson.version}</version>
132                         <scope>compile</scope>
133                 </dependency>
134
135                 <dependency>
136                         <groupId>com.fasterxml.jackson.core</groupId>
137                         <artifactId>jackson-databind</artifactId>
138                         <version>${jackson.version}</version>
139                         <scope>compile</scope>
140                 </dependency>
141
142                 <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>
148
149                 <!-- 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>
156
157                 <dependency>
158                         <groupId>org.apache.httpcomponents</groupId>
159                         <artifactId>httpcore</artifactId>
160             <version>${httpcore.version}</version>
161                         <scope>compile</scope>
162                 </dependency>
163
164                 <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>
171
172                 <dependency>
173                         <groupId>commons-logging</groupId>
174                         <artifactId>commons-logging</artifactId>
175                         <version>${commons-logging}</version>
176                         <scope>compile</scope>
177                 </dependency>
178
179                 <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 -->
186
187                 <dependency>
188                         <groupId>javax.servlet</groupId>
189                         <artifactId>servlet-api</artifactId>
190             <version>${servlet-api.version}</version>
191                         <scope>provided</scope>
192                 </dependency>
193
194                 <!-- 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>
201
202                 <!-- 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>
209
210                 <dependency>
211                         <groupId>org.eclipse.jetty</groupId>
212                         <artifactId>jetty-servlets</artifactId>
213                         <version>${jetty.version}</version>
214                         <scope>compile</scope>
215                 </dependency>
216
217                 <!-- 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>
224
225                 <!-- 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>
238
239                 <dependency>
240                         <groupId>org.apache.commons</groupId>
241                         <artifactId>commons-lang3</artifactId>
242             <version>${lang3.version}</version>
243                         <scope>compile</scope>
244                 </dependency>
245
246                 <!-- Inserted for ECOMP Portal Integration -->
247                 <dependency>
248                         <groupId>org.openecomp.ecompsdkos</groupId>
249                         <artifactId>epsdk-fw</artifactId>
250                         <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>
270
271                 <!-- 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>
279
280                 <dependency>
281                         <groupId>org.eclipse.jetty</groupId>
282                         <artifactId>jetty-servlet</artifactId>
283             <version>${jetty.version}</version>
284                         <scope>test</scope>
285                 </dependency>
286
287                 <dependency>
288                         <groupId>org.eclipse.jetty</groupId>
289                         <artifactId>jetty-webapp</artifactId>
290             <version>${jetty.version}</version>
291                         <scope>test</scope>
292                 </dependency>
293
294                 <dependency>
295                         <groupId>org.mockito</groupId>
296                         <artifactId>mockito-all</artifactId>
297                         <version>${mockito.version}</version>
298                         <scope>test</scope>
299                 </dependency>
300
301         </dependencies>
302
303         <build>
304
305                 <finalName>${project.artifactId}-${project.version}</finalName>
306
307                 <plugins>
308                         <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>
318
319                                         <webResources>
320                                                 <resource>
321                                                         <directory>src/main/resources</directory>
322                                                 </resource>
323                                         </webResources>
324                                 </configuration>
325                         </plugin>
326                         
327                         <plugin>
328                                 <groupId>org.eclipse.jetty</groupId>
329                                 <artifactId>jetty-maven-plugin</artifactId>
330                 <version>${jetty.version}</version>
331                                 <!--<version>9.0.6.v20130930</version>-->
332                                 <configuration>
333                                         <contextPath>/</contextPath>
334                                         <webApp>
335                                                 <contextPath>/</contextPath>
336                                                 <webInfIncludeJarPattern>.*/.*jersey-[^/]\.jar$</webInfIncludeJarPattern>
337                                         </webApp>
338                                         <war>${project.build.directory}/${project.build.finalName}.war</war>
339                                 </configuration>
340                         </plugin>
341
342                         <plugin>
343                                 <groupId>org.apache.maven.plugins</groupId>
344                                 <artifactId>maven-deploy-plugin</artifactId>
345                                 <version>2.7</version>
346                                 <configuration>
347                                         <skip>true</skip>
348                                 </configuration>
349                         </plugin>
350
351                         <plugin>
352                                 <groupId>com.jcabi</groupId>
353                                 <artifactId>jcabi-maven-plugin</artifactId>
354                                 <version>${jcabi.plugin.version}</version>
355                                 <executions>
356                                         <execution>
357                                                 <goals>
358                                                         <goal>ajc</goal>
359                                                 </goals>
360                                         </execution>
361                                 </executions>
362                         </plugin>
363                 </plugins>
364
365                 <pluginManagement>
366                         <plugins>
367                                 <!--This plugin's configuration is used to store Eclipse m2e settings 
368                                         only. It has no influence on the Maven build itself. -->
369                                 <plugin>
370                                         <groupId>org.eclipse.m2e</groupId>
371                                         <artifactId>lifecycle-mapping</artifactId>
372                                         <version>1.0.0</version>
373                                         <configuration>
374                                                 <lifecycleMappingMetadata>
375                                                         <pluginExecutions>
376
377                                                                 <pluginExecution>
378                                                                         <pluginExecutionFilter>
379                                                                                 <groupId>com.jcabi</groupId>
380                                                                                 <artifactId>jcabi-maven-plugin</artifactId>
381                                                                                 <versionRange>[0.0,)</versionRange>
382                                                                                 <goals>
383                                                                                         <goal>ajc</goal>
384                                                                                 </goals>
385                                                                         </pluginExecutionFilter>
386                                                                         <action>
387                                                                                 <execute />
388                                                                         </action>
389                                                                 </pluginExecution>
390
391                                                         </pluginExecutions>
392                                                 </lifecycleMappingMetadata>
393                                         </configuration>
394                                 </plugin>
395
396                                 <!-- jacbi (log injection) -->
397
398                         </plugins>
399                 </pluginManagement>
400
401         </build>
402
403         <profiles>
404         <profile>
405             <id>catalog</id>
406             <activation>
407                 <activeByDefault>false</activeByDefault>
408             </activation>
409
410             <build>
411                 <finalName>${project.artifactId}-${project.version}</finalName>          
412             </build>
413         </profile>
414         </profiles>
415 </project>