Change to released parent poms
[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-2018 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.4.0</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                 <version>${odl.yangtools.version}</version>
64                 <executions>
65                     <execution>
66                         <id>config</id>
67                         <goals>
68                             <goal>generate-sources</goal>
69                         </goals>
70                         <configuration>
71                             <codeGenerators>
72                                 <generator>
73                                     <codeGeneratorClass>
74                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
75                                     </codeGeneratorClass>
76                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
77                                     <additionalConfiguration>
78                                         <namespaceToPackage1>
79                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
80                                         </namespaceToPackage1>
81                                     </additionalConfiguration>
82                                 </generator>
83                                 <generator>
84                                     <codeGeneratorClass>
85                                         org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
86                                     </codeGeneratorClass>
87                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
88                                 </generator>
89                             </codeGenerators>
90                             <inspectDependencies>true</inspectDependencies>
91                         </configuration>
92                     </execution>
93                 </executions>
94                 <dependencies>
95                     <dependency>
96                         <groupId>org.opendaylight.mdsal</groupId>
97                         <artifactId>maven-sal-api-gen-plugin</artifactId>
98                         <version>${odl.sal.api.gen.plugin.version}</version>
99                         <type>jar</type>
100                     </dependency>
101                     <dependency>
102                         <groupId>org.opendaylight.controller</groupId>
103                         <artifactId>yang-jmx-generator-plugin</artifactId>
104                         <version>${odl.yang.jmx.generator.version}</version>
105                     </dependency>
106                 </dependencies>
107             </plugin>
108             <plugin>
109                 <groupId>org.codehaus.mojo</groupId>
110                 <artifactId>build-helper-maven-plugin</artifactId>
111                 <executions>
112                     <execution>
113                         <id>attach-artifacts</id>
114                         <goals>
115                             <goal>attach-artifact</goal>
116                         </goals>
117                         <phase>package</phase>
118                         <configuration>
119                             <artifacts>
120                                 <artifact>
121                                     <file>${project.build.directory}/classes/initial/appc-mdsal-store.xml</file>
122                                     <type>xml</type>
123                                     <classifier>config</classifier>
124                                 </artifact>
125                             </artifacts>
126                         </configuration>
127                     </execution>
128                 </executions>
129             </plugin>
130         </plugins>
131     </build>
132
133     <dependencies>
134         <dependency>
135             <groupId>junit</groupId>
136             <artifactId>junit</artifactId>
137             <scope>test</scope>
138         </dependency>
139         <dependency>
140             <groupId>org.mockito</groupId>
141             <artifactId>mockito-core</artifactId>
142         </dependency>
143         <dependency>
144             <groupId>org.powermock</groupId>
145             <artifactId>powermock-api-mockito</artifactId>
146         </dependency>
147         <dependency>
148             <groupId>org.powermock</groupId>
149             <artifactId>powermock-module-junit4</artifactId>
150         </dependency>
151         <dependency>
152             <groupId>org.opendaylight.controller</groupId>
153             <artifactId>config-api</artifactId>
154         </dependency>
155         <dependency>
156             <groupId>org.opendaylight.controller</groupId>
157             <artifactId>sal-binding-config</artifactId>
158         </dependency>
159         <dependency>
160             <groupId>org.opendaylight.controller</groupId>
161             <artifactId>sal-binding-api</artifactId>
162         </dependency>
163         <dependency>
164             <groupId>org.opendaylight.controller</groupId>
165             <artifactId>sal-common-util</artifactId>
166         </dependency>
167         <dependency>
168             <artifactId>sal-test-model</artifactId>
169             <groupId>org.opendaylight.controller</groupId>
170             <scope>test</scope>
171         </dependency>
172         <dependency>
173             <groupId>org.opendaylight.controller</groupId>
174             <artifactId>sal-binding-broker-impl</artifactId>
175             <scope>test</scope>
176         </dependency>
177         <dependency>
178             <groupId>org.opendaylight.controller</groupId>
179             <artifactId>sal-binding-broker-impl</artifactId>
180             <classifier>tests</classifier>
181             <version>${odl.mdsal.version}</version>
182             <type>test-jar</type>
183             <scope>test</scope>
184         </dependency>
185         <dependency>
186             <groupId>org.apache.httpcomponents</groupId>
187             <artifactId>httpcore</artifactId>
188             <version>${apache.httpcomponents.version}</version>
189         </dependency>
190         <dependency>
191             <groupId>org.onap.ccsdk.sli.core</groupId>
192             <artifactId>sli-common</artifactId>
193             <scope>compile</scope>
194             <!-- Added exclusion to prevent missing dependency issue on dblib -->
195             <exclusions>
196                 <exclusion>
197                     <groupId>org.onap.ccsdk.sli.core</groupId>
198                     <artifactId>dblib-provider</artifactId>
199                 </exclusion>
200             </exclusions>
201         </dependency>
202
203         <dependency>
204             <groupId>org.onap.ccsdk.sli.core</groupId>
205             <artifactId>sli-provider</artifactId>
206             <scope>compile</scope>
207             <!-- Added exclusion to prevent missing dependency issue on dblib -->
208             <exclusions>
209                 <exclusion>
210                     <groupId>org.onap.ccsdk.sli.core</groupId>
211                     <artifactId>dblib-provider</artifactId>
212                 </exclusion>
213             </exclusions>
214         </dependency>
215
216         <dependency>
217             <groupId>org.onap.appc</groupId>
218             <artifactId>appc-common-bundle</artifactId>
219             <version>${project.version}</version>
220         </dependency>
221         <dependency>
222             <groupId>org.onap.appc</groupId>
223             <artifactId>appc-dg-mdsal-model</artifactId>
224             <version>${project.version}</version>
225         </dependency>
226         <dependency>
227             <groupId>commons-io</groupId>
228             <artifactId>commons-io</artifactId>
229         </dependency>
230     </dependencies>
231     <version>1.4.0-SNAPSHOT</version>
232 </project>