Add/update license text part 3
[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 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  ECOMP is a trademark and service mark of AT&T Intellectual Property.
23  ============LICENSE_END=========================================================
24 -->
25 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27     <modelVersion>4.0.0</modelVersion>
28     <parent>
29         <artifactId>appc-provider</artifactId>
30         <groupId>org.onap.appc</groupId>
31         <version>1.3.0-SNAPSHOT</version>
32     </parent>
33     <artifactId>appc-provider-bundle</artifactId>
34     <packaging>bundle</packaging>
35     <build>
36         <plugins>
37             <plugin>
38                 <groupId>org.apache.felix</groupId>
39                 <artifactId>maven-bundle-plugin</artifactId>
40                 <extensions>true</extensions>
41                 <configuration>
42                     <instructions>
43                         <Export-Package>org.opendaylight.controller.config.yang.config.sample_provider.impl
44                         </Export-Package>
45                         <Export-Package>org.onap.appc.provider</Export-Package>
46                         <!-- <Import-Package>!groovy.lang,!javax.jms,!org.codehaus.commons.compiler,!org.codehaus.groovy.*,!org.codehaus.janino,!com.ibm.icu.*,!com.sun.faces.*,!org.apache.log,*;resolution:=optional</Import-Package> -->
47                         <!-- <Embed-Dependency>appc-common,eelf-core,logback-core,logback-classic;scope=compile|runtime;inline=false,domain-model-lib,appc-command-executor-api,appc-request-handler-api</Embed-Dependency> -->
48                         <Import-Package>
49                             org.onap.appc.domainmodel.lcm,
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                             *;resolution:=optional
56                         </Import-Package>
57                         <Embed-Dependency>
58                             appc-common,org.apache.http;scope=compile|runtime;inline=false
59                         </Embed-Dependency>
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                 <version>${odl.yangtools.version}</version>
68                 <executions>
69                     <execution>
70                         <id>config</id>
71                         <goals>
72                             <goal>generate-sources</goal>
73                         </goals>
74                         <configuration>
75                             <codeGenerators>
76                                 <generator>
77                                     <codeGeneratorClass>
78                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
79                                     </codeGeneratorClass>
80                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
81                                     <additionalConfiguration>
82                                         <namespaceToPackage1>
83                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
84                                         </namespaceToPackage1>
85                                     </additionalConfiguration>
86                                 </generator>
87                                 <generator>
88                                     <codeGeneratorClass>
89                                         org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl
90                                     </codeGeneratorClass>
91                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
92                                 </generator>
93                             </codeGenerators>
94                             <inspectDependencies>true</inspectDependencies>
95                         </configuration>
96                     </execution>
97                 </executions>
98                 <dependencies>
99                     <dependency>
100                         <groupId>org.opendaylight.mdsal</groupId>
101                         <artifactId>maven-sal-api-gen-plugin</artifactId>
102                         <version>${odl.sal.api.gen.plugin.version}</version>
103                         <type>jar</type>
104                     </dependency>
105                     <dependency>
106                         <groupId>org.opendaylight.controller</groupId>
107                         <artifactId>yang-jmx-generator-plugin</artifactId>
108                         <version>${odl.yang.jmx.generator.version}</version>
109                     </dependency>
110                 </dependencies>
111             </plugin>
112             <plugin>
113                 <groupId>org.codehaus.mojo</groupId>
114                 <artifactId>build-helper-maven-plugin</artifactId>
115                 <executions>
116                     <execution>
117                         <id>attach-artifacts</id>
118                         <goals>
119                             <goal>attach-artifact</goal>
120                         </goals>
121                         <phase>package</phase>
122                         <configuration>
123                             <artifacts>
124                                 <artifact>
125                                     <file>${project.build.directory}/classes/initial/appc-provider.xml</file>
126                                     <type>xml</type>
127                                     <classifier>config</classifier>
128                                 </artifact>
129                             </artifacts>
130                         </configuration>
131                     </execution>
132                 </executions>
133             </plugin>
134         </plugins>
135         <pluginManagement>
136             <plugins>
137                 <!--This plugin's configuration is used to store Eclipse 
138                     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     <dependencies>
167         <dependency>
168             <groupId>org.onap.appc</groupId>
169             <artifactId>appc-request-handler-api</artifactId>
170             <version>${project.version}</version>
171             <type>bundle</type>
172             <scope>provided</scope>
173             <!--             <exclusions> -->
174             <!--                 <exclusion> -->
175             <!--                     <groupId>org.onap.appc</groupId> -->
176             <!--                     <artifactId>domain-model-lib</artifactId> -->
177             <!--                 </exclusion> -->
178             <!--             </exclusions> -->
179         </dependency>
180         <dependency>
181             <groupId>org.onap.appc</groupId>
182             <artifactId>appc-common</artifactId>
183             <version>${project.version}</version>
184             <!--             <classifier>jar-with-dependencies</classifier> -->
185         </dependency>
186         <dependency>
187             <groupId>org.onap.appc</groupId>
188             <artifactId>appc-provider-model</artifactId>
189             <version>${project.version}</version>
190         </dependency>
191
192         <!-- ADDED THIS ARTIFACT TO BE ABLE TO FIND org.onap.appc.domainmodel.lcm -->
193         <!--         <dependency> -->
194         <!--             <groupId>org.onap.appc</groupId> -->
195         <!--             <artifactId>domain-model-lib</artifactId> -->
196         <!--             <version>${project.version}</version> -->
197         <!--         </dependency> -->
198
199         <dependency>
200             <groupId>org.opendaylight.controller</groupId>
201             <artifactId>config-api</artifactId>
202         </dependency>
203         <dependency>
204             <groupId>org.opendaylight.controller</groupId>
205             <artifactId>sal-binding-config</artifactId>
206         </dependency>
207         <dependency>
208             <groupId>org.opendaylight.controller</groupId>
209             <artifactId>sal-binding-api</artifactId>
210         </dependency>
211         <dependency>
212             <groupId>org.opendaylight.controller</groupId>
213             <artifactId>sal-common-util</artifactId>
214         </dependency>
215         <dependency>
216             <groupId>org.onap.ccsdk.sli.core</groupId>
217             <artifactId>sli-common</artifactId>
218         </dependency>
219         <dependency>
220             <groupId>org.onap.ccsdk.sli.core</groupId>
221             <artifactId>sli-provider</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             <scope>test</scope>
255         </dependency>
256         <dependency>
257             <groupId>org.powermock</groupId>
258             <artifactId>powermock-api-mockito</artifactId>
259             <scope>test</scope>
260         </dependency>
261         <dependency>
262             <groupId>org.powermock</groupId>
263             <artifactId>powermock-module-junit4</artifactId>
264             <scope>test</scope>
265         </dependency>
266         <!-- TEMP CODE -->
267         <dependency>
268             <groupId>org.json</groupId>
269             <artifactId>json</artifactId>
270         </dependency>
271     </dependencies>
272 </project>