Dependency changes to overcome
[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.4.0</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>equinoxSDK381</groupId>
76                         <artifactId>org.eclipse.osgi</artifactId>
77                         <version>${equinox.osgi.version}</version>
78                 </dependency>
79
80                 <dependency>
81                         <groupId>commons-codec</groupId>
82                         <artifactId>commons-codec</artifactId>
83                         </dependency>
84
85                 <dependency>
86                         <groupId>commons-lang</groupId>
87                         <artifactId>commons-lang</artifactId>
88                 </dependency>
89
90                 <dependency>
91                         <groupId>com.fasterxml.jackson.core</groupId>
92                         <artifactId>jackson-databind</artifactId>
93                 </dependency>
94                 <dependency>
95                         <groupId>com.fasterxml.jackson.core</groupId>
96                         <artifactId>jackson-core</artifactId>
97                 </dependency>
98                 <dependency>
99                         <groupId>com.fasterxml.jackson.core</groupId>
100                         <artifactId>jackson-annotations</artifactId>
101                 </dependency>
102
103                 <dependency>
104                         <groupId>org.mockito</groupId>
105                         <artifactId>mockito-core</artifactId>
106                         </dependency>
107                 <dependency>
108                         <groupId>org.powermock</groupId>
109                         <artifactId>powermock-api-mockito</artifactId>
110                         <scope>test</scope>
111                 </dependency>
112                 <dependency>
113                         <groupId>org.hamcrest</groupId>
114                         <artifactId>hamcrest-core</artifactId>
115                         </dependency>
116                 <dependency>
117                         <groupId>org.objenesis</groupId>
118                         <artifactId>objenesis</artifactId>
119                         <version>2.2</version>
120                 </dependency>
121
122                 <dependency>
123                         <groupId>org.powermock</groupId>
124                         <artifactId>powermock-module-junit4</artifactId>
125                         <scope>test</scope>
126                 </dependency>
127         <!-- <dependency>
128             <groupId>org.slf4j</groupId>
129             <artifactId>slf4j-api</artifactId>
130         </dependency>
131
132         <dependency>
133             <groupId>org.slf4j</groupId>
134             <artifactId>jcl-over-slf4j</artifactId>
135             </dependency>-->
136                 <dependency>
137                         <groupId>org.onap.ccsdk.sli.core</groupId>
138                         <artifactId>sli-common</artifactId>
139                         <scope>compile</scope>
140                         <!-- Added exclusion to prevent missing dependency issue on dblib -->
141                         <exclusions>
142                                 <exclusion>
143                                         <groupId>org.onap.ccsdk.sli.core</groupId>
144                                         <artifactId>dblib-provider</artifactId>
145                                 </exclusion>
146                                 <exclusion>
147                                         <artifactId>slf4j-simple</artifactId>
148                                         <groupId>org.slf4j</groupId>
149                                 </exclusion>
150                         </exclusions>
151                 </dependency>
152
153                 <dependency>
154                         <groupId>org.onap.ccsdk.sli.core</groupId>
155                         <artifactId>sli-provider</artifactId>
156                         <scope>compile</scope>
157                         <!-- Added exclusion to prevent missing dependency issue on dblib -->
158                         <exclusions>
159                                 <exclusion>
160                                         <groupId>org.onap.ccsdk.sli.core</groupId>
161                                         <artifactId>dblib-provider</artifactId>
162                                 </exclusion>
163                         </exclusions>
164                 </dependency>
165
166                 <!-- DMaaP Client -->
167                 <dependency> 
168                         <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> 
169                         <artifactId>dmaapClient</artifactId>
170             <version>${dmaap.client.version}</version>
171             <classifier>jar-with-dependencies</classifier>
172                 </dependency>
173
174                 <dependency>
175                         <groupId>org.json</groupId>
176                         <artifactId>json</artifactId>                   
177                 </dependency>
178                 <dependency>
179                         <groupId>commons-io</groupId>
180                         <artifactId>commons-io</artifactId>
181                 </dependency>
182         </dependencies>
183
184         <build>
185                 <plugins>
186                         <plugin>
187                                 <groupId>org.apache.felix</groupId>
188                                 <artifactId>maven-bundle-plugin</artifactId>
189                                 <extensions>true</extensions>
190                                 <configuration>
191                                         <instructions>
192                                                 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
193                                                 <Bundle-Version>${project.version}</Bundle-Version>
194                                                 <!--<Bundle-SymbolicName>org.onap.appc.adapter.messaging.dmaap</Bundle-SymbolicName>-->
195                                                 <Bundle-Activator>org.onap.appc.adapter.messaging.dmaap.AppcDmaapAdapterActivator</Bundle-Activator>
196                                                 <Export-Package>org.onap.appc.adapter.messaging.*</Export-Package>
197                                                 <Import-Package>com.att.eelf.configuration,*;resolution:=optional</Import-Package>
198                                                 <!-- <Embed-Dependency>dmaapClient,eelf-core</Embed-Dependency>-->
199                         <Embed-Dependency>logback-classic, logback-core,dmaapClient;scope=compile|runtime;artifactId=!org.eclipse.osgi|slf4j-api|slf4j-simple|jcl-over-slf4j|</Embed-Dependency>                                                
200                                                 <Embed-Transitive>true</Embed-Transitive>
201                                                 <Bundle-Blueprint>OSGI-INF/blueprint/blueprint.xml</Bundle-Blueprint>
202                                         </instructions>
203                                 </configuration>
204                         </plugin>
205                 </plugins>
206         </build>
207         <version>1.5.0-SNAPSHOT</version>
208 </project>