blob: 731dc42598661c4ad155c61da397611a2cb5ba7d [file] [log] [blame]
Patrick Bradyc7d00752017-06-01 10:45:37 -07001<?xml version="1.0" encoding="UTF-8"?>
Anand9ebb5dd2018-01-04 12:44:05 -05002<!--
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.
Anand9ebb5dd2018-01-04 12:44:05 -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
Anand9ebb5dd2018-01-04 12:44:05 -050022 ============LICENSE_END=========================================================
23 -->
beili.zhou9adb43f2017-08-11 22:16:05 -040024<project
25 xmlns="http://maven.apache.org/POM/4.0.0"
26 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Patrick Bradyc7d00752017-06-01 10:45:37 -070027 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>
Patrick Brady85aedb52018-08-09 13:43:54 -070029 <parent>
30 <groupId>org.onap.appc.parent</groupId>
31 <artifactId>binding-parent</artifactId>
32 <version>1.4.0-SNAPSHOT</version>
33 <relativePath />
34 </parent>
Patrick Brady07567592017-12-13 11:09:30 -080035 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070036 <artifactId>appc-oam-bundle</artifactId>
Anand9ebb5dd2018-01-04 12:44:05 -050037 <name>APPC OAM - Bundle</name>
Patrick Bradyc7d00752017-06-01 10:45:37 -070038 <packaging>bundle</packaging>
39 <build>
40 <plugins>
41 <plugin>
42 <groupId>org.apache.felix</groupId>
43 <artifactId>maven-bundle-plugin</artifactId>
44 <extensions>true</extensions>
45 <configuration>
46 <instructions>
47 <Export-Package>org.opendaylight.controller.config.yang.config.sample_oam.impl</Export-Package>
Patrick Brady07567592017-12-13 11:09:30 -080048 <Export-Package>org.onap.appc.oam</Export-Package>
Patrick Bradyc7d00752017-06-01 10:45:37 -070049 <Import-Package>
Patrick Brady07567592017-12-13 11:09:30 -080050 org.onap.appc.i18n,
51 org.onap.appc.logging,
52 org.onap.appc.util,
Patrick Bradyc7d00752017-06-01 10:45:37 -070053 com.att.eelf.configuration,
54 com.att.eelf.i18n,
Patrick Brady07567592017-12-13 11:09:30 -080055 org.onap.appc.adapter.messaging.*,
56 org.onap.appc.adapter.message.*,
57 org.onap.appc.adapter.factory.*,
Patrick Bradyc7d00752017-06-01 10:45:37 -070058 *;resolution:=optional
59 </Import-Package>
60 <Embed-Dependency>
61 appc-common;scope=compile|runtime;inline=false
62 </Embed-Dependency>
63 <Embed-Transitive>true</Embed-Transitive>
64 </instructions>
65 </configuration>
66 </plugin>
67 <plugin>
68 <groupId>org.opendaylight.yangtools</groupId>
69 <artifactId>yang-maven-plugin</artifactId>
70 <executions>
71 <execution>
72 <id>config</id>
73 <goals>
74 <goal>generate-sources</goal>
75 </goals>
76 <configuration>
77 <codeGenerators>
78 <generator>
79 <codeGeneratorClass>
80 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
81 </codeGeneratorClass>
82 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
83 <additionalConfiguration>
84 <namespaceToPackage1>
85 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
86 </namespaceToPackage1>
87 </additionalConfiguration>
88 </generator>
89 <generator>
90 <codeGeneratorClass>
Patrick Brady76706002017-09-04 21:37:25 -070091 org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
Patrick Bradyc7d00752017-06-01 10:45:37 -070092 </codeGeneratorClass>
93 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
94 </generator>
95 </codeGenerators>
96 <inspectDependencies>true</inspectDependencies>
97 </configuration>
98 </execution>
99 </executions>
100 <dependencies>
101 <dependency>
102 <groupId>org.opendaylight.mdsal</groupId>
103 <artifactId>maven-sal-api-gen-plugin</artifactId>
104 <version>${odl.sal.api.gen.plugin.version}</version>
105 <type>jar</type>
106 </dependency>
107 <dependency>
108 <groupId>org.opendaylight.controller</groupId>
109 <artifactId>yang-jmx-generator-plugin</artifactId>
110 <version>${odl.yang.jmx.generator.version}</version>
111 </dependency>
112 </dependencies>
113 </plugin>
114 <plugin>
115 <groupId>org.codehaus.mojo</groupId>
116 <artifactId>build-helper-maven-plugin</artifactId>
117 <executions>
118 <execution>
119 <id>attach-artifacts</id>
120 <goals>
121 <goal>attach-artifact</goal>
122 </goals>
123 <phase>package</phase>
124 <configuration>
125 <artifacts>
126 <artifact>
127 <file>${project.build.directory}/classes/initial/appc-oam.xml</file>
128 <type>xml</type>
129 <classifier>config</classifier>
130 </artifact>
131 </artifacts>
132 </configuration>
133 </execution>
134 </executions>
135 </plugin>
136 </plugins>
137 <pluginManagement>
138 <plugins>
139 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
140 <plugin>
141 <groupId>org.eclipse.m2e</groupId>
142 <artifactId>lifecycle-mapping</artifactId>
143 <version>1.0.0</version>
144 <configuration>
145 <lifecycleMappingMetadata>
146 <pluginExecutions>
147 <pluginExecution>
148 <pluginExecutionFilter>
149 <groupId>org.codehaus.mojo</groupId>
150 <artifactId>build-helper-maven-plugin</artifactId>
151 <versionRange>[1.9.1,)</versionRange>
152 <goals>
153 <goal>add-source</goal>
154 </goals>
155 </pluginExecutionFilter>
156 <action>
157 <ignore/>
158 </action>
159 </pluginExecution>
160 </pluginExecutions>
161 </lifecycleMappingMetadata>
162 </configuration>
163 </plugin>
164 </plugins>
165 </pluginManagement>
166 </build>
167
168 <dependencies>
169 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800170 <groupId>org.onap.appc</groupId>
Patrick Brady85aedb52018-08-09 13:43:54 -0700171 <artifactId>appc-common-bundle</artifactId>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700172 <version>${project.version}</version>
173 </dependency>
174 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800175 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700176 <artifactId>appc-oam-model</artifactId>
177 <version>${project.version}</version>
178 </dependency>
179 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800180 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700181 <artifactId>appc-metric-bundle</artifactId>
182 <version>${project.version}</version>
183 </dependency>
184
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-request-handler-api</artifactId>
188 <version>${project.version}</version>
189 </dependency>
beili.zhou9adb43f2017-08-11 22:16:05 -0400190 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800191 <groupId>org.onap.appc</groupId>
beili.zhou9adb43f2017-08-11 22:16:05 -0400192 <artifactId>appc-lifecycle-management-api</artifactId>
193 <version>${project.version}</version>
194 </dependency>
195 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800196 <groupId>org.onap.appc</groupId>
beili.zhou9adb43f2017-08-11 22:16:05 -0400197 <artifactId>appc-lifecycle-management-core</artifactId>
198 <version>${project.version}</version>
199 </dependency>
200 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800201 <groupId>org.onap.appc</groupId>
beili.zhou9adb43f2017-08-11 22:16:05 -0400202 <artifactId>state-machine-lib</artifactId>
203 <version>${project.version}</version>
204 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700205
206 <dependency>
207 <groupId>org.opendaylight.controller</groupId>
208 <artifactId>config-api</artifactId>
209 </dependency>
210 <dependency>
211 <groupId>org.opendaylight.controller</groupId>
212 <artifactId>sal-binding-config</artifactId>
213 </dependency>
214 <dependency>
215 <groupId>org.opendaylight.controller</groupId>
216 <artifactId>sal-binding-api</artifactId>
217 </dependency>
218 <dependency>
219 <groupId>org.opendaylight.controller</groupId>
220 <artifactId>sal-common-util</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>
236 <version>${odl.mdsal.version}</version>
237 <type>test-jar</type>
238 <scope>test</scope>
239 </dependency>
240 <dependency>
241 <groupId>junit</groupId>
242 <artifactId>junit</artifactId>
243 <scope>test</scope>
244 </dependency>
beili.zhou9adb43f2017-08-11 22:16:05 -0400245 <dependency>
246 <groupId>org.mockito</groupId>
Patrick Brady76706002017-09-04 21:37:25 -0700247 <artifactId>mockito-core</artifactId>
beili.zhou9adb43f2017-08-11 22:16:05 -0400248 <version>1.10.19</version>
249 <scope>test</scope>
250 </dependency>
251 <dependency>
252 <groupId>org.powermock</groupId>
253 <artifactId>powermock-api-mockito</artifactId>
Patrick Brady76706002017-09-04 21:37:25 -0700254 <version>1.6.4</version>
beili.zhou9adb43f2017-08-11 22:16:05 -0400255 <scope>test</scope>
256 </dependency>
257 <dependency>
258 <groupId>org.powermock</groupId>
259 <artifactId>powermock-module-junit4</artifactId>
260 <version>1.6.2</version>
261 <scope>test</scope>
262 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700263 <!-- TEMP CODE -->
264 <dependency>
265 <groupId>org.json</groupId>
266 <artifactId>json</artifactId>
267 </dependency>
268
269
beili.zhou9adb43f2017-08-11 22:16:05 -0400270 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800271 <groupId>org.onap.appc</groupId>
beili.zhou9adb43f2017-08-11 22:16:05 -0400272 <artifactId>appc-message-adapter-api</artifactId>
273 <version>${project.version}</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700274 <scope>provided</scope>
beili.zhou9adb43f2017-08-11 22:16:05 -0400275 </dependency>
276 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800277 <groupId>org.onap.appc</groupId>
beili.zhou9adb43f2017-08-11 22:16:05 -0400278 <artifactId>appc-message-adapter-factory</artifactId>
279 <version>${project.version}</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700280 <scope>provided</scope>
beili.zhou9adb43f2017-08-11 22:16:05 -0400281 </dependency>
282 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800283 <groupId>org.onap.appc</groupId>
beili.zhou9adb43f2017-08-11 22:16:05 -0400284 <artifactId>appc-dmaap-adapter-bundle</artifactId>
285 <version>${project.version}</version>
286 <scope>provided</scope>
287 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700288
289 </dependencies>
290
291</project>