fix sec issue on tca
[dcaegen2/analytics/tca.git] / dcae-analytics-cdap-tca / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ ===============================LICENSE_START======================================
4   ~  dcae-analytics
5   ~ ================================================================================
6   ~    Copyright © 2017-2019 AT&T Intellectual Property. All rights reserved.
7   ~ ================================================================================
8   ~  Licensed under the Apache License, Version 2.0 (the "License");
9   ~  you may not use this file except in compliance with the License.
10   ~   You may obtain a copy of the License at
11   ~
12   ~          http://www.apache.org/licenses/LICENSE-2.0
13   ~
14   ~  Unless required by applicable law or agreed to in writing, software
15   ~  distributed under the License is distributed on an "AS IS" BASIS,
16   ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   ~  See the License for the specific language governing permissions and
18   ~  limitations under the License.
19   ~  ============================LICENSE_END===========================================
20   -->
21
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25
26     <modelVersion>4.0.0</modelVersion>
27
28     <parent>
29         <artifactId>dcae-analytics</artifactId>
30         <groupId>org.onap.dcaegen2.analytics.tca</groupId>
31         <version>2.2.1-SNAPSHOT</version>
32     </parent>
33
34     <artifactId>dcae-analytics-cdap-tca</artifactId>
35     <packaging>jar</packaging>
36
37     <!-- THIS MODULE CONTAINS CDAP CODE FOR TCA (THRESHOLD CROSSING ALERT) IMPLEMENTED AS CDAP FLOWLETS -->
38     <name>DCAE Analytics TCA Flowlets</name>
39     <description>DCAE Analytics TCA (THRESHOLD CROSSING ALERT) implemented as CDAP Flowlets</description>
40
41     <properties>
42         <main.basedir>${project.parent.basedir}</main.basedir>
43         <app.main.class>org.onap.dcae.apod.analytics.cdap.tca.TCAAnalyticsApplication</app.main.class>
44     </properties>
45
46     <dependencies>
47
48         <!-- DCAE DEPENDENCIES -->
49         <dependency>
50             <groupId>org.onap.dcaegen2.analytics.tca</groupId>
51             <artifactId>dcae-analytics-cdap-common</artifactId>
52             <version>${project.parent.version}</version>
53         </dependency>
54
55         <!-- CDAP -->
56         <dependency>
57             <groupId>co.cask.cdap</groupId>
58             <artifactId>cdap-api</artifactId>
59         </dependency>
60
61         <!-- CASK -->
62         <dependency>
63             <groupId>co.cask.http</groupId>
64             <artifactId>netty-http</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>co.cask.common</groupId>
68             <artifactId>common-http</artifactId>
69         </dependency>
70
71         <!-- LOGGING -->
72         <dependency>
73             <groupId>org.slf4j</groupId>
74             <artifactId>slf4j-api</artifactId>
75         </dependency>
76
77         <dependency>
78             <groupId>ch.qos.logback</groupId>
79             <artifactId>logback-core</artifactId>
80         </dependency>
81
82         <dependency>
83             <groupId>ch.qos.logback</groupId>
84             <artifactId>logback-classic</artifactId>
85         </dependency>
86
87         <!-- FIND BUGS -->
88         <dependency>
89             <groupId>com.google.code.findbugs</groupId>
90             <artifactId>jsr305</artifactId>
91             <version>${findbugs.jsr305.version}</version>
92             <scope>provided</scope>
93         </dependency>
94
95         <dependency>
96             <groupId>com.google.code.findbugs</groupId>
97             <artifactId>annotations</artifactId>
98             <version>${findbugs.annotations.version}</version>
99             <scope>provided</scope>
100         </dependency>
101
102
103         <!-- TEST DEPENDENCIES -->
104         <dependency>
105             <groupId>org.onap.dcaegen2.analytics.tca</groupId>
106             <artifactId>dcae-analytics-test</artifactId>
107             <version>${project.parent.version}</version>
108             <scope>test</scope>
109         </dependency>
110
111         <dependency>
112             <groupId>co.cask.cdap</groupId>
113             <artifactId>cdap-unit-test</artifactId>
114             <exclusions>
115                 <exclusion>
116                     <artifactId>org.apache.httpcomponents</artifactId>
117                     <groupId>httpcore</groupId>
118                 </exclusion>
119             </exclusions>
120         </dependency>
121
122     </dependencies>
123
124     <dependencyManagement>
125         <dependencies>
126             <dependency>
127                 <groupId>commons-codec</groupId>
128                 <artifactId>commons-codec</artifactId>
129                 <version>1.10</version>
130             </dependency>
131         </dependencies>
132     </dependencyManagement>
133     
134     <build>
135         <plugins>
136             <plugin>
137                 <groupId>org.apache.felix</groupId>
138                 <artifactId>maven-bundle-plugin</artifactId>
139                 <configuration>
140                     <instructions>
141                         <_exportcontents>
142                             com.fasterxml.jackson.core.*
143                         </_exportcontents>
144                     </instructions>
145                     <archive>
146                         <manifest>
147                             <mainClass>${app.main.class}</mainClass>
148                         </manifest>
149                     </archive>
150                 </configuration>
151             </plugin>
152         </plugins>
153     </build>
154
155 </project>