Karaf 4 for appc-inbound
[appc.git] / appc-oam / appc-oam-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
25         xmlns="http://maven.apache.org/POM/4.0.0"
26         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
27          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                 <groupId>org.onap.appc.parent</groupId>
31                 <artifactId>binding-parent</artifactId>
32                 <version>1.4.0-SNAPSHOT</version>
33                 <relativePath />
34         </parent>
35         <groupId>org.onap.appc</groupId>
36     <artifactId>appc-oam-bundle</artifactId>
37     <name>APPC OAM - Bundle</name>
38     <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>
48                         <Export-Package>org.onap.appc.oam</Export-Package>
49                         <Import-Package>
50                             org.onap.appc.i18n,
51                             org.onap.appc.logging,
52                             org.onap.appc.util,
53                             com.att.eelf.configuration,
54                             com.att.eelf.i18n,
55                             org.onap.appc.adapter.messaging.*,
56                             org.onap.appc.adapter.message.*,
57                             org.onap.appc.adapter.factory.*,
58                             *;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>
91                                         org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
92                                     </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>
170             <groupId>org.onap.appc</groupId>
171             <artifactId>appc-common-bundle</artifactId>
172             <version>${project.version}</version>
173         </dependency>
174         <dependency>
175             <groupId>org.onap.appc</groupId>
176             <artifactId>appc-oam-model</artifactId>
177             <version>${project.version}</version>
178         </dependency>
179         <dependency>
180             <groupId>org.onap.appc</groupId>
181             <artifactId>appc-metric-bundle</artifactId>
182             <version>${project.version}</version>
183         </dependency>
184
185         <dependency>
186             <groupId>org.onap.appc</groupId>
187             <artifactId>appc-request-handler-api</artifactId>
188             <version>${project.version}</version>
189         </dependency>
190         <dependency>
191             <groupId>org.onap.appc</groupId>
192             <artifactId>appc-lifecycle-management-api</artifactId>
193             <version>${project.version}</version>
194         </dependency>
195         <dependency>
196             <groupId>org.onap.appc</groupId>
197             <artifactId>appc-lifecycle-management-core</artifactId>
198             <version>${project.version}</version>
199         </dependency>
200         <dependency>
201             <groupId>org.onap.appc</groupId>
202             <artifactId>state-machine-lib</artifactId>
203             <version>${project.version}</version>
204         </dependency>
205
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>
228             <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>
245         <dependency>
246             <groupId>org.mockito</groupId>
247             <artifactId>mockito-core</artifactId>
248             <version>1.10.19</version>
249             <scope>test</scope>
250         </dependency>
251         <dependency>
252             <groupId>org.powermock</groupId>
253             <artifactId>powermock-api-mockito</artifactId>
254             <version>1.6.4</version>
255             <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>
263         <!-- TEMP CODE -->
264         <dependency>
265             <groupId>org.json</groupId>
266             <artifactId>json</artifactId>
267         </dependency>
268
269
270         <dependency>
271             <groupId>org.onap.appc</groupId>
272             <artifactId>appc-message-adapter-api</artifactId>
273             <version>${project.version}</version>
274             <scope>provided</scope>
275         </dependency>
276         <dependency>
277             <groupId>org.onap.appc</groupId>
278             <artifactId>appc-message-adapter-factory</artifactId>
279             <version>${project.version}</version>
280             <scope>provided</scope>
281         </dependency>
282         <dependency>
283             <groupId>org.onap.appc</groupId>
284             <artifactId>appc-dmaap-adapter-bundle</artifactId>
285             <version>${project.version}</version>
286             <scope>provided</scope>
287         </dependency>
288
289     </dependencies>
290
291 </project>