blob: 36c51560af8f670dc5d1d678e2210c055cb17097 [file] [log] [blame]
Ramya Balaji31540f82018-01-08 12:40:57 -05001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClunga8027392018-06-13 15:49:08 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Ramya Balaji31540f82018-01-08 12:40:57 -05007 ================================================================================
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
Ramya Balaji31540f82018-01-08 12:40:57 -050022 ============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</groupId>
30 <artifactId>appc-dg-mdsal-store</artifactId>
Patrick Brady84d0a252018-05-22 10:42:55 -070031 <version>1.4.0-SNAPSHOT</version>
Ramya Balaji31540f82018-01-08 12:40:57 -050032 </parent>
33
34 <artifactId>appc-dg-mdsal-bundle</artifactId>
35 <packaging>bundle</packaging>
36
37 <properties>
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39 <licenseDir>${project.parent.parent.parent.basedir}</licenseDir>
40 </properties>
41
42 <build>
43 <plugins>
44 <plugin>
45 <groupId>org.apache.felix</groupId>
46 <artifactId>maven-bundle-plugin</artifactId>
47 <version>${bundle.plugin.version}</version>
48 <extensions>true</extensions>
49 <configuration>
50 <instructions>
51 <Export-Package>org.onap.appc.mdsal.*</Export-Package>
52 <Import-Package>*;resolution:=optional</Import-Package>
53 <DynamicImport-Package>*</DynamicImport-Package>
54 <Embed-Transitive>true</Embed-Transitive>
55 </instructions>
56 </configuration>
57 </plugin>
58 <plugin>
59 <groupId>org.opendaylight.yangtools</groupId>
60 <artifactId>yang-maven-plugin</artifactId>
61 <version>${odl.yangtools.version}</version>
62 <executions>
63 <execution>
64 <id>config</id>
65 <goals>
66 <goal>generate-sources</goal>
67 </goals>
68 <configuration>
69 <codeGenerators>
70 <generator>
71 <codeGeneratorClass>
72 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
73 </codeGeneratorClass>
74 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
75 <additionalConfiguration>
76 <namespaceToPackage1>
77 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
78 </namespaceToPackage1>
79 </additionalConfiguration>
80 </generator>
81 <generator>
82 <codeGeneratorClass>
83 org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
84 </codeGeneratorClass>
85 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
86 </generator>
87 </codeGenerators>
88 <inspectDependencies>true</inspectDependencies>
89 </configuration>
90 </execution>
91 </executions>
92 <dependencies>
93 <dependency>
94 <groupId>org.opendaylight.mdsal</groupId>
95 <artifactId>maven-sal-api-gen-plugin</artifactId>
96 <version>${odl.sal.api.gen.plugin.version}</version>
97 <type>jar</type>
98 </dependency>
99 <dependency>
100 <groupId>org.opendaylight.controller</groupId>
101 <artifactId>yang-jmx-generator-plugin</artifactId>
102 <version>${odl.yang.jmx.generator.version}</version>
103 </dependency>
104 </dependencies>
105 </plugin>
106 <plugin>
107 <groupId>org.codehaus.mojo</groupId>
108 <artifactId>build-helper-maven-plugin</artifactId>
109 <executions>
110 <execution>
111 <id>attach-artifacts</id>
112 <goals>
113 <goal>attach-artifact</goal>
114 </goals>
115 <phase>package</phase>
116 <configuration>
117 <artifacts>
118 <artifact>
119 <file>${project.build.directory}/classes/initial/appc-mdsal-store.xml</file>
120 <type>xml</type>
121 <classifier>config</classifier>
122 </artifact>
123 </artifacts>
124 </configuration>
125 </execution>
126 </executions>
127 </plugin>
128 </plugins>
129 </build>
130
131 <dependencies>
132 <dependency>
133 <groupId>junit</groupId>
134 <artifactId>junit</artifactId>
135 <scope>test</scope>
136 </dependency>
137 <dependency>
Michal Kabaj70228962018-02-01 14:45:28 +0100138 <groupId>org.mockito</groupId>
139 <artifactId>mockito-core</artifactId>
140 </dependency>
141 <dependency>
142 <groupId>org.powermock</groupId>
143 <artifactId>powermock-api-mockito</artifactId>
144 </dependency>
145 <dependency>
146 <groupId>org.powermock</groupId>
147 <artifactId>powermock-module-junit4</artifactId>
148 </dependency>
149 <dependency>
Ramya Balaji31540f82018-01-08 12:40:57 -0500150 <groupId>org.opendaylight.controller</groupId>
151 <artifactId>config-api</artifactId>
152 </dependency>
153 <dependency>
154 <groupId>org.opendaylight.controller</groupId>
155 <artifactId>sal-binding-config</artifactId>
156 </dependency>
157 <dependency>
158 <groupId>org.opendaylight.controller</groupId>
159 <artifactId>sal-binding-api</artifactId>
160 </dependency>
161 <dependency>
162 <groupId>org.opendaylight.controller</groupId>
163 <artifactId>sal-common-util</artifactId>
164 </dependency>
165 <dependency>
166 <artifactId>sal-test-model</artifactId>
167 <groupId>org.opendaylight.controller</groupId>
168 <scope>test</scope>
169 </dependency>
170 <dependency>
171 <artifactId>sal-rest-connector</artifactId>
172 <groupId>org.opendaylight.netconf</groupId>
173 <scope>test</scope>
174 </dependency>
175 <dependency>
176 <groupId>org.opendaylight.controller</groupId>
177 <artifactId>sal-binding-broker-impl</artifactId>
178 <scope>test</scope>
179 </dependency>
180 <dependency>
181 <groupId>org.opendaylight.controller</groupId>
182 <artifactId>sal-binding-broker-impl</artifactId>
183 <classifier>tests</classifier>
184 <version>${odl.mdsal.version}</version>
185 <type>test-jar</type>
186 <scope>test</scope>
187 </dependency>
188 <dependency>
189 <groupId>org.onap.ccsdk.sli.core</groupId>
190 <artifactId>sli-common</artifactId>
191 <scope>compile</scope>
192 <!-- Added exclusion to prevent missing dependency issue on dblib -->
193 <exclusions>
194 <exclusion>
195 <groupId>org.onap.ccsdk.sli.core</groupId>
196 <artifactId>dblib-provider</artifactId>
197 </exclusion>
198 </exclusions>
199 </dependency>
200
201 <dependency>
202 <groupId>org.onap.ccsdk.sli.core</groupId>
203 <artifactId>sli-provider</artifactId>
204 <scope>compile</scope>
205 <!-- Added exclusion to prevent missing dependency issue on dblib -->
206 <exclusions>
207 <exclusion>
208 <groupId>org.onap.ccsdk.sli.core</groupId>
209 <artifactId>dblib-provider</artifactId>
210 </exclusion>
211 </exclusions>
212 </dependency>
213
214 <dependency>
215 <groupId>org.onap.appc</groupId>
216 <artifactId>appc-common</artifactId>
217 <version>${project.version}</version>
218 </dependency>
219 <dependency>
220 <groupId>org.onap.appc</groupId>
221 <artifactId>appc-dg-mdsal-model</artifactId>
222 <version>${project.version}</version>
223 </dependency>
224 <dependency>
225 <groupId>commons-io</groupId>
226 <artifactId>commons-io</artifactId>
227 </dependency>
228 </dependencies>
229</project>