Karaf 4 for appc-oam
[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                 <version>${odl.yangtools.version}</version>
71                 <executions>
72                     <execution>
73                         <id>config</id>
74                         <goals>
75                             <goal>generate-sources</goal>
76                         </goals>
77                         <configuration>
78                             <codeGenerators>
79                                 <generator>
80                                     <codeGeneratorClass>
81                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
82                                     </codeGeneratorClass>
83                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
84                                     <additionalConfiguration>
85                                         <namespaceToPackage1>
86                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
87                                         </namespaceToPackage1>
88                                     </additionalConfiguration>
89                                 </generator>
90                                 <generator>
91                                     <codeGeneratorClass>
92                                         org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
93                                     </codeGeneratorClass>
94                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
95                                 </generator>
96                             </codeGenerators>
97                             <inspectDependencies>true</inspectDependencies>
98                         </configuration>
99                     </execution>
100                 </executions>
101                 <dependencies>
102                     <dependency>
103                         <groupId>org.opendaylight.mdsal</groupId>
104                         <artifactId>maven-sal-api-gen-plugin</artifactId>
105                         <version>${odl.sal.api.gen.plugin.version}</version>
106                         <type>jar</type>
107                     </dependency>
108                     <dependency>
109                         <groupId>org.opendaylight.controller</groupId>
110                         <artifactId>yang-jmx-generator-plugin</artifactId>
111                         <version>${odl.yang.jmx.generator.version}</version>
112                     </dependency>
113                 </dependencies>
114             </plugin>
115             <plugin>
116                 <groupId>org.codehaus.mojo</groupId>
117                 <artifactId>build-helper-maven-plugin</artifactId>
118                 <executions>
119                     <execution>
120                         <id>attach-artifacts</id>
121                         <goals>
122                             <goal>attach-artifact</goal>
123                         </goals>
124                         <phase>package</phase>
125                         <configuration>
126                             <artifacts>
127                                 <artifact>
128                                     <file>${project.build.directory}/classes/initial/appc-oam.xml</file>
129                                     <type>xml</type>
130                                     <classifier>config</classifier>
131                                 </artifact>
132                             </artifacts>
133                         </configuration>
134                     </execution>
135                 </executions>
136             </plugin>
137         </plugins>
138         <pluginManagement>
139             <plugins>
140                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
141                 <plugin>
142                     <groupId>org.eclipse.m2e</groupId>
143                     <artifactId>lifecycle-mapping</artifactId>
144                     <version>1.0.0</version>
145                     <configuration>
146                         <lifecycleMappingMetadata>
147                             <pluginExecutions>
148                                 <pluginExecution>
149                                     <pluginExecutionFilter>
150                                         <groupId>org.codehaus.mojo</groupId>
151                                         <artifactId>build-helper-maven-plugin</artifactId>
152                                         <versionRange>[1.9.1,)</versionRange>
153                                         <goals>
154                                             <goal>add-source</goal>
155                                         </goals>
156                                     </pluginExecutionFilter>
157                                     <action>
158                                         <ignore/>
159                                     </action>
160                                 </pluginExecution>
161                             </pluginExecutions>
162                         </lifecycleMappingMetadata>
163                     </configuration>
164                 </plugin>
165             </plugins>
166         </pluginManagement>
167     </build>
168
169     <dependencies>
170         <dependency>
171             <groupId>org.onap.appc</groupId>
172             <artifactId>appc-common-bundle</artifactId>
173             <version>${project.version}</version>
174         </dependency>
175         <dependency>
176             <groupId>org.onap.appc</groupId>
177             <artifactId>appc-oam-model</artifactId>
178             <version>${project.version}</version>
179         </dependency>
180         <dependency>
181             <groupId>org.onap.appc</groupId>
182             <artifactId>appc-metric-bundle</artifactId>
183             <version>${project.version}</version>
184         </dependency>
185
186         <dependency>
187             <groupId>org.onap.appc</groupId>
188             <artifactId>appc-request-handler-api</artifactId>
189             <version>${project.version}</version>
190         </dependency>
191         <dependency>
192             <groupId>org.onap.appc</groupId>
193             <artifactId>appc-lifecycle-management-api</artifactId>
194             <version>${project.version}</version>
195         </dependency>
196         <dependency>
197             <groupId>org.onap.appc</groupId>
198             <artifactId>appc-lifecycle-management-core</artifactId>
199             <version>${project.version}</version>
200         </dependency>
201         <dependency>
202             <groupId>org.onap.appc</groupId>
203             <artifactId>state-machine-lib</artifactId>
204             <version>${project.version}</version>
205         </dependency>
206
207         <dependency>
208             <groupId>org.opendaylight.controller</groupId>
209             <artifactId>config-api</artifactId>
210         </dependency>
211         <dependency>
212             <groupId>org.opendaylight.controller</groupId>
213             <artifactId>sal-binding-config</artifactId>
214         </dependency>
215         <dependency>
216             <groupId>org.opendaylight.controller</groupId>
217             <artifactId>sal-binding-api</artifactId>
218         </dependency>
219         <dependency>
220             <groupId>org.opendaylight.controller</groupId>
221             <artifactId>sal-common-util</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>
251         <dependency>
252             <groupId>org.mockito</groupId>
253             <artifactId>mockito-core</artifactId>
254             <version>1.10.19</version>
255             <scope>test</scope>
256         </dependency>
257         <dependency>
258             <groupId>org.powermock</groupId>
259             <artifactId>powermock-api-mockito</artifactId>
260             <version>1.6.4</version>
261             <scope>test</scope>
262         </dependency>
263         <dependency>
264             <groupId>org.powermock</groupId>
265             <artifactId>powermock-module-junit4</artifactId>
266             <version>1.6.2</version>
267             <scope>test</scope>
268         </dependency>
269         <!-- TEMP CODE -->
270         <dependency>
271             <groupId>org.json</groupId>
272             <artifactId>json</artifactId>
273         </dependency>
274
275
276         <dependency>
277             <groupId>org.onap.appc</groupId>
278             <artifactId>appc-message-adapter-api</artifactId>
279             <version>${project.version}</version>
280             <scope>provided</scope>
281         </dependency>
282         <dependency>
283             <groupId>org.onap.appc</groupId>
284             <artifactId>appc-message-adapter-factory</artifactId>
285             <version>${project.version}</version>
286             <scope>provided</scope>
287         </dependency>
288         <dependency>
289             <groupId>org.onap.appc</groupId>
290             <artifactId>appc-dmaap-adapter-bundle</artifactId>
291             <version>${project.version}</version>
292             <scope>provided</scope>
293         </dependency>
294
295     </dependencies>
296
297 </project>