blob: f2bf9107e40711743254f986d2247b48d5436f35 [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>
29 <parent>
30 <artifactId>appc-oam</artifactId>
Patrick Brady07567592017-12-13 11:09:30 -080031 <groupId>org.onap.appc</groupId>
Patrick Brady84d0a252018-05-22 10:42:55 -070032 <version>1.4.0-SNAPSHOT</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -070033 </parent>
34 <artifactId>appc-oam-bundle</artifactId>
Anand9ebb5dd2018-01-04 12:44:05 -050035 <name>APPC OAM - Bundle</name>
Patrick Bradyc7d00752017-06-01 10:45:37 -070036 <packaging>bundle</packaging>
37 <build>
38 <plugins>
39 <plugin>
40 <groupId>org.apache.felix</groupId>
41 <artifactId>maven-bundle-plugin</artifactId>
42 <extensions>true</extensions>
43 <configuration>
44 <instructions>
45 <Export-Package>org.opendaylight.controller.config.yang.config.sample_oam.impl</Export-Package>
Patrick Brady07567592017-12-13 11:09:30 -080046 <Export-Package>org.onap.appc.oam</Export-Package>
Patrick Bradyc7d00752017-06-01 10:45:37 -070047 <Import-Package>
Patrick Brady07567592017-12-13 11:09:30 -080048 org.onap.appc.i18n,
49 org.onap.appc.logging,
50 org.onap.appc.util,
Patrick Bradyc7d00752017-06-01 10:45:37 -070051 com.att.eelf.configuration,
52 com.att.eelf.i18n,
Patrick Brady07567592017-12-13 11:09:30 -080053 org.onap.appc.adapter.messaging.*,
54 org.onap.appc.adapter.message.*,
55 org.onap.appc.adapter.factory.*,
Patrick Bradyc7d00752017-06-01 10:45:37 -070056 *;resolution:=optional
57 </Import-Package>
58 <Embed-Dependency>
59 appc-common;scope=compile|runtime;inline=false
60 </Embed-Dependency>
61 <Embed-Transitive>true</Embed-Transitive>
62 </instructions>
63 </configuration>
64 </plugin>
65 <plugin>
66 <groupId>org.opendaylight.yangtools</groupId>
67 <artifactId>yang-maven-plugin</artifactId>
Patrick Bradyc6f16952017-12-01 14:22:45 -080068 <version>${odl.yangtools.version}</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -070069 <executions>
70 <execution>
71 <id>config</id>
72 <goals>
73 <goal>generate-sources</goal>
74 </goals>
75 <configuration>
76 <codeGenerators>
77 <generator>
78 <codeGeneratorClass>
79 org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
80 </codeGeneratorClass>
81 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
82 <additionalConfiguration>
83 <namespaceToPackage1>
84 urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
85 </namespaceToPackage1>
86 </additionalConfiguration>
87 </generator>
88 <generator>
89 <codeGeneratorClass>
Patrick Brady76706002017-09-04 21:37:25 -070090 org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
Patrick Bradyc7d00752017-06-01 10:45:37 -070091 </codeGeneratorClass>
92 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
93 </generator>
94 </codeGenerators>
95 <inspectDependencies>true</inspectDependencies>
96 </configuration>
97 </execution>
98 </executions>
99 <dependencies>
100 <dependency>
101 <groupId>org.opendaylight.mdsal</groupId>
102 <artifactId>maven-sal-api-gen-plugin</artifactId>
103 <version>${odl.sal.api.gen.plugin.version}</version>
104 <type>jar</type>
105 </dependency>
106 <dependency>
107 <groupId>org.opendaylight.controller</groupId>
108 <artifactId>yang-jmx-generator-plugin</artifactId>
109 <version>${odl.yang.jmx.generator.version}</version>
110 </dependency>
111 </dependencies>
112 </plugin>
113 <plugin>
114 <groupId>org.codehaus.mojo</groupId>
115 <artifactId>build-helper-maven-plugin</artifactId>
116 <executions>
117 <execution>
118 <id>attach-artifacts</id>
119 <goals>
120 <goal>attach-artifact</goal>
121 </goals>
122 <phase>package</phase>
123 <configuration>
124 <artifacts>
125 <artifact>
126 <file>${project.build.directory}/classes/initial/appc-oam.xml</file>
127 <type>xml</type>
128 <classifier>config</classifier>
129 </artifact>
130 </artifacts>
131 </configuration>
132 </execution>
133 </executions>
134 </plugin>
135 </plugins>
136 <pluginManagement>
137 <plugins>
138 <!--This plugin's configuration is used to store Eclipse 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>
156 <ignore/>
157 </action>
158 </pluginExecution>
159 </pluginExecutions>
160 </lifecycleMappingMetadata>
161 </configuration>
162 </plugin>
163 </plugins>
164 </pluginManagement>
165 </build>
166
167 <dependencies>
168 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800169 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700170 <artifactId>appc-common</artifactId>
171 <version>${project.version}</version>
172 </dependency>
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-oam-model</artifactId>
176 <version>${project.version}</version>
177 </dependency>
178 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800179 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700180 <artifactId>appc-metric-bundle</artifactId>
181 <version>${project.version}</version>
182 </dependency>
183
184 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800185 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700186 <artifactId>appc-request-handler-api</artifactId>
187 <version>${project.version}</version>
188 </dependency>
beili.zhou9adb43f2017-08-11 22:16:05 -0400189 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800190 <groupId>org.onap.appc</groupId>
beili.zhou9adb43f2017-08-11 22:16:05 -0400191 <artifactId>appc-lifecycle-management-api</artifactId>
192 <version>${project.version}</version>
193 </dependency>
194 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800195 <groupId>org.onap.appc</groupId>
beili.zhou9adb43f2017-08-11 22:16:05 -0400196 <artifactId>appc-lifecycle-management-core</artifactId>
197 <version>${project.version}</version>
198 </dependency>
199 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800200 <groupId>org.onap.appc</groupId>
beili.zhou9adb43f2017-08-11 22:16:05 -0400201 <artifactId>state-machine-lib</artifactId>
202 <version>${project.version}</version>
203 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700204
205 <dependency>
206 <groupId>org.opendaylight.controller</groupId>
207 <artifactId>config-api</artifactId>
208 </dependency>
209 <dependency>
210 <groupId>org.opendaylight.controller</groupId>
211 <artifactId>sal-binding-config</artifactId>
212 </dependency>
213 <dependency>
214 <groupId>org.opendaylight.controller</groupId>
215 <artifactId>sal-binding-api</artifactId>
216 </dependency>
217 <dependency>
218 <groupId>org.opendaylight.controller</groupId>
219 <artifactId>sal-common-util</artifactId>
220 </dependency>
221 <dependency>
222 <artifactId>sal-test-model</artifactId>
223 <groupId>org.opendaylight.controller</groupId>
224 <scope>test</scope>
225 </dependency>
226 <dependency>
227 <artifactId>sal-rest-connector</artifactId>
228 <groupId>org.opendaylight.netconf</groupId>
229 <scope>test</scope>
230 </dependency>
231 <dependency>
232 <groupId>org.opendaylight.controller</groupId>
233 <artifactId>sal-binding-broker-impl</artifactId>
234 <scope>test</scope>
235 </dependency>
236 <dependency>
237 <groupId>org.opendaylight.controller</groupId>
238 <artifactId>sal-binding-broker-impl</artifactId>
239 <classifier>tests</classifier>
240 <version>${odl.mdsal.version}</version>
241 <type>test-jar</type>
242 <scope>test</scope>
243 </dependency>
244 <dependency>
245 <groupId>junit</groupId>
246 <artifactId>junit</artifactId>
247 <scope>test</scope>
248 </dependency>
beili.zhou9adb43f2017-08-11 22:16:05 -0400249 <dependency>
250 <groupId>org.mockito</groupId>
Patrick Brady76706002017-09-04 21:37:25 -0700251 <artifactId>mockito-core</artifactId>
beili.zhou9adb43f2017-08-11 22:16:05 -0400252 <version>1.10.19</version>
253 <scope>test</scope>
254 </dependency>
255 <dependency>
256 <groupId>org.powermock</groupId>
257 <artifactId>powermock-api-mockito</artifactId>
Patrick Brady76706002017-09-04 21:37:25 -0700258 <version>1.6.4</version>
beili.zhou9adb43f2017-08-11 22:16:05 -0400259 <scope>test</scope>
260 </dependency>
261 <dependency>
262 <groupId>org.powermock</groupId>
263 <artifactId>powermock-module-junit4</artifactId>
264 <version>1.6.2</version>
265 <scope>test</scope>
266 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700267 <!-- TEMP CODE -->
268 <dependency>
269 <groupId>org.json</groupId>
270 <artifactId>json</artifactId>
271 </dependency>
272
273
beili.zhou9adb43f2017-08-11 22:16:05 -0400274 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800275 <groupId>org.onap.appc</groupId>
beili.zhou9adb43f2017-08-11 22:16:05 -0400276 <artifactId>appc-message-adapter-api</artifactId>
277 <version>${project.version}</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700278 <scope>provided</scope>
beili.zhou9adb43f2017-08-11 22:16:05 -0400279 </dependency>
280 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800281 <groupId>org.onap.appc</groupId>
beili.zhou9adb43f2017-08-11 22:16:05 -0400282 <artifactId>appc-message-adapter-factory</artifactId>
283 <version>${project.version}</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700284 <scope>provided</scope>
beili.zhou9adb43f2017-08-11 22:16:05 -0400285 </dependency>
286 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -0800287 <groupId>org.onap.appc</groupId>
beili.zhou9adb43f2017-08-11 22:16:05 -0400288 <artifactId>appc-dmaap-adapter-bundle</artifactId>
289 <version>${project.version}</version>
290 <scope>provided</scope>
291 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700292
293 </dependencies>
294
295</project>