Remove duplicate versions
[appc.git] / appc-dg / appc-dg-shared / appc-dg-mdsal-store / appc-dg-mdsal-bundle / 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   ================================================================================
8   Copyright (C) 2017 Amdocs
9   =============================================================================
10   Licensed under the Apache License, Version 2.0 (the "License");
11   you may not use this file except in compliance with the License.
12   You may obtain a copy of the License at
13
14        http://www.apache.org/licenses/LICENSE-2.0
15
16   Unless required by applicable law or agreed to in writing, software
17   distributed under the License is distributed on an "AS IS" BASIS,
18   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19   See the License for the specific language governing permissions and
20   limitations under the License.
21
22   ============LICENSE_END=========================================================
23   -->
24 <project xmlns="http://maven.apache.org/POM/4.0.0"
25          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27     <modelVersion>4.0.0</modelVersion>
28     <parent>
29         <groupId>org.onap.appc.parent</groupId>
30         <artifactId>binding-parent</artifactId>
31         <version>1.5.0-SNAPSHOT</version>
32         <relativePath />
33     </parent>
34     <groupId>org.onap.appc</groupId>
35
36     <artifactId>appc-dg-mdsal-bundle</artifactId>
37     <packaging>bundle</packaging>
38
39     <properties>
40         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41         <licenseDir>${project.parent.parent.parent.basedir}</licenseDir>
42     </properties>
43
44     <build>
45         <plugins>
46             <plugin>
47                 <groupId>org.apache.felix</groupId>
48                 <artifactId>maven-bundle-plugin</artifactId>
49                 <version>${bundle.plugin.version}</version>
50                 <extensions>true</extensions>
51                 <configuration>
52                     <instructions>
53                         <Export-Package>org.onap.appc.mdsal.*</Export-Package>
54                         <Import-Package>*;resolution:=optional</Import-Package>
55                         <DynamicImport-Package>*</DynamicImport-Package>
56                         <Embed-Transitive>true</Embed-Transitive>
57                     </instructions>
58                 </configuration>
59             </plugin>
60             <plugin>
61                 <groupId>org.opendaylight.yangtools</groupId>
62                 <artifactId>yang-maven-plugin</artifactId>
63                 <executions>
64                     <execution>
65                         <id>config</id>
66                         <goals>
67                             <goal>generate-sources</goal>
68                         </goals>
69                         <configuration>
70                             <codeGenerators>
71                                 <generator>
72                                     <codeGeneratorClass>
73                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
74                                     </codeGeneratorClass>
75                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
76                                     <additionalConfiguration>
77                                         <namespaceToPackage1>
78                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
79                                         </namespaceToPackage1>
80                                     </additionalConfiguration>
81                                 </generator>
82                                 <generator>
83                                     <codeGeneratorClass>
84                                         org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
85                                     </codeGeneratorClass>
86                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
87                                 </generator>
88                             </codeGenerators>
89                             <inspectDependencies>true</inspectDependencies>
90                         </configuration>
91                     </execution>
92                 </executions>
93                 <dependencies>
94                     <dependency>
95                         <groupId>org.opendaylight.mdsal</groupId>
96                         <artifactId>maven-sal-api-gen-plugin</artifactId>
97                         <version>${odl.sal.api.gen.plugin.version}</version>
98                         <type>jar</type>
99                     </dependency>
100                     <dependency>
101                         <groupId>org.opendaylight.controller</groupId>
102                         <artifactId>yang-jmx-generator-plugin</artifactId>
103                         <version>${odl.yang.jmx.generator.version}</version>
104                     </dependency>
105                 </dependencies>
106             </plugin>
107             <plugin>
108                 <groupId>org.codehaus.mojo</groupId>
109                 <artifactId>build-helper-maven-plugin</artifactId>
110                 <executions>
111                     <execution>
112                         <id>attach-artifacts</id>
113                         <goals>
114                             <goal>attach-artifact</goal>
115                         </goals>
116                         <phase>package</phase>
117                         <configuration>
118                             <artifacts>
119                                 <artifact>
120                                     <file>${project.build.directory}/classes/initial/appc-mdsal-store.xml</file>
121                                     <type>xml</type>
122                                     <classifier>config</classifier>
123                                 </artifact>
124                             </artifacts>
125                         </configuration>
126                     </execution>
127                 </executions>
128             </plugin>
129         </plugins>
130     </build>
131
132     <dependencies>
133         <dependency>
134             <groupId>junit</groupId>
135             <artifactId>junit</artifactId>
136             <scope>test</scope>
137         </dependency>
138         <dependency>
139             <groupId>org.mockito</groupId>
140             <artifactId>mockito-core</artifactId>
141         </dependency>
142         <dependency>
143             <groupId>org.powermock</groupId>
144             <artifactId>powermock-api-mockito</artifactId>
145         </dependency>
146         <dependency>
147             <groupId>org.powermock</groupId>
148             <artifactId>powermock-module-junit4</artifactId>
149         </dependency>
150         <dependency>
151             <groupId>org.opendaylight.controller</groupId>
152             <artifactId>config-api</artifactId>
153         </dependency>
154         <dependency>
155             <groupId>org.opendaylight.controller</groupId>
156             <artifactId>sal-binding-config</artifactId>
157         </dependency>
158         <dependency>
159             <groupId>org.opendaylight.controller</groupId>
160             <artifactId>sal-binding-api</artifactId>
161         </dependency>
162         <dependency>
163             <groupId>org.opendaylight.controller</groupId>
164             <artifactId>sal-common-util</artifactId>
165         </dependency>
166         <dependency>
167             <artifactId>sal-test-model</artifactId>
168             <groupId>org.opendaylight.controller</groupId>
169             <scope>test</scope>
170         </dependency>
171         <dependency>
172             <groupId>org.opendaylight.controller</groupId>
173             <artifactId>sal-binding-broker-impl</artifactId>
174             <scope>test</scope>
175         </dependency>
176         <dependency>
177             <groupId>org.opendaylight.controller</groupId>
178             <artifactId>sal-binding-broker-impl</artifactId>
179             <classifier>tests</classifier>
180             <version>${odl.mdsal.version}</version>
181             <type>test-jar</type>
182             <scope>test</scope>
183         </dependency>
184         <dependency>
185             <groupId>org.apache.httpcomponents</groupId>
186             <artifactId>httpcore</artifactId>
187             <version>${apache.httpcomponents.version}</version>
188         </dependency>
189         <dependency>
190             <groupId>org.apache.httpcomponents</groupId>
191             <artifactId>httpclient</artifactId>
192             <version>${apache.httpcomponents.version}</version>
193             <scope>test</scope>
194         </dependency>
195         <dependency>
196             <groupId>org.onap.ccsdk.sli.core</groupId>
197             <artifactId>sli-common</artifactId>
198             <scope>compile</scope>
199             <!-- Added exclusion to prevent missing dependency issue on dblib -->
200             <exclusions>
201                 <exclusion>
202                     <groupId>org.onap.ccsdk.sli.core</groupId>
203                     <artifactId>dblib-provider</artifactId>
204                 </exclusion>
205             </exclusions>
206         </dependency>
207
208         <dependency>
209             <groupId>org.onap.ccsdk.sli.core</groupId>
210             <artifactId>sli-provider</artifactId>
211             <scope>compile</scope>
212             <!-- Added exclusion to prevent missing dependency issue on dblib -->
213             <exclusions>
214                 <exclusion>
215                     <groupId>org.onap.ccsdk.sli.core</groupId>
216                     <artifactId>dblib-provider</artifactId>
217                 </exclusion>
218             </exclusions>
219         </dependency>
220
221         <dependency>
222             <groupId>org.onap.appc</groupId>
223             <artifactId>appc-common-bundle</artifactId>
224             <version>${project.version}</version>
225         </dependency>
226         <dependency>
227             <groupId>org.onap.appc</groupId>
228             <artifactId>appc-dg-mdsal-model</artifactId>
229             <version>${project.version}</version>
230         </dependency>
231         <dependency>
232             <groupId>commons-io</groupId>
233             <artifactId>commons-io</artifactId>
234         </dependency>
235     </dependencies>
236     <version>1.5.0-SNAPSHOT</version>
237 </project>