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