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