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