Add missing test dependencies
[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 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   ECOMP is a trademark and service mark of AT&T Intellectual Property.
23   ============LICENSE_END=========================================================
24   -->
25 <project xmlns="http://maven.apache.org/POM/4.0.0"
26          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
27          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
28     <modelVersion>4.0.0</modelVersion>
29     <parent>
30         <groupId>org.onap.appc</groupId>
31         <artifactId>appc-dg-mdsal-store</artifactId>
32         <version>1.3.0-SNAPSHOT</version>
33     </parent>
34
35     <artifactId>appc-dg-mdsal-bundle</artifactId>
36     <packaging>bundle</packaging>
37
38     <properties>
39         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40         <licenseDir>${project.parent.parent.parent.basedir}</licenseDir>
41     </properties>
42
43     <build>
44         <plugins>
45             <plugin>
46                 <groupId>org.apache.felix</groupId>
47                 <artifactId>maven-bundle-plugin</artifactId>
48                 <version>${bundle.plugin.version}</version>
49                 <extensions>true</extensions>
50                 <configuration>
51                     <instructions>
52                         <Export-Package>org.onap.appc.mdsal.*</Export-Package>
53                         <Import-Package>*;resolution:=optional</Import-Package>
54                         <DynamicImport-Package>*</DynamicImport-Package>
55                         <Embed-Transitive>true</Embed-Transitive>
56                     </instructions>
57                 </configuration>
58             </plugin>
59             <plugin>
60                 <groupId>org.opendaylight.yangtools</groupId>
61                 <artifactId>yang-maven-plugin</artifactId>
62                 <version>${odl.yangtools.version}</version>
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             <artifactId>sal-rest-connector</artifactId>
173             <groupId>org.opendaylight.netconf</groupId>
174             <scope>test</scope>
175         </dependency>
176         <dependency>
177             <groupId>org.opendaylight.controller</groupId>
178             <artifactId>sal-binding-broker-impl</artifactId>
179             <scope>test</scope>
180         </dependency>
181         <dependency>
182             <groupId>org.opendaylight.controller</groupId>
183             <artifactId>sal-binding-broker-impl</artifactId>
184             <classifier>tests</classifier>
185             <version>${odl.mdsal.version}</version>
186             <type>test-jar</type>
187             <scope>test</scope>
188         </dependency>
189         <dependency>
190             <groupId>org.onap.ccsdk.sli.core</groupId>
191             <artifactId>sli-common</artifactId>
192             <scope>compile</scope>
193             <!-- Added exclusion to prevent missing dependency issue on dblib -->
194             <exclusions>
195                 <exclusion>
196                     <groupId>org.onap.ccsdk.sli.core</groupId>
197                     <artifactId>dblib-provider</artifactId>
198                 </exclusion>
199             </exclusions>
200         </dependency>
201
202         <dependency>
203             <groupId>org.onap.ccsdk.sli.core</groupId>
204             <artifactId>sli-provider</artifactId>
205             <scope>compile</scope>
206             <!-- Added exclusion to prevent missing dependency issue on dblib -->
207             <exclusions>
208                 <exclusion>
209                     <groupId>org.onap.ccsdk.sli.core</groupId>
210                     <artifactId>dblib-provider</artifactId>
211                 </exclusion>
212             </exclusions>
213         </dependency>
214
215         <dependency>
216             <groupId>org.onap.appc</groupId>
217             <artifactId>appc-common</artifactId>
218             <version>${project.version}</version>
219         </dependency>
220         <dependency>
221             <groupId>org.onap.appc</groupId>
222             <artifactId>appc-dg-mdsal-model</artifactId>
223             <version>${project.version}</version>
224         </dependency>
225         <dependency>
226             <groupId>commons-io</groupId>
227             <artifactId>commons-io</artifactId>
228         </dependency>
229     </dependencies>
230 </project>