ODL Upgrade Method 2
[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   -->
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</groupId>
26                 <artifactId>appc-dmaap-adapter</artifactId>
27                 <version>1.3.0-SNAPSHOT</version>
28         </parent>
29
30         <artifactId>appc-dmaap-adapter-bundle</artifactId>
31         <packaging>bundle</packaging>
32         <name>DMaaP Adapter - bundle</name>
33
34         <dependencies>
35                 <dependency>
36                         <groupId>org.onap.appc</groupId>
37                         <artifactId>appc-message-adapter-api</artifactId>
38                         <version>${project.version}</version>
39                 </dependency>
40                 <dependency>
41                         <groupId>org.onap.appc</groupId>
42                         <artifactId>appc-metric-bundle</artifactId>
43                         <version>${project.version}</version>
44                 </dependency>
45                 <dependency>
46                         <groupId>org.onap.appc</groupId>
47                         <artifactId>appc-common</artifactId>
48                         <version>${project.version}</version>
49                 </dependency>
50
51                 <dependency>
52                         <groupId>junit</groupId>
53                         <artifactId>junit</artifactId>
54                         <scope>test</scope>
55                 </dependency>
56
57                 <dependency>
58                         <groupId>equinoxSDK381</groupId>
59                         <artifactId>org.eclipse.osgi</artifactId>
60                 </dependency>
61
62                 <dependency>
63                         <groupId>commons-codec</groupId>
64                         <artifactId>commons-codec</artifactId>
65                         </dependency>
66
67                 <dependency>
68                         <groupId>commons-lang</groupId>
69                         <artifactId>commons-lang</artifactId>
70                 </dependency>
71
72                 <dependency>
73                         <groupId>com.fasterxml.jackson.core</groupId>
74                         <artifactId>jackson-databind</artifactId>
75                 </dependency>
76                 <dependency>
77                         <groupId>com.fasterxml.jackson.core</groupId>
78                         <artifactId>jackson-core</artifactId>
79                 </dependency>
80                 <dependency>
81                         <groupId>com.fasterxml.jackson.core</groupId>
82                         <artifactId>jackson-annotations</artifactId>
83                 </dependency>
84
85                 <dependency>
86                         <groupId>org.mockito</groupId>
87                         <artifactId>mockito-core</artifactId>
88                         </dependency>
89                 <dependency>
90                         <groupId>org.powermock</groupId>
91                         <artifactId>powermock-api-mockito</artifactId>
92                         <scope>test</scope>
93                 </dependency>
94                 <dependency>
95                         <groupId>org.hamcrest</groupId>
96                         <artifactId>hamcrest-core</artifactId>
97                         </dependency>
98                 <dependency>
99                         <groupId>org.objenesis</groupId>
100                         <artifactId>objenesis</artifactId>
101                         <version>2.2</version>
102                 </dependency>
103
104                 <dependency>
105                         <groupId>org.powermock</groupId>
106                         <artifactId>powermock-module-junit4</artifactId>
107                         <scope>test</scope>
108                 </dependency>
109         <dependency>
110             <groupId>org.slf4j</groupId>
111             <artifactId>slf4j-api</artifactId>
112         </dependency>
113
114         <dependency>
115             <groupId>org.slf4j</groupId>
116             <artifactId>jcl-over-slf4j</artifactId>
117             </dependency>
118                 <dependency>
119                         <groupId>org.onap.ccsdk.sli.core</groupId>
120                         <artifactId>sli-common</artifactId>
121                         <scope>compile</scope>
122                         <!-- Added exclusion to prevent missing dependency issue on dblib -->
123                         <exclusions>
124                                 <exclusion>
125                                         <groupId>org.onap.ccsdk.sli.core</groupId>
126                                         <artifactId>dblib-provider</artifactId>
127                                 </exclusion>
128                                 <exclusion>
129                                         <artifactId>slf4j-simple</artifactId>
130                                         <groupId>org.slf4j</groupId>
131                                 </exclusion>
132                         </exclusions>
133                 </dependency>
134
135                 <dependency>
136                         <groupId>org.onap.ccsdk.sli.core</groupId>
137                         <artifactId>sli-provider</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                         </exclusions>
146                 </dependency>
147
148                 <!-- DMaaP Client -->
149                 <dependency> 
150                         <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> 
151                         <artifactId>dmaapClient</artifactId>
152             <version>${dmaap.client.version}</version> 
153                 </dependency> 
154
155                 <dependency>
156                         <groupId>org.json</groupId>
157                         <artifactId>json</artifactId>                   
158                 </dependency>
159                 <dependency>
160                         <groupId>commons-io</groupId>
161                         <artifactId>commons-io</artifactId>
162                 </dependency>
163         </dependencies>
164
165         <build>
166                 <plugins>
167                         <plugin>
168                                 <groupId>org.apache.felix</groupId>
169                                 <artifactId>maven-bundle-plugin</artifactId>
170                                 <extensions>true</extensions>
171                                 <configuration>
172                                         <instructions>
173                                                 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
174                                                 <Bundle-Version>${project.version}</Bundle-Version>
175                                                 <!--<Bundle-SymbolicName>org.onap.appc.adapter.messaging.dmaap</Bundle-SymbolicName>-->
176                                                 <Bundle-Activator>org.onap.appc.adapter.messaging.dmaap.AppcDmaapAdapterActivator</Bundle-Activator>
177                                                 <Export-Package>org.onap.appc.adapter.messaging.*</Export-Package>
178                                                 <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</Import-Package>
179                                                 <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>
180                                                 <Embed-Transitive>true</Embed-Transitive>
181                                                 <Bundle-Blueprint>OSGI-INF/blueprint/blueprint.xml</Bundle-Blueprint>
182                                         </instructions>
183                                 </configuration>
184                         </plugin>
185                 </plugins>
186         </build>
187 </project>