blob: 8ed218bd71a93ba30b223d457e968d7bb97e4835 [file] [log] [blame]
Patrick Brady57b5eef2017-02-10 15:00:49 -08001<?xml version="1.0" encoding="UTF-8"?>
Kalpesh Chaniyara17c829c2017-08-28 17:10:55 +05302<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClungfb3eec22018-06-14 10:17:19 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Kalpesh Chaniyara17c829c2017-08-28 17:10:55 +05307 ================================================================================
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
Kalpesh Chaniyara17c829c2017-08-28 17:10:55 +053022 ============LICENSE_END=========================================================
23-->
Patrick Brady57b5eef2017-02-10 15:00:49 -080024<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Hao Kuang78f45992017-09-27 21:26:02 +000025 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Patrick Bradyc7d00752017-06-01 10:45:37 -070026 <modelVersion>4.0.0</modelVersion>
27 <parent>
Ryan Youngb7c21e12018-08-13 22:37:11 -040028 <groupId>org.onap.appc.parent</groupId>
29 <artifactId>binding-parent</artifactId>
Patrick Brady84d0a252018-05-22 10:42:55 -070030 <version>1.4.0-SNAPSHOT</version>
Ryan Youngb7c21e12018-08-13 22:37:11 -040031 <relativePath/>
Patrick Bradyc7d00752017-06-01 10:45:37 -070032 </parent>
Ryan Youngb7c21e12018-08-13 22:37:11 -040033
34 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070035 <artifactId>appc-provider-bundle</artifactId>
Ryan Youngb7c21e12018-08-13 22:37:11 -040036 <version>1.4.0-SNAPSHOT</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -070037 <packaging>bundle</packaging>
Ryan Youngb7c21e12018-08-13 22:37:11 -040038
39 <name>appc-provider-bundle</name>
40 <description>appc-provider OSGI bundle</description>
41
Patrick Bradyc7d00752017-06-01 10:45:37 -070042 <build>
43 <plugins>
44 <plugin>
45 <groupId>org.apache.felix</groupId>
46 <artifactId>maven-bundle-plugin</artifactId>
47 <extensions>true</extensions>
48 <configuration>
49 <instructions>
Hao Kuang78f45992017-09-27 21:26:02 +000050 <Export-Package>org.opendaylight.controller.config.yang.config.sample_provider.impl
51 </Export-Package>
Patrick Brady07567592017-12-13 11:09:30 -080052 <Export-Package>org.onap.appc.provider</Export-Package>
Patrick Bradyc7d00752017-06-01 10:45:37 -070053 <Import-Package>
Patrick Brady07567592017-12-13 11:09:30 -080054 org.onap.appc.domainmodel.lcm,
55 org.onap.appc.i18n,
56 org.onap.appc.logging,
57 org.onap.appc.util,
Patrick Bradyc7d00752017-06-01 10:45:37 -070058 com.att.eelf.configuration,
59 com.att.eelf.i18n,
60 *;resolution:=optional
61 </Import-Package>
62 <Embed-Dependency>
Patrick Brady76706002017-09-04 21:37:25 -070063 appc-common,org.apache.http;scope=compile|runtime;inline=false
Patrick Bradyc7d00752017-06-01 10:45:37 -070064 </Embed-Dependency>
65 <Embed-Transitive>true</Embed-Transitive>
66 </instructions>
67 </configuration>
68 </plugin>
69 <plugin>
70 <groupId>org.opendaylight.yangtools</groupId>
71 <artifactId>yang-maven-plugin</artifactId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070072 <executions>
73 <execution>
74 <id>config</id>
75 <goals>
76 <goal>generate-sources</goal>
77 </goals>
78 <configuration>
Ryan Youngb7c21e12018-08-13 22:37:11 -040079 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
Patrick Bradyc7d00752017-06-01 10:45:37 -070080 <codeGenerators>
81 <generator>
Hao Kuang78f45992017-09-27 21:26:02 +000082 <codeGeneratorClass>
83 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
84 </codeGeneratorClass>
Patrick Bradyc7d00752017-06-01 10:45:37 -070085 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
86 <additionalConfiguration>
Hao Kuang78f45992017-09-27 21:26:02 +000087 <namespaceToPackage1>
88 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
89 </namespaceToPackage1>
Patrick Bradyc7d00752017-06-01 10:45:37 -070090 </additionalConfiguration>
91 </generator>
92 <generator>
Hao Kuang78f45992017-09-27 21:26:02 +000093 <codeGeneratorClass>
94 org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
95 </codeGeneratorClass>
Patrick Bradyc7d00752017-06-01 10:45:37 -070096 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
97 </generator>
98 </codeGenerators>
99 <inspectDependencies>true</inspectDependencies>
100 </configuration>
101 </execution>
102 </executions>
103 <dependencies>
104 <dependency>
105 <groupId>org.opendaylight.mdsal</groupId>
106 <artifactId>maven-sal-api-gen-plugin</artifactId>
107 <version>${odl.sal.api.gen.plugin.version}</version>
108 <type>jar</type>
109 </dependency>
110 <dependency>
111 <groupId>org.opendaylight.controller</groupId>
112 <artifactId>yang-jmx-generator-plugin</artifactId>
113 <version>${odl.yang.jmx.generator.version}</version>
Ryan Youngb7c21e12018-08-13 22:37:11 -0400114 <type>jar</type>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700115 </dependency>
116 </dependencies>
117 </plugin>
118 <plugin>
119 <groupId>org.codehaus.mojo</groupId>
120 <artifactId>build-helper-maven-plugin</artifactId>
121 <executions>
122 <execution>
123 <id>attach-artifacts</id>
124 <goals>
125 <goal>attach-artifact</goal>
126 </goals>
127 <phase>package</phase>
128 <configuration>
129 <artifacts>
130 <artifact>
131 <file>${project.build.directory}/classes/initial/appc-provider.xml</file>
132 <type>xml</type>
133 <classifier>config</classifier>
134 </artifact>
135 </artifacts>
136 </configuration>
137 </execution>
138 </executions>
139 </plugin>
140 </plugins>
141 <pluginManagement>
142 <plugins>
143 <!--This plugin's configuration is used to store Eclipse
144 m2e settings only. It has no influence on the Maven build itself. -->
145 <plugin>
146 <groupId>org.eclipse.m2e</groupId>
147 <artifactId>lifecycle-mapping</artifactId>
148 <version>1.0.0</version>
149 <configuration>
150 <lifecycleMappingMetadata>
151 <pluginExecutions>
152 <pluginExecution>
153 <pluginExecutionFilter>
154 <groupId>org.codehaus.mojo</groupId>
155 <artifactId>build-helper-maven-plugin</artifactId>
156 <versionRange>[1.9.1,)</versionRange>
157 <goals>
158 <goal>add-source</goal>
159 </goals>
160 </pluginExecutionFilter>
161 <action>
Hao Kuang78f45992017-09-27 21:26:02 +0000162 <ignore/>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700163 </action>
164 </pluginExecution>
165 </pluginExecutions>
166 </lifecycleMappingMetadata>
167 </configuration>
168 </plugin>
169 </plugins>
170 </pluginManagement>
171 </build>
172 <dependencies>
173 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800174 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700175 <artifactId>appc-request-handler-api</artifactId>
176 <version>${project.version}</version>
177 <type>bundle</type>
178 <scope>provided</scope>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700179 </dependency>
180 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800181 <groupId>org.onap.appc</groupId>
Ryan Youngb7c21e12018-08-13 22:37:11 -0400182 <artifactId>appc-common-bundle</artifactId>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700183 <version>${project.version}</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700184 </dependency>
185 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800186 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700187 <artifactId>appc-provider-model</artifactId>
188 <version>${project.version}</version>
189 </dependency>
190
Patrick Brady07567592017-12-13 11:09:30 -0800191 <!-- ADDED THIS ARTIFACT TO BE ABLE TO FIND org.onap.appc.domainmodel.lcm -->
Hao Kuang78f45992017-09-27 21:26:02 +0000192 <!-- <dependency> -->
Patrick Brady07567592017-12-13 11:09:30 -0800193 <!-- <groupId>org.onap.appc</groupId> -->
Hao Kuang78f45992017-09-27 21:26:02 +0000194 <!-- <artifactId>domain-model-lib</artifactId> -->
195 <!-- <version>${project.version}</version> -->
196 <!-- </dependency> -->
Patrick Bradyc7d00752017-06-01 10:45:37 -0700197
198 <dependency>
199 <groupId>org.opendaylight.controller</groupId>
200 <artifactId>config-api</artifactId>
201 </dependency>
202 <dependency>
203 <groupId>org.opendaylight.controller</groupId>
204 <artifactId>sal-binding-config</artifactId>
205 </dependency>
206 <dependency>
207 <groupId>org.opendaylight.controller</groupId>
208 <artifactId>sal-binding-api</artifactId>
209 </dependency>
210 <dependency>
211 <groupId>org.opendaylight.controller</groupId>
212 <artifactId>sal-common-util</artifactId>
213 </dependency>
214 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -0700215 <groupId>org.onap.ccsdk.sli.core</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700216 <artifactId>sli-common</artifactId>
217 </dependency>
218 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -0700219 <groupId>org.onap.ccsdk.sli.core</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700220 <artifactId>sli-provider</artifactId>
221 </dependency>
222 <dependency>
223 <artifactId>sal-test-model</artifactId>
224 <groupId>org.opendaylight.controller</groupId>
225 <scope>test</scope>
226 </dependency>
227 <dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700228 <groupId>org.opendaylight.controller</groupId>
229 <artifactId>sal-binding-broker-impl</artifactId>
230 <scope>test</scope>
231 </dependency>
232 <dependency>
233 <groupId>org.opendaylight.controller</groupId>
234 <artifactId>sal-binding-broker-impl</artifactId>
235 <classifier>tests</classifier>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700236 <type>test-jar</type>
237 <scope>test</scope>
238 </dependency>
239 <dependency>
240 <groupId>junit</groupId>
241 <artifactId>junit</artifactId>
242 <scope>test</scope>
243 </dependency>
Hao Kuang78f45992017-09-27 21:26:02 +0000244 <dependency>
245 <groupId>org.mockito</groupId>
246 <artifactId>mockito-core</artifactId>
247 <scope>test</scope>
248 </dependency>
249 <dependency>
250 <groupId>org.powermock</groupId>
251 <artifactId>powermock-api-mockito</artifactId>
252 <scope>test</scope>
253 </dependency>
254 <dependency>
255 <groupId>org.powermock</groupId>
256 <artifactId>powermock-module-junit4</artifactId>
257 <scope>test</scope>
258 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700259 <!-- TEMP CODE -->
260 <dependency>
261 <groupId>org.json</groupId>
262 <artifactId>json</artifactId>
263 </dependency>
264 </dependencies>
Skip Wonnelleb27ca32018-01-12 10:17:57 -0600265</project>