Test coverage in DmaapProducerImpl
[appc.git] / appc-adapters / appc-dmaap-adapter / appc-dmaap-adapter-bundle / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP : APPC
5   ================================================================================
6   Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
7   Copyright (C) 2017 Amdocs
8   ================================================================================
9   Licensed under the Apache License, Version 2.0 (the "License");
10   you may not use this file except in compliance with the License.
11   You may obtain a copy of the License at
12   
13        http://www.apache.org/licenses/LICENSE-2.0
14   
15   Unless required by applicable law or agreed to in writing, software
16   distributed under the License is distributed on an "AS IS" BASIS,
17   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   See the License for the specific language governing permissions and
19   limitations under the License.
20   ============LICENSE_END=========================================================
21   -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23         <modelVersion>4.0.0</modelVersion>
24         <parent>
25                 <groupId>org.onap.appc.parent</groupId>
26                 <artifactId>binding-parent</artifactId>
27                 <version>1.5.0-SNAPSHOT</version>
28                 <relativePath />
29         </parent>
30         <groupId>org.onap.appc</groupId>
31         <artifactId>appc-dmaap-adapter-bundle</artifactId>
32         <packaging>bundle</packaging>
33         <name>DMaaP Adapter - bundle</name>
34
35         <dependencies>
36                 <dependency>
37                         <groupId>org.onap.appc</groupId>
38                         <artifactId>appc-message-adapter-api</artifactId>
39                         <version>${project.version}</version>
40                 </dependency>
41                 <dependency>
42                         <groupId>org.onap.appc</groupId>
43                         <artifactId>appc-metric-bundle</artifactId>
44                         <version>${project.version}</version>
45                 </dependency>
46                 <dependency>
47                         <groupId>org.onap.appc</groupId>
48                         <artifactId>appc-common-bundle</artifactId>
49                         <version>${project.version}</version>
50                 </dependency>
51
52         <dependency>
53             <groupId>ch.qos.logback</groupId>
54             <artifactId>logback-classic</artifactId>
55             <version>${logback.version}</version>
56         </dependency>
57        <dependency>
58             <groupId>com.att.eelf</groupId>
59             <artifactId>eelf-core</artifactId>
60             <exclusions>
61                 <exclusion>
62                     <groupId>ch.qos.logback</groupId>
63                     <artifactId>logback-classic</artifactId>
64                 </exclusion>
65             </exclusions>
66         </dependency>
67
68                 <dependency>
69                         <groupId>junit</groupId>
70                         <artifactId>junit</artifactId>
71                         <scope>test</scope>
72                 </dependency>
73
74                 <dependency>
75                         <groupId>commons-codec</groupId>
76                         <artifactId>commons-codec</artifactId>
77                         </dependency>
78
79                 <dependency>
80                         <groupId>commons-lang</groupId>
81                         <artifactId>commons-lang</artifactId>
82                 </dependency>
83
84                 <dependency>
85                         <groupId>com.fasterxml.jackson.core</groupId>
86                         <artifactId>jackson-databind</artifactId>
87                 </dependency>
88                 <dependency>
89                         <groupId>com.fasterxml.jackson.core</groupId>
90                         <artifactId>jackson-core</artifactId>
91                 </dependency>
92                 <dependency>
93                         <groupId>com.fasterxml.jackson.core</groupId>
94                         <artifactId>jackson-annotations</artifactId>
95                 </dependency>
96
97                 <dependency>
98                         <groupId>org.mockito</groupId>
99                         <artifactId>mockito-core</artifactId>
100                         </dependency>
101                 <dependency>
102                         <groupId>org.powermock</groupId>
103                         <artifactId>powermock-api-mockito</artifactId>
104                         <scope>test</scope>
105                 </dependency>
106                 <dependency>
107                         <groupId>org.hamcrest</groupId>
108                         <artifactId>hamcrest-core</artifactId>
109                         </dependency>
110                 <dependency>
111                         <groupId>org.objenesis</groupId>
112                         <artifactId>objenesis</artifactId>
113                         <version>2.2</version>
114                 </dependency>
115
116                 <dependency>
117                         <groupId>org.powermock</groupId>
118                         <artifactId>powermock-module-junit4</artifactId>
119                         <scope>test</scope>
120                 </dependency>
121         <!-- <dependency>
122             <groupId>org.slf4j</groupId>
123             <artifactId>slf4j-api</artifactId>
124         </dependency>
125
126         <dependency>
127             <groupId>org.slf4j</groupId>
128             <artifactId>jcl-over-slf4j</artifactId>
129             </dependency>-->
130                 <dependency>
131                         <groupId>org.onap.ccsdk.sli.core</groupId>
132                         <artifactId>sli-common</artifactId>
133                         <scope>compile</scope>
134                         <!-- Added exclusion to prevent missing dependency issue on dblib -->
135                         <exclusions>
136                                 <exclusion>
137                                         <groupId>org.onap.ccsdk.sli.core</groupId>
138                                         <artifactId>dblib-provider</artifactId>
139                                 </exclusion>
140                                 <exclusion>
141                                         <artifactId>slf4j-simple</artifactId>
142                                         <groupId>org.slf4j</groupId>
143                                 </exclusion>
144                         </exclusions>
145                 </dependency>
146
147                 <dependency>
148                         <groupId>org.onap.ccsdk.sli.core</groupId>
149                         <artifactId>sli-provider</artifactId>
150                         <scope>compile</scope>
151                         <!-- Added exclusion to prevent missing dependency issue on dblib -->
152                         <exclusions>
153                                 <exclusion>
154                                         <groupId>org.onap.ccsdk.sli.core</groupId>
155                                         <artifactId>dblib-provider</artifactId>
156                                 </exclusion>
157                         </exclusions>
158                 </dependency>
159
160                 <!-- DMaaP Client -->
161                 <dependency> 
162                         <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> 
163                         <artifactId>dmaapClient</artifactId>
164             <version>${dmaap.client.version}</version>
165             <classifier>jar-with-dependencies</classifier>
166                 </dependency>
167
168                 <dependency>
169                         <groupId>org.json</groupId>
170                         <artifactId>json</artifactId>                   
171                 </dependency>
172                 <dependency>
173                         <groupId>commons-io</groupId>
174                         <artifactId>commons-io</artifactId>
175                 </dependency>
176         </dependencies>
177
178         <build>
179                 <plugins>
180                         <plugin>
181                                 <groupId>org.apache.felix</groupId>
182                                 <artifactId>maven-bundle-plugin</artifactId>
183                                 <extensions>true</extensions>
184                                 <configuration>
185                                         <instructions>
186                                                 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
187                                                 <Bundle-Version>${project.version}</Bundle-Version>
188                                                 <!--<Bundle-SymbolicName>org.onap.appc.adapter.messaging.dmaap</Bundle-SymbolicName>-->
189                                                 <Bundle-Activator>org.onap.appc.adapter.messaging.dmaap.AppcDmaapAdapterActivator</Bundle-Activator>
190                                                 <Export-Package>org.onap.appc.adapter.messaging.*</Export-Package>
191                                                 <Import-Package>com.att.eelf.configuration,*;resolution:=optional</Import-Package>
192                                                 <!-- <Embed-Dependency>dmaapClient,eelf-core</Embed-Dependency>-->
193                         <Embed-Dependency>logback-classic, logback-core,dmaapClient;scope=compile|runtime;artifactId=!org.eclipse.osgi|slf4j-api|slf4j-simple|jcl-over-slf4j|</Embed-Dependency>                                                
194                                                 <Embed-Transitive>true</Embed-Transitive>
195                                                 <Bundle-Blueprint>OSGI-INF/blueprint/blueprint.xml</Bundle-Blueprint>
196                                         </instructions>
197                                 </configuration>
198                         </plugin>
199                 </plugins>
200         </build>
201         <version>1.5.0-SNAPSHOT</version>
202 </project>