Possible fix for NoClassDefFoundError
[appc.git] / appc-dg / appc-dg-shared / appc-dg-common / 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-dg-common</artifactId>
32         <packaging>bundle</packaging>
33
34         <dependencies>
35                 <dependency>
36                         <groupId>org.onap.appc</groupId>
37                         <artifactId>appc-common-bundle</artifactId>
38                         <version>${project.version}</version>
39                         <!-- TODO: WA for fixing build, clueanup dependency tree -->
40                         <exclusions>
41                                 <exclusion>
42                                         <groupId>equinoxSDK381</groupId>
43                                         <artifactId>org.eclipse.osgi</artifactId>
44                                 </exclusion>
45                         </exclusions>
46                 </dependency>
47                 <dependency>
48                         <groupId>org.onap.appc</groupId>
49                         <artifactId>appc-message-adapter-api</artifactId>
50                         <version>${project.version}</version>
51                         <scope>provided</scope>
52                         <!-- TODO: WA for fixing build, clueanup dependency tree -->
53                         <exclusions>
54                                 <exclusion>
55                                         <groupId>equinoxSDK381</groupId>
56                                         <artifactId>org.eclipse.osgi</artifactId>
57                                 </exclusion>
58                         </exclusions>
59                 </dependency>
60                 <dependency>
61                         <groupId>org.onap.appc</groupId>
62                         <artifactId>appc-message-adapter-factory</artifactId>
63                         <version>${project.version}</version>
64                         <scope>provided</scope>
65                         <!-- TODO: WA for fixing build, clueanup dependency tree -->
66                         <exclusions>
67                                 <exclusion>
68                                         <groupId>equinoxSDK381</groupId>
69                                         <artifactId>org.eclipse.osgi</artifactId>
70                                 </exclusion>
71                         </exclusions>
72                 </dependency>
73                 <dependency>
74                         <groupId>org.onap.ccsdk.sli.core</groupId>
75                         <artifactId>sli-common</artifactId>
76                         <scope>provided</scope>
77                         <!-- TODO: WA for fixing build, clueanup dependency tree -->
78                         <exclusions>
79                                 <exclusion>
80                                         <groupId>equinoxSDK381</groupId>
81                                         <artifactId>org.eclipse.osgi</artifactId>
82                                 </exclusion>
83                         </exclusions>
84                 </dependency>
85                 <dependency>
86                         <groupId>org.onap.ccsdk.sli.core</groupId>
87                         <artifactId>sli-provider</artifactId>
88                         <scope>provided</scope>
89                         <!-- TODO: WA for fixing build, clueanup dependency tree -->
90                         <exclusions>
91                                 <exclusion>
92                                         <groupId>equinoxSDK381</groupId>
93                                         <artifactId>org.eclipse.osgi</artifactId>
94                                 </exclusion>
95                         </exclusions>
96                 </dependency>
97                 <dependency>
98                         <groupId>junit</groupId>
99                         <artifactId>junit</artifactId>
100                         <scope>test</scope>
101                 </dependency>
102                 <dependency>
103                         <groupId>org.mockito</groupId>
104                         <artifactId>mockito-core</artifactId>
105                         <scope>test</scope>
106                 </dependency>
107                 <dependency>
108                         <groupId>org.powermock</groupId>
109                         <artifactId>powermock-api-mockito</artifactId>
110                         <scope>test</scope>
111                 </dependency>
112                 <dependency>
113                         <groupId>org.powermock</groupId>
114                         <artifactId>powermock-module-junit4</artifactId>
115                         <scope>test</scope>
116                 </dependency>
117                 <dependency>
118                         <groupId>org.powermock</groupId>
119                         <artifactId>powermock-api-easymock</artifactId>
120                         <version>1.6.2</version>
121                 </dependency>
122                 <dependency>
123                         <groupId>org.onap.appc</groupId>
124                         <artifactId>appc-dg-dependency-model</artifactId>
125                         <version>${project.version}</version>
126                         <!-- TODO: WA for fixing build, clueanup dependency tree -->
127                         <exclusions>
128                                 <exclusion>
129                                         <groupId>equinoxSDK381</groupId>
130                                         <artifactId>org.eclipse.osgi</artifactId>
131                                 </exclusion>
132                         </exclusions>
133                 </dependency>
134                 <dependency>
135                         <groupId>org.onap.appc</groupId>
136                         <artifactId>appc-ranking-framework-lib</artifactId>
137                         <version>${project.version}</version>
138                         <!-- TODO: WA for fixing build, clueanup dependency tree -->
139                         <exclusions>
140                                 <exclusion>
141                                         <groupId>equinoxSDK381</groupId>
142                                         <artifactId>org.eclipse.osgi</artifactId>
143                                 </exclusion>
144                         </exclusions>
145                 </dependency>
146                 <dependency>
147                         <groupId>org.onap.appc</groupId>
148                         <artifactId>appc-data-access-lib</artifactId>
149                         <version>${project.version}</version>
150                         <!-- TODO: WA for fixing build, clueanup dependency tree -->
151                         <exclusions>
152                                 <exclusion>
153                                         <groupId>equinoxSDK381</groupId>
154                                         <artifactId>org.eclipse.osgi</artifactId>
155                                 </exclusion>
156                         </exclusions>
157                 </dependency>
158                 <!-- TODO: WA for fixing build, clueanup dependency tree -->
159                 <!--<dependency>
160                         <groupId>equinoxSDK381</groupId>
161                         <artifactId>org.eclipse.osgi</artifactId>
162                         <scope>test</scope>
163                 </dependency>-->
164                 <dependency>
165                         <groupId>org.onap.appc</groupId>
166                         <artifactId>appc-dg-mdsal-bundle</artifactId>
167                         <version>${project.version}</version>
168                         <!-- TODO: WA for fixing build, clueanup dependency tree -->
169                         <exclusions>
170                                 <exclusion>
171                                         <groupId>equinoxSDK381</groupId>
172                                         <artifactId>org.eclipse.osgi</artifactId>
173                                 </exclusion>
174                         </exclusions>
175                 </dependency>
176         <dependency>
177             <groupId>com.fasterxml.jackson.dataformat</groupId>
178             <artifactId>jackson-dataformat-yaml</artifactId>
179         </dependency>
180         <dependency>
181             <groupId>com.fasterxml.jackson.core</groupId>
182             <artifactId>jackson-annotations</artifactId>
183         </dependency>
184         <dependency>
185             <groupId>com.fasterxml.jackson.core</groupId>
186             <artifactId>jackson-databind</artifactId>
187         </dependency>
188         <dependency>
189             <groupId>com.fasterxml.jackson.core</groupId>
190             <artifactId>jackson-core</artifactId>
191         </dependency>
192         <dependency>
193             <groupId>org.yaml</groupId>
194             <artifactId>snakeyaml</artifactId>
195         </dependency>
196         <dependency>
197             <groupId>commons-lang</groupId>
198             <artifactId>commons-lang</artifactId>
199             <scope>compile</scope>
200         </dependency>
201         </dependencies>
202
203         <build>
204                 <plugins>
205                         <plugin>
206                                 <groupId>org.apache.felix</groupId>
207                                 <artifactId>maven-bundle-plugin</artifactId>
208                                 <extensions>true</extensions>
209                                 <configuration>
210                                         <instructions>
211                                                 <Bundle-SymbolicName>appc-dg-common</Bundle-SymbolicName>
212                                                 <Export-Package>org.onap.appc.dg.common,org.onap.appc.dg.common.objects,org.onap.appc.dg.common.utils</Export-Package>
213                                                 <Private-Package>org.onap.appc.dg.common.impl.*</Private-Package>
214                                                 <Import-Package>org.onap.appc.adapter.message.*,org.onap.appc.adapter.factory.*,org.onap.appc.adapter.messaging.*,
215                                                         *;resolution:=optional</Import-Package>
216                                                 <Embed-Dependency>appc-dmaap-adapter-bundle,appc-dg-mdsal-bundle,appc-dg-domain-model-lib,appc-dg-dependency-model,jackson-dataformat-yaml,jackson-databind,jackson-core,jackson-annotations;scope=compile|runtime;inline=false;artifactId=!org.eclipse.osgi</Embed-Dependency>
217
218                                                 <!--Embed-Dependency>eelf-core,logback-core,logback-classic;scope=compile|runtime;inline=false</Embed-Dependency-->
219                                                 <Embed-Transitive>true</Embed-Transitive>
220                                                 <_removeheaders>Import-Service</_removeheaders>
221                                         </instructions>
222                                 </configuration>
223                         </plugin>
224                 </plugins>
225         </build>
226         <version>1.4.4-SNAPSHOT</version>
227 </project>