blob: 8feb9d056669ad79c411f39243f80bd796a170b0 [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 ================================================================================
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-->
Patrick Brady57b5eef2017-02-10 15:00:49 -080025<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 +000026 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 -070027 <modelVersion>4.0.0</modelVersion>
28 <parent>
29 <artifactId>appc-provider</artifactId>
30 <groupId>org.openecomp.appc</groupId>
31 <version>1.1.0-SNAPSHOT</version>
32 </parent>
33 <artifactId>appc-provider-bundle</artifactId>
34 <packaging>bundle</packaging>
35 <build>
36 <plugins>
37 <plugin>
38 <groupId>org.apache.felix</groupId>
39 <artifactId>maven-bundle-plugin</artifactId>
40 <extensions>true</extensions>
41 <configuration>
42 <instructions>
Hao Kuang78f45992017-09-27 21:26:02 +000043 <Export-Package>org.opendaylight.controller.config.yang.config.sample_provider.impl
44 </Export-Package>
Patrick Bradyc7d00752017-06-01 10:45:37 -070045 <Export-Package>org.openecomp.appc.provider</Export-Package>
46 <!-- <Import-Package>!groovy.lang,!javax.jms,!org.codehaus.commons.compiler,!org.codehaus.groovy.*,!org.codehaus.janino,!com.ibm.icu.*,!com.sun.faces.*,!org.apache.log,*;resolution:=optional</Import-Package> -->
47 <!-- <Embed-Dependency>appc-common,eelf-core,logback-core,logback-classic;scope=compile|runtime;inline=false,domain-model-lib,appc-command-executor-api,appc-request-handler-api</Embed-Dependency> -->
48 <Import-Package>
Kalpesh Chaniyara17c829c2017-08-28 17:10:55 +053049 org.openecomp.appc.domainmodel.lcm,
Patrick Bradyc7d00752017-06-01 10:45:37 -070050 org.openecomp.appc.i18n,
51 org.openecomp.appc.logging,
52 org.openecomp.appc.util,
53 com.att.eelf.configuration,
54 com.att.eelf.i18n,
55 *;resolution:=optional
56 </Import-Package>
57 <Embed-Dependency>
Patrick Brady76706002017-09-04 21:37:25 -070058 appc-common,org.apache.http;scope=compile|runtime;inline=false
Patrick Bradyc7d00752017-06-01 10:45:37 -070059 </Embed-Dependency>
60 <Embed-Transitive>true</Embed-Transitive>
61 </instructions>
62 </configuration>
63 </plugin>
64 <plugin>
65 <groupId>org.opendaylight.yangtools</groupId>
66 <artifactId>yang-maven-plugin</artifactId>
67 <version>${odl.yangtools.version}</version>
68 <executions>
69 <execution>
70 <id>config</id>
71 <goals>
72 <goal>generate-sources</goal>
73 </goals>
74 <configuration>
75 <codeGenerators>
76 <generator>
Hao Kuang78f45992017-09-27 21:26:02 +000077 <codeGeneratorClass>
78 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
79 </codeGeneratorClass>
Patrick Bradyc7d00752017-06-01 10:45:37 -070080 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
81 <additionalConfiguration>
Hao Kuang78f45992017-09-27 21:26:02 +000082 <namespaceToPackage1>
83 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
84 </namespaceToPackage1>
Patrick Bradyc7d00752017-06-01 10:45:37 -070085 </additionalConfiguration>
86 </generator>
87 <generator>
Hao Kuang78f45992017-09-27 21:26:02 +000088 <codeGeneratorClass>
89 org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
90 </codeGeneratorClass>
Patrick Bradyc7d00752017-06-01 10:45:37 -070091 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
92 </generator>
93 </codeGenerators>
94 <inspectDependencies>true</inspectDependencies>
95 </configuration>
96 </execution>
97 </executions>
98 <dependencies>
99 <dependency>
100 <groupId>org.opendaylight.mdsal</groupId>
101 <artifactId>maven-sal-api-gen-plugin</artifactId>
102 <version>${odl.sal.api.gen.plugin.version}</version>
103 <type>jar</type>
104 </dependency>
105 <dependency>
106 <groupId>org.opendaylight.controller</groupId>
107 <artifactId>yang-jmx-generator-plugin</artifactId>
108 <version>${odl.yang.jmx.generator.version}</version>
109 </dependency>
110 </dependencies>
111 </plugin>
112 <plugin>
113 <groupId>org.codehaus.mojo</groupId>
114 <artifactId>build-helper-maven-plugin</artifactId>
115 <executions>
116 <execution>
117 <id>attach-artifacts</id>
118 <goals>
119 <goal>attach-artifact</goal>
120 </goals>
121 <phase>package</phase>
122 <configuration>
123 <artifacts>
124 <artifact>
125 <file>${project.build.directory}/classes/initial/appc-provider.xml</file>
126 <type>xml</type>
127 <classifier>config</classifier>
128 </artifact>
129 </artifacts>
130 </configuration>
131 </execution>
132 </executions>
133 </plugin>
134 </plugins>
135 <pluginManagement>
136 <plugins>
137 <!--This plugin's configuration is used to store Eclipse
138 m2e settings only. It has no influence on the Maven build itself. -->
139 <plugin>
140 <groupId>org.eclipse.m2e</groupId>
141 <artifactId>lifecycle-mapping</artifactId>
142 <version>1.0.0</version>
143 <configuration>
144 <lifecycleMappingMetadata>
145 <pluginExecutions>
146 <pluginExecution>
147 <pluginExecutionFilter>
148 <groupId>org.codehaus.mojo</groupId>
149 <artifactId>build-helper-maven-plugin</artifactId>
150 <versionRange>[1.9.1,)</versionRange>
151 <goals>
152 <goal>add-source</goal>
153 </goals>
154 </pluginExecutionFilter>
155 <action>
Hao Kuang78f45992017-09-27 21:26:02 +0000156 <ignore/>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700157 </action>
158 </pluginExecution>
159 </pluginExecutions>
160 </lifecycleMappingMetadata>
161 </configuration>
162 </plugin>
163 </plugins>
164 </pluginManagement>
165 </build>
166 <dependencies>
167 <dependency>
168 <groupId>org.openecomp.appc</groupId>
169 <artifactId>appc-request-handler-api</artifactId>
170 <version>${project.version}</version>
171 <type>bundle</type>
172 <scope>provided</scope>
Hao Kuang78f45992017-09-27 21:26:02 +0000173 <!-- <exclusions> -->
174 <!-- <exclusion> -->
175 <!-- <groupId>org.openecomp.appc</groupId> -->
176 <!-- <artifactId>domain-model-lib</artifactId> -->
177 <!-- </exclusion> -->
178 <!-- </exclusions> -->
Patrick Bradyc7d00752017-06-01 10:45:37 -0700179 </dependency>
180 <dependency>
181 <groupId>org.openecomp.appc</groupId>
182 <artifactId>appc-common</artifactId>
183 <version>${project.version}</version>
Hao Kuang78f45992017-09-27 21:26:02 +0000184 <!-- <classifier>jar-with-dependencies</classifier> -->
Patrick Bradyc7d00752017-06-01 10:45:37 -0700185 </dependency>
186 <dependency>
187 <groupId>org.openecomp.appc</groupId>
188 <artifactId>appc-provider-model</artifactId>
189 <version>${project.version}</version>
190 </dependency>
191
192 <!-- ADDED THIS ARTIFACT TO BE ABLE TO FIND org.openecomp.appc.domainmodel.lcm -->
Hao Kuang78f45992017-09-27 21:26:02 +0000193 <!-- <dependency> -->
194 <!-- <groupId>org.openecomp.appc</groupId> -->
195 <!-- <artifactId>domain-model-lib</artifactId> -->
196 <!-- <version>${project.version}</version> -->
197 <!-- </dependency> -->
Patrick Bradyc7d00752017-06-01 10:45:37 -0700198
199 <dependency>
200 <groupId>org.opendaylight.controller</groupId>
201 <artifactId>config-api</artifactId>
202 </dependency>
203 <dependency>
204 <groupId>org.opendaylight.controller</groupId>
205 <artifactId>sal-binding-config</artifactId>
206 </dependency>
207 <dependency>
208 <groupId>org.opendaylight.controller</groupId>
209 <artifactId>sal-binding-api</artifactId>
210 </dependency>
211 <dependency>
212 <groupId>org.opendaylight.controller</groupId>
213 <artifactId>sal-common-util</artifactId>
214 </dependency>
215 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -0700216 <groupId>org.onap.ccsdk.sli.core</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700217 <artifactId>sli-common</artifactId>
218 </dependency>
219 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -0700220 <groupId>org.onap.ccsdk.sli.core</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700221 <artifactId>sli-provider</artifactId>
222 </dependency>
223 <dependency>
224 <artifactId>sal-test-model</artifactId>
225 <groupId>org.opendaylight.controller</groupId>
226 <scope>test</scope>
227 </dependency>
228 <dependency>
229 <artifactId>sal-rest-connector</artifactId>
230 <groupId>org.opendaylight.netconf</groupId>
231 <scope>test</scope>
232 </dependency>
233 <dependency>
234 <groupId>org.opendaylight.controller</groupId>
235 <artifactId>sal-binding-broker-impl</artifactId>
236 <scope>test</scope>
237 </dependency>
238 <dependency>
239 <groupId>org.opendaylight.controller</groupId>
240 <artifactId>sal-binding-broker-impl</artifactId>
241 <classifier>tests</classifier>
242 <version>${odl.mdsal.version}</version>
243 <type>test-jar</type>
244 <scope>test</scope>
245 </dependency>
246 <dependency>
247 <groupId>junit</groupId>
248 <artifactId>junit</artifactId>
249 <scope>test</scope>
250 </dependency>
Hao Kuang78f45992017-09-27 21:26:02 +0000251 <dependency>
252 <groupId>org.mockito</groupId>
253 <artifactId>mockito-core</artifactId>
254 <scope>test</scope>
255 </dependency>
256 <dependency>
257 <groupId>org.powermock</groupId>
258 <artifactId>powermock-api-mockito</artifactId>
259 <scope>test</scope>
260 </dependency>
261 <dependency>
262 <groupId>org.powermock</groupId>
263 <artifactId>powermock-module-junit4</artifactId>
264 <scope>test</scope>
265 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700266 <!-- TEMP CODE -->
267 <dependency>
268 <groupId>org.json</groupId>
269 <artifactId>json</artifactId>
270 </dependency>
271 </dependencies>
Patrick Brady57b5eef2017-02-10 15:00:49 -0800272</project>