Remove old appc-common
[appc.git] / appc-provider / appc-provider-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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26     <modelVersion>4.0.0</modelVersion>
27     <parent>
28         <groupId>org.onap.appc.parent</groupId>
29         <artifactId>binding-parent</artifactId>
30         <version>1.4.0-SNAPSHOT</version>
31         <relativePath/>
32     </parent>
33     
34     <groupId>org.onap.appc</groupId>
35     <artifactId>appc-provider-bundle</artifactId>
36     <version>1.4.0-SNAPSHOT</version>
37     <packaging>bundle</packaging>
38     
39     <name>appc-provider-bundle</name>
40     <description>appc-provider OSGI bundle</description>
41     
42     <build>
43         <plugins>
44             <plugin>
45                 <groupId>org.apache.felix</groupId>
46                 <artifactId>maven-bundle-plugin</artifactId>
47                 <extensions>true</extensions>
48                 <configuration>
49                     <instructions>
50                         <Export-Package>org.opendaylight.controller.config.yang.config.sample_provider.impl
51                         </Export-Package>
52                         <Export-Package>org.onap.appc.provider</Export-Package>
53                         <Import-Package>
54                             org.onap.appc.domainmodel.lcm,
55                             org.onap.appc.i18n,
56                             org.onap.appc.logging,
57                             org.onap.appc.util,
58                             com.att.eelf.configuration,
59                             com.att.eelf.i18n,
60                             *;resolution:=optional
61                         </Import-Package>
62                         <Embed-Dependency>
63                             org.apache.http;scope=compile|runtime;inline=false
64                         </Embed-Dependency>
65                         <Embed-Transitive>true</Embed-Transitive>
66                     </instructions>
67                 </configuration>
68             </plugin>
69             <plugin>
70                 <groupId>org.opendaylight.yangtools</groupId>
71                 <artifactId>yang-maven-plugin</artifactId>
72                 <executions>
73                     <execution>
74                         <id>config</id>
75                         <goals>
76                             <goal>generate-sources</goal>
77                         </goals>
78                         <configuration>
79                             <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
80                             <codeGenerators>
81                                 <generator>
82                                     <codeGeneratorClass>
83                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
84                                     </codeGeneratorClass>
85                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
86                                     <additionalConfiguration>
87                                         <namespaceToPackage1>
88                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
89                                         </namespaceToPackage1>
90                                     </additionalConfiguration>
91                                 </generator>
92                                 <generator>
93                                     <codeGeneratorClass>
94                                         org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
95                                     </codeGeneratorClass>
96                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
97                                 </generator>
98                             </codeGenerators>
99                             <inspectDependencies>true</inspectDependencies>
100                         </configuration>
101                     </execution>
102                 </executions>
103                 <dependencies>
104                     <dependency>
105                         <groupId>org.opendaylight.mdsal</groupId>
106                         <artifactId>maven-sal-api-gen-plugin</artifactId>
107                         <version>${odl.sal.api.gen.plugin.version}</version>
108                         <type>jar</type>
109                     </dependency>
110                     <dependency>
111                         <groupId>org.opendaylight.controller</groupId>
112                         <artifactId>yang-jmx-generator-plugin</artifactId>
113                         <version>${odl.yang.jmx.generator.version}</version>
114                         <type>jar</type>
115                     </dependency>
116                 </dependencies>
117             </plugin>
118             <plugin>
119                 <groupId>org.codehaus.mojo</groupId>
120                 <artifactId>build-helper-maven-plugin</artifactId>
121                 <executions>
122                     <execution>
123                         <id>attach-artifacts</id>
124                         <goals>
125                             <goal>attach-artifact</goal>
126                         </goals>
127                         <phase>package</phase>
128                         <configuration>
129                             <artifacts>
130                                 <artifact>
131                                     <file>${project.build.directory}/classes/initial/appc-provider.xml</file>
132                                     <type>xml</type>
133                                     <classifier>config</classifier>
134                                 </artifact>
135                             </artifacts>
136                         </configuration>
137                     </execution>
138                 </executions>
139             </plugin>
140         </plugins>
141         <pluginManagement>
142             <plugins>
143                 <!--This plugin's configuration is used to store Eclipse 
144                     m2e settings only. It has no influence on the Maven build itself. -->
145                 <plugin>
146                     <groupId>org.eclipse.m2e</groupId>
147                     <artifactId>lifecycle-mapping</artifactId>
148                     <version>1.0.0</version>
149                     <configuration>
150                         <lifecycleMappingMetadata>
151                             <pluginExecutions>
152                                 <pluginExecution>
153                                     <pluginExecutionFilter>
154                                         <groupId>org.codehaus.mojo</groupId>
155                                         <artifactId>build-helper-maven-plugin</artifactId>
156                                         <versionRange>[1.9.1,)</versionRange>
157                                         <goals>
158                                             <goal>add-source</goal>
159                                         </goals>
160                                     </pluginExecutionFilter>
161                                     <action>
162                                         <ignore/>
163                                     </action>
164                                 </pluginExecution>
165                             </pluginExecutions>
166                         </lifecycleMappingMetadata>
167                     </configuration>
168                 </plugin>
169             </plugins>
170         </pluginManagement>
171     </build>
172     <dependencies>
173         <dependency>
174             <groupId>org.onap.appc</groupId>
175             <artifactId>appc-request-handler-api</artifactId>
176             <version>${project.version}</version>
177             <type>bundle</type>
178             <scope>provided</scope>
179         </dependency>
180         <dependency>
181             <groupId>org.onap.appc</groupId>
182             <artifactId>appc-common-bundle</artifactId>
183             <version>${project.version}</version>
184         </dependency>
185         <dependency>
186             <groupId>org.onap.appc</groupId>
187             <artifactId>appc-provider-model</artifactId>
188             <version>${project.version}</version>
189         </dependency>
190
191         <!-- ADDED THIS ARTIFACT TO BE ABLE TO FIND org.onap.appc.domainmodel.lcm -->
192         <!--         <dependency> -->
193         <!--             <groupId>org.onap.appc</groupId> -->
194         <!--             <artifactId>domain-model-lib</artifactId> -->
195         <!--             <version>${project.version}</version> -->
196         <!--         </dependency> -->
197
198         <dependency>
199             <groupId>org.opendaylight.controller</groupId>
200             <artifactId>config-api</artifactId>
201         </dependency>
202         <dependency>
203             <groupId>org.opendaylight.controller</groupId>
204             <artifactId>sal-binding-config</artifactId>
205         </dependency>
206         <dependency>
207             <groupId>org.opendaylight.controller</groupId>
208             <artifactId>sal-binding-api</artifactId>
209         </dependency>
210         <dependency>
211             <groupId>org.opendaylight.controller</groupId>
212             <artifactId>sal-common-util</artifactId>
213         </dependency>
214         <dependency>
215             <groupId>org.onap.ccsdk.sli.core</groupId>
216             <artifactId>sli-common</artifactId>
217         </dependency>
218         <dependency>
219             <groupId>org.onap.ccsdk.sli.core</groupId>
220             <artifactId>sli-provider</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             <type>test-jar</type>
237             <scope>test</scope>
238         </dependency>
239         <dependency>
240             <groupId>junit</groupId>
241             <artifactId>junit</artifactId>
242             <scope>test</scope>
243         </dependency>
244         <dependency>
245             <groupId>org.mockito</groupId>
246             <artifactId>mockito-core</artifactId>
247             <scope>test</scope>
248         </dependency>
249         <dependency>
250             <groupId>org.powermock</groupId>
251             <artifactId>powermock-api-mockito</artifactId>
252             <scope>test</scope>
253         </dependency>
254         <dependency>
255             <groupId>org.powermock</groupId>
256             <artifactId>powermock-module-junit4</artifactId>
257             <scope>test</scope>
258         </dependency>
259         <!-- TEMP CODE -->
260         <dependency>
261             <groupId>org.json</groupId>
262             <artifactId>json</artifactId>
263         </dependency>
264     </dependencies>
265 </project>