6ac7f1bf5131de188128722b4db8cd51c230d73f
[appc.git] / appc-inbound / appc-artifact-handler / provider / 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                 <artifactId>appc-artifact-handler</artifactId>
29                 <groupId>org.onap.appc</groupId>
30                 <version>1.3.0-SNAPSHOT</version>
31         </parent>
32         <artifactId>appc-artifact-handler-provider</artifactId>
33         <packaging>bundle</packaging>
34
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                                                 <Bundle-SymbolicName>org.onap.appc.artifact.handler</Bundle-SymbolicName>
44                                                 <Bundle-Activator>org.onap.appc.artifact.handler.SdcArtifactHandlerActivator</Bundle-Activator>
45                                                 <Export-Package>org.onap.appc.artifact.handler,org.opendaylight.controller.config.yang.config.artifact-handler_provider.impl</Export-Package>
46                                                 <Import-Package>!com.google,!org.apache.commons.configuration,*;resolution:=optional</Import-Package>
47                                                 <Embed-Dependency>*;scope=compile|runtime;artifactId=!sli-common|!appc-common|org.eclipse.osgi|slf4j-api|jcl-over-slf4j|mariadb-java-client|xml-apis</Embed-Dependency>
48                                                 <DynamicImport-Package>*</DynamicImport-Package>
49                                         </instructions>
50                                         <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
51                                 </configuration>
52                         </plugin>
53             <plugin>
54                 <groupId>org.opendaylight.yangtools</groupId>
55                 <artifactId>yang-maven-plugin</artifactId>
56                 <version>${odl.yangtools.version}</version>
57                 <executions>
58                     <execution>
59                         <id>config</id>
60                         <goals>
61                             <goal>generate-sources</goal>
62                         </goals>
63                         <configuration>
64                             <codeGenerators>
65                                 <generator>
66                                     <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
67                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
68                                     <additionalConfiguration>
69                                         <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
70                                     </additionalConfiguration>
71                                 </generator>
72                                 <generator>
73                                     <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
74                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
75                                 </generator>
76                             </codeGenerators>
77                             <inspectDependencies>true</inspectDependencies>
78                         </configuration>
79                     </execution>
80                 </executions>
81                 <dependencies>
82                     <dependency>
83                         <groupId>org.opendaylight.mdsal</groupId>
84                         <artifactId>maven-sal-api-gen-plugin</artifactId>
85                         <version>${odl.sal.api.gen.plugin.version}</version>
86                         <type>jar</type>
87                     </dependency>
88                     <dependency>
89                         <groupId>org.opendaylight.controller</groupId>
90                         <artifactId>yang-jmx-generator-plugin</artifactId>
91                         <version>${odl.yang.jmx.generator.version}</version>
92                     </dependency>
93                 </dependencies>
94             </plugin>
95                         <plugin>
96                                 <groupId>org.codehaus.mojo</groupId>
97                                 <artifactId>build-helper-maven-plugin</artifactId>
98                                 <executions>
99                                         <execution>
100                                                 <id>attach-artifacts</id>
101                                                 <goals>
102                                                         <goal>attach-artifact</goal>
103                                                 </goals>
104                                                 <phase>package</phase>
105                                                 <configuration>
106                                                         <artifacts>
107                                                                 <artifact>
108                                                                         <file>${project.build.directory}/classes/initial/appc-artifact-handler-provider.xml</file>
109                                                                         <type>xml</type>
110                                                                         <classifier>config</classifier>
111                                                                 </artifact>
112                                                         </artifacts>
113                                                 </configuration>
114                                         </execution>
115                                 </executions>
116                         </plugin>
117                 </plugins>
118         </build>
119
120         <dependencies>
121                 <dependency>
122                         <groupId>org.onap.appc</groupId>
123                         <artifactId>appc-artifact-handler-model</artifactId>
124                 </dependency>
125                 <dependency>
126                         <groupId>org.opendaylight.controller</groupId>
127                         <artifactId>config-api</artifactId>
128                 </dependency>
129                 <dependency>
130                         <groupId>org.onap.appc</groupId>
131                         <artifactId>appc-yang-generator</artifactId>
132                         <version>${project.version}</version>
133                 </dependency>
134
135                 <dependency>
136                         <groupId>org.opendaylight.controller</groupId>
137                         <artifactId>sal-binding-config</artifactId>
138                         </dependency>
139                 <dependency>
140                         <groupId>org.opendaylight.controller</groupId>
141                         <artifactId>sal-binding-api</artifactId>
142                         </dependency>
143                 <dependency>
144                         <groupId>org.opendaylight.controller</groupId>
145                         <artifactId>sal-common-util</artifactId>
146                         </dependency>
147                 <dependency>
148                         <groupId>org.onap.ccsdk.sli.core</groupId>
149                         <artifactId>sli-common</artifactId>
150                 </dependency>
151                 <dependency>
152                         <groupId>org.onap.ccsdk.sli.core</groupId>
153                         <artifactId>sli-provider</artifactId>
154                 </dependency>
155                 <dependency>
156                         <groupId>commons-configuration</groupId>
157                         <artifactId>commons-configuration</artifactId>
158                         <version>1.10</version>
159                 </dependency>
160                 <dependency>
161                         <groupId>org.onap.appc</groupId>
162                         <artifactId>appc-config-params-provider</artifactId>
163                         <version>${project.version}</version>
164                 </dependency>
165                 <dependency>
166                         <artifactId>sal-test-model</artifactId>
167                         <groupId>org.opendaylight.controller</groupId>
168                         <scope>test</scope>
169                         </dependency>
170                 <dependency>
171                         <artifactId>sal-rest-connector</artifactId>
172                         <groupId>org.opendaylight.netconf</groupId>
173                         <scope>test</scope>
174                         </dependency>
175                 <dependency>
176                         <groupId>org.opendaylight.controller</groupId>
177                         <artifactId>sal-binding-broker-impl</artifactId>
178                         <scope>test</scope>
179                         </dependency>
180                 <dependency>
181                         <groupId>org.opendaylight.controller</groupId>
182                         <artifactId>sal-binding-broker-impl</artifactId>
183                         <version>${odl.mdsal.version}</version>
184                         <classifier>tests</classifier>
185                         <type>test-jar</type>
186                         <scope>test</scope>
187                 </dependency>
188                 <dependency>
189                         <groupId>com.att.eelf</groupId>
190                         <artifactId>eelf-core</artifactId>
191                 </dependency>
192                 <dependency>
193                         <groupId>junit</groupId>
194                         <artifactId>junit</artifactId>
195                         <scope>test</scope>
196                 </dependency>
197                 <dependency>
198                         <groupId>org.apache.commons</groupId>
199                         <artifactId>commons-lang3</artifactId>
200                 </dependency>
201                 <dependency>
202                         <groupId>org.json</groupId>
203                         <artifactId>json</artifactId>
204                 </dependency>
205                 <dependency>
206                         <groupId>org.onap.ccsdk.sli.adaptors</groupId>
207                         <artifactId>sql-resource-provider</artifactId>
208                         <version>${ccsdk.sli.adaptors.version}</version>
209                         <scope>compile</scope>
210                 </dependency>
211                 <dependency>
212                         <groupId>org.powermock</groupId>
213                         <artifactId>powermock-api-mockito</artifactId>
214                         <scope>test</scope>
215                 </dependency>
216                 <dependency>
217                         <groupId>org.mockito</groupId>
218                         <artifactId>mockito-core</artifactId>
219                         <scope>test</scope>
220                 </dependency>
221         </dependencies>
222 </project>