16967c797696f205c906920ad6c504804cef7ba5
[appc.git] / appc-adapters / appc-dmaap-adapter / appc-message-adapter-factory / 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.7.0-SNAPSHOT</version>
28                 <relativePath/>
29         </parent>
30
31         <groupId>org.onap.appc</groupId>
32         <artifactId>appc-message-adapter-factory</artifactId>
33         <packaging>bundle</packaging>
34         <name>appc-message-adapter-factory</name>
35
36         <dependencies>
37                 <dependency>
38                         <groupId>org.onap.appc</groupId>
39                         <artifactId>appc-common-bundle</artifactId>
40                         <version>${project.version}</version>
41                 </dependency>
42
43                 <dependency>
44                         <groupId>org.onap.appc</groupId>
45                         <artifactId>appc-dmaap-adapter-bundle</artifactId>
46                         <version>${project.version}</version>
47             <scope>provided</scope>
48         </dependency>
49
50         <dependency>
51             <groupId>org.onap.appc</groupId>
52             <artifactId>appc-message-adapter-api</artifactId>
53             <version>${project.version}</version>
54             <scope>provided</scope>
55                 </dependency>
56                 
57                 <dependency>
58                         <groupId>junit</groupId>
59                         <artifactId>junit</artifactId>
60                         <scope>test</scope>
61                 </dependency>
62
63                 <dependency>
64                         <groupId>equinoxSDK381</groupId>
65                         <artifactId>org.eclipse.osgi</artifactId>
66                         <version>${equinox.osgi.version}</version>
67                 </dependency>
68
69                 <dependency>
70                         <groupId>commons-codec</groupId>
71                         <artifactId>commons-codec</artifactId>
72                         </dependency>
73
74                 <dependency>
75                         <groupId>commons-lang</groupId>
76                         <artifactId>commons-lang</artifactId>
77                 </dependency>
78
79                 <dependency>
80                         <groupId>com.fasterxml.jackson.core</groupId>
81                         <artifactId>jackson-databind</artifactId>
82                 </dependency>
83                 <dependency>
84                         <groupId>com.fasterxml.jackson.core</groupId>
85                         <artifactId>jackson-core</artifactId>
86                 </dependency>
87                 <dependency>
88                         <groupId>com.fasterxml.jackson.core</groupId>
89                         <artifactId>jackson-annotations</artifactId>
90                 </dependency>
91
92                 <dependency>
93                         <groupId>org.mockito</groupId>
94                         <artifactId>mockito-core</artifactId>
95                         <scope>test</scope>
96                 </dependency>
97                 <dependency>
98                         <groupId>org.powermock</groupId>
99                         <artifactId>powermock-api-mockito</artifactId>
100                         <scope>test</scope>
101                 </dependency>
102
103                 <dependency>
104                         <groupId>org.powermock</groupId>
105                         <artifactId>powermock-module-junit4</artifactId>
106                         <scope>test</scope>
107                 </dependency>
108
109                 <dependency>
110                         <groupId>org.onap.ccsdk.sli.core</groupId>
111                         <artifactId>sli-common</artifactId>
112                         <scope>compile</scope>
113                         <!-- Added exclusion to prevent missing dependency issue on dblib -->
114                         <exclusions>
115                                 <exclusion>
116                                         <groupId>org.onap.ccsdk.sli.core</groupId>
117                                         <artifactId>dblib-provider</artifactId>
118                                 </exclusion>
119                         </exclusions>
120                 </dependency>
121
122                 <dependency>
123                         <groupId>org.onap.ccsdk.sli.core</groupId>
124                         <artifactId>sli-provider</artifactId>
125                         <scope>compile</scope>
126                         <!-- Added exclusion to prevent missing dependency issue on dblib -->
127                         <exclusions>
128                                 <exclusion>
129                                         <groupId>org.onap.ccsdk.sli.core</groupId>
130                                         <artifactId>dblib-provider</artifactId>
131                                 </exclusion>
132                         </exclusions>
133                 </dependency>
134
135         </dependencies>
136
137         <build>
138                 <plugins>
139                         <plugin>
140                                 <groupId>org.apache.felix</groupId>
141                                 <artifactId>maven-bundle-plugin</artifactId>
142                                 <extensions>true</extensions>
143                                 <configuration>
144                                         <instructions>
145                                                 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
146                                                 <Bundle-Version>${project.version}</Bundle-Version>
147                                                 <Export-Package>org.onap.appc.adapter.factory</Export-Package>
148                                                 <Bundle-Activator>org.onap.appc.adapter.factory.DmaapMessageAdapterFactoryActivator</Bundle-Activator>
149                                                 <Export-Service>org.onap.appc.adapter.message.MessageAdapterFactory</Export-Service>
150                                                 <Import-Package>org.onap.appc.adapter.messaging.*,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.*,com.vmware.*,org.apache.xerces.*,javax.net.ssl.*,org.xml.sax.*,javax.xml.*,javax.naming.*,javax.crypto.*,org.eclipse.jetty.servlets</Import-Package>
151                                                 <Embed-Dependency>*;scope=compile|runtime;artifactId=!appc-metric-bundle|sli-common|org.eclipse.osgi|slf4j-api|jcl-over-slf4j|mariadb-java-client|xml-apis|pax-*</Embed-Dependency>
152                                                 <Embed-Transitive>true</Embed-Transitive>
153                                                 <Bundle-Blueprint>OSGI-INF/blueprint/blueprint.xml</Bundle-Blueprint>
154                                         </instructions>
155                                 </configuration>
156                         </plugin>
157                 </plugins>
158         </build>
159         <version>1.7.0-SNAPSHOT</version>
160 </project>