Add dependencies for appc-sdc bundle
[appc.git] / appc-sdc-listener / appc-sdc-listener-bundle / pom.xml
1 <!--
2 ============LICENSE_START=======================================================
3 ONAP : APPC
4 ================================================================================
5 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
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
25
26         <parent>
27                 <groupId>org.onap.appc.parent</groupId>
28                 <artifactId>binding-parent</artifactId>
29                 <version>1.4.0-SNAPSHOT</version>
30                 <relativePath />
31         </parent>
32         <groupId>org.onap.appc</groupId>
33
34         <properties>
35                 <jackson-yaml-version>2.8.1</jackson-yaml-version>
36                 <snakeyaml.version>1.15</snakeyaml.version>
37         </properties>
38
39         <artifactId>appc-sdc-listener-bundle</artifactId>
40         <packaging>bundle</packaging>
41
42         <dependencies>
43
44                 <dependency>
45                         <groupId>equinoxSDK381</groupId>
46                         <artifactId>org.eclipse.osgi</artifactId>
47                 </dependency>
48
49                 <dependency>
50                         <groupId>org.json</groupId>
51                         <artifactId>json</artifactId>
52                         <scope>compile</scope>
53                 </dependency>
54
55                 <dependency>
56                         <groupId>org.mockito</groupId>
57                         <artifactId>mockito-core</artifactId>
58                         <scope>test</scope>
59                 </dependency>
60                 <dependency>
61                         <groupId>org.powermock</groupId>
62                         <artifactId>powermock-module-junit4</artifactId>
63                         <version>1.6.2</version>
64                         <scope>test</scope>
65                 </dependency>
66                 <dependency>
67                         <groupId>org.powermock</groupId>
68                         <artifactId>powermock-api-mockito</artifactId>
69                         <scope>test</scope>
70                 </dependency>
71
72                 <dependency>
73                         <groupId>org.onap.sdc.sdc-distribution-client</groupId>
74                         <artifactId>sdc-distribution-client</artifactId>
75                         <version>${sdc-client.version}</version>
76                 </dependency>
77
78                 <dependency>
79                         <groupId>org.onap.appc</groupId>
80                         <artifactId>appc-message-adapter-api</artifactId>
81                         <version>${project.version}</version>
82                 </dependency>
83
84                 <dependency>
85                         <groupId>org.onap.appc</groupId>
86                         <artifactId>appc-message-adapter-factory</artifactId>
87                         <version>${project.version}</version>
88                 </dependency>
89
90                 <dependency>
91                         <groupId>org.yaml</groupId>
92                         <artifactId>snakeyaml</artifactId>
93                         <version>${snakeyaml.version}</version>
94                 </dependency>
95
96                 <dependency>
97                         <groupId>org.onap.appc</groupId>
98                         <artifactId>appc-common-bundle</artifactId>
99                         <version>${project.version}</version>
100                 </dependency>
101
102
103                 <dependency>
104                         <groupId>junit</groupId>
105                         <artifactId>junit</artifactId>
106                         <scope>compile</scope>
107                 </dependency>
108
109                 <dependency>
110                         <groupId>com.att.eelf</groupId>
111                         <artifactId>eelf-core</artifactId>
112                 </dependency>
113                 <dependency>
114                         <groupId>com.att.nsa</groupId>
115                         <artifactId>cambriaClient</artifactId>
116                         <version>${cambriaClient.version}</version>
117                 </dependency>
118                 <dependency>
119                         <groupId>com.att.nsa</groupId>
120                         <artifactId>saClientLibrary</artifactId>
121                         <version>${saClientLibrary.version}</version>
122                 </dependency>
123                 <dependency>
124                         <groupId>ch.qos.logback</groupId>
125                         <artifactId>logback-core</artifactId>
126                 </dependency>
127                 <dependency>
128                         <groupId>ch.qos.logback</groupId>
129                         <artifactId>logback-classic</artifactId>
130                 </dependency>
131                 <dependency>
132                         <groupId>org.functionaljava</groupId>
133                         <artifactId>functionaljava</artifactId>
134                         <version>4.2</version>
135                 </dependency>
136                 <dependency>
137                         <groupId>org.apache.httpcomponents</groupId>
138                         <artifactId>httpcore</artifactId>
139                         <version>4.4.1</version>
140                 </dependency>
141                 <dependency>
142                         <groupId>org.apache.httpcomponents</groupId>
143                         <artifactId>httpclient</artifactId>
144                         <version>4.5.3</version>
145                 </dependency>
146
147                 <dependency>
148                         <groupId>org.onap.appc</groupId>
149                         <artifactId>appc-license-manager-api</artifactId>
150                         <!-- <version>${project.version}</version> -->
151                         <version>${project.version}</version>
152                 </dependency>
153
154                 <dependency>
155                         <groupId>com.google.code.gson</groupId>
156                         <artifactId>gson</artifactId>
157                 </dependency>
158
159                 <dependency>
160                         <groupId>org.apache.velocity</groupId>
161                         <artifactId>velocity</artifactId>
162                         <version>1.7</version>
163                         <exclusions>
164                              <exclusion>
165                                   <artifactId>commons-collections</artifactId>
166                                   <groupId>commons-collections</groupId>
167                              </exclusion>
168                         </exclusions>
169                  </dependency>
170                  <dependency>
171                      <groupId>commons-collections</groupId>
172                      <artifactId>commons-collections</artifactId>
173                      <version>3.2.2</version>
174                  </dependency>
175                  <dependency>
176                         <groupId>org.opendaylight.yangtools</groupId>
177                         <artifactId>yang-parser-impl</artifactId>
178                         <version>${odl.yangtools.version}</version>
179                 </dependency>
180
181                 <dependency>
182                         <groupId>org.opendaylight.mdsal.model</groupId>
183                         <artifactId>ietf-inet-types</artifactId>
184                         <version>${odl.ietf-inet-types.version}</version>
185                 </dependency>
186                 <dependency>
187                         <groupId>org.opendaylight.mdsal.model</groupId>
188                         <artifactId>ietf-yang-types</artifactId>
189                         <version>${odl.ietf-yang-types.version}</version>
190                 </dependency>
191
192                 <dependency>
193                         <groupId>org.onap.appc</groupId>
194                         <artifactId>appc-dg-dependency-model</artifactId>
195                         <version>${project.version}</version>
196                 </dependency>
197                 <dependency>
198                         <groupId>com.fasterxml.jackson.dataformat</groupId>
199                         <artifactId>jackson-dataformat-yaml</artifactId>
200                         <version>${jackson-yaml-version}</version>
201                 </dependency>
202                 <dependency>
203                         <groupId>org.onap.appc</groupId>
204                         <artifactId>appc-dg-domain-model-lib</artifactId>
205                         <version>${project.version}</version>
206                 </dependency>
207                 <dependency>
208                         <groupId>com.fasterxml.jackson.core</groupId>
209                         <artifactId>jackson-annotations</artifactId>
210                         <version>${jackson-yaml-version}</version>
211                 </dependency>
212                 <dependency>
213                         <groupId>com.fasterxml.jackson.core</groupId>
214                         <artifactId>jackson-databind</artifactId>
215                         <version>${jackson-yaml-version}</version>
216                 </dependency>
217                 <dependency>
218                         <groupId>com.fasterxml.jackson.core</groupId>
219                         <artifactId>jackson-core</artifactId>
220                         <version>${jackson-yaml-version}</version>
221                 </dependency>
222
223                 <dependency>
224                         <groupId>org.mockito</groupId>
225                         <artifactId>mockito-core</artifactId>
226                 </dependency>
227
228
229
230         </dependencies>
231
232
233         <build>
234                 <plugins>
235
236                         <!-- ================================================== -->
237                         <!-- Set the JDK compiler version. -->
238                         <!-- ================================================== -->
239                         <plugin>
240                                 <groupId>org.apache.maven.plugins</groupId>
241                                 <artifactId>maven-compiler-plugin</artifactId>
242                                 <!-- <inherited>true</inherited> -->
243                                 <configuration>
244                                         <source>1.8</source>
245                                         <target>1.8</target>
246                                 </configuration>
247                         </plugin>
248
249                         <plugin>
250                                 <groupId>org.apache.felix</groupId>
251                                 <artifactId>maven-bundle-plugin</artifactId>
252                                 <extensions>true</extensions>
253                                 <configuration>
254                                         <instructions>
255                                                 <Bundle-SymbolicName>org.onap.appc.sdc.listener</Bundle-SymbolicName>
256                                                 <!--Bundle-Activator>org.onap.appc.sdc.listener.AppcSdcListenerActivator</Bundle-Activator -->
257                                                 <Export-Package>org.onap.appc.sdc.listener</Export-Package>
258                                                 <Import-Package>
259                                                         org.onap.appc.licmgr,
260                                                         org.onap.appc.adapter.messaging.*,
261                                                         com.att.eelf.*,
262                                                         *;resolution:=optional
263                                                 </Import-Package>
264                                                 <Embed-Dependency>
265                                                         sdc-distribution-client,snakeyaml,
266                                                         saClientLibrary,cambriaClient,saToolkit,
267                                                         functionaljava,httpcore,httpclient,gson,appc-dg-dependency-model,appc-dg-domain-model-lib,
268                                                         jackson-core,jackson-databind,jackson-annotations,jackson-dataformat-yaml;
269                                                         scope=compile|runtime;inline=false
270                                                 </Embed-Dependency>
271                                                 <Embed-Transitive>true</Embed-Transitive>
272                                         </instructions>
273                                 </configuration>
274                         </plugin>
275                 </plugins>
276         </build>
277 </project>