Enhance DMaaP Adapter Configuration
[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 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   ECOMP is a trademark and service mark of AT&T Intellectual Property.
22   -->
23 <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">
24         <modelVersion>4.0.0</modelVersion>
25         <parent>
26                 <groupId>org.onap.appc</groupId>
27                 <artifactId>appc-dmaap-adapter</artifactId>
28                 <version>1.3.0-SNAPSHOT</version>
29         </parent>
30
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</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                 </dependency>
62
63                 <dependency>
64                         <groupId>commons-codec</groupId>
65                         <artifactId>commons-codec</artifactId>
66                         </dependency>
67
68                 <dependency>
69                         <groupId>commons-lang</groupId>
70                         <artifactId>commons-lang</artifactId>
71                 </dependency>
72
73                 <dependency>
74                         <groupId>com.fasterxml.jackson.core</groupId>
75                         <artifactId>jackson-databind</artifactId>
76                 </dependency>
77                 <dependency>
78                         <groupId>com.fasterxml.jackson.core</groupId>
79                         <artifactId>jackson-core</artifactId>
80                 </dependency>
81                 <dependency>
82                         <groupId>com.fasterxml.jackson.core</groupId>
83                         <artifactId>jackson-annotations</artifactId>
84                 </dependency>
85
86                 <dependency>
87                         <groupId>org.mockito</groupId>
88                         <artifactId>mockito-core</artifactId>
89                         </dependency>
90                 <dependency>
91                         <groupId>org.powermock</groupId>
92                         <artifactId>powermock-api-mockito</artifactId>
93                         <scope>test</scope>
94                 </dependency>
95                 <dependency>
96                         <groupId>org.hamcrest</groupId>
97                         <artifactId>hamcrest-core</artifactId>
98                         </dependency>
99                 <dependency>
100                         <groupId>org.objenesis</groupId>
101                         <artifactId>objenesis</artifactId>
102                         <version>2.2</version>
103                 </dependency>
104
105                 <dependency>
106                         <groupId>org.powermock</groupId>
107                         <artifactId>powermock-module-junit4</artifactId>
108                         <scope>test</scope>
109                 </dependency>
110         <dependency>
111             <groupId>org.slf4j</groupId>
112             <artifactId>slf4j-api</artifactId>
113         </dependency>
114
115         <dependency>
116             <groupId>org.slf4j</groupId>
117             <artifactId>jcl-over-slf4j</artifactId>
118             </dependency>
119                 <dependency>
120                         <groupId>org.onap.ccsdk.sli.core</groupId>
121                         <artifactId>sli-common</artifactId>
122                         <scope>compile</scope>
123                         <!-- Added exclusion to prevent missing dependency issue on dblib -->
124                         <exclusions>
125                                 <exclusion>
126                                         <groupId>org.onap.ccsdk.sli.core</groupId>
127                                         <artifactId>dblib-provider</artifactId>
128                                 </exclusion>
129                                 <exclusion>
130                                         <artifactId>slf4j-simple</artifactId>
131                                         <groupId>org.slf4j</groupId>
132                                 </exclusion>
133                         </exclusions>
134                 </dependency>
135
136                 <dependency>
137                         <groupId>org.onap.ccsdk.sli.core</groupId>
138                         <artifactId>sli-provider</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                         </exclusions>
147                 </dependency>
148
149                 <!-- DMaaP Client -->
150                 <dependency> 
151                         <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> 
152                         <artifactId>dmaapClient</artifactId>
153             <version>${dmaap.client.version}</version> 
154                 </dependency> 
155
156                 <dependency>
157                         <groupId>org.json</groupId>
158                         <artifactId>json</artifactId>                   
159                 </dependency>
160                 <dependency>
161                         <groupId>commons-io</groupId>
162                         <artifactId>commons-io</artifactId>
163                 </dependency>
164         </dependencies>
165
166         <build>
167                 <plugins>
168                         <plugin>
169                                 <groupId>org.apache.felix</groupId>
170                                 <artifactId>maven-bundle-plugin</artifactId>
171                                 <extensions>true</extensions>
172                                 <configuration>
173                                         <instructions>
174                                                 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
175                                                 <Bundle-Version>${project.version}</Bundle-Version>
176                                                 <!--<Bundle-SymbolicName>org.onap.appc.adapter.messaging.dmaap</Bundle-SymbolicName>-->
177                                                 <Bundle-Activator>org.onap.appc.adapter.messaging.dmaap.AppcDmaapAdapterActivator</Bundle-Activator>
178                                                 <Export-Package>org.onap.appc.adapter.messaging.*</Export-Package>
179                                                 <Import-Package>!org.slf4j.event,org.onap.appc.adapter.message.*,org.onap.appc.metricservice.*,com.att.nsa.*,org.onap.ccsdk.sli.core.sli.*,org.osgi.framework.*,!org.osgi.service.event.*,org.osgi.service.*,org.osgi.util.*,org.slf4j.*,com.vmware.*,org.apache.xerces.*,javax.net.ssl.*,org.xml.sax.*,javax.xml.*,javax.naming.*,javax.crypto.*, com.sun.jersey.spi.container.servlet,org.eclipse.jetty.servlets,org.w3c.*</Import-Package>
180                                                 <Embed-Dependency>*;scope=compile|runtime;artifactId=!appc-metric-bundle|appc-message-adapter-api|sli-common|org.eclipse.osgi|slf4j-api|jcl-over-slf4j|mariadb-java-client|xml-apis|pax-*</Embed-Dependency>
181                                                 <Embed-Transitive>true</Embed-Transitive>
182                                                 <Bundle-Blueprint>OSGI-INF/blueprint/blueprint.xml</Bundle-Blueprint>
183                                         </instructions>
184                                 </configuration>
185                         </plugin>
186                 </plugins>
187         </build>
188 </project>