blob: f283e83824839818af5a4acb1a6f8da582c8c07f [file] [log] [blame]
Skip Wonnellab6c2c02017-08-14 17:47:10 -05001<?xml version="1.0" encoding="UTF-8"?>
mojahidi3df31822017-08-29 18:20:26 +05302<!--
3============LICENSE_START=======================================================
4ONAP : APPC
5================================================================================
6Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7================================================================================
8Copyright (C) 2017 Amdocs
9=============================================================================
10Licensed under the Apache License, Version 2.0 (the "License");
11you may not use this file except in compliance with the License.
12You may obtain a copy of the License at
13
14 http://www.apache.org/licenses/LICENSE-2.0
15
16Unless required by applicable law or agreed to in writing, software
17distributed under the License is distributed on an "AS IS" BASIS,
18WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19See the License for the specific language governing permissions and
20limitations under the License.
21
22ECOMP is a trademark and service mark of AT&T Intellectual Property.
23============LICENSE_END=========================================================
24-->
Skip Wonnellab6c2c02017-08-14 17:47:10 -050025<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-artifact-handler</artifactId>
30 <groupId>org.openecomp.appc</groupId>
Jessica Wagantall65367992017-11-16 17:22:13 -080031 <version>1.3.0-SNAPSHOT</version>
Skip Wonnellab6c2c02017-08-14 17:47:10 -050032 </parent>
33 <artifactId>appc-artifact-handler-provider</artifactId>
34 <packaging>bundle</packaging>
35
36 <build>
37 <plugins>
38 <plugin>
39 <groupId>org.apache.felix</groupId>
40 <artifactId>maven-bundle-plugin</artifactId>
41 <extensions>true</extensions>
42 <configuration>
43 <instructions>
44 <Bundle-SymbolicName>org.openecomp.appc.artifact.handler</Bundle-SymbolicName>
mojahidi3df31822017-08-29 18:20:26 +053045 <Bundle-Activator>org.openecomp.appc.artifact.handler.SdcArtifactHandlerActivator</Bundle-Activator>
Skip Wonnellab6c2c02017-08-14 17:47:10 -050046 <Export-Package>org.openecomp.appc.artifact.handler,org.opendaylight.controller.config.yang.config.artifact-handler_provider.impl</Export-Package>
47 <Import-Package>*</Import-Package>
48 <DynamicImport-Package>*</DynamicImport-Package>
49 </instructions>
50 <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
51 </configuration>
52 </plugin>
Patrick Brady76706002017-09-04 21:37:25 -070053 <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>
Skip Wonnellab6c2c02017-08-14 17:47:10 -050095 <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>
Patrick Bradyb7d8b972017-10-26 09:12:23 -0700108 <file>${project.build.directory}/classes/initial/appc-artifact-handler-provider.xml</file>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500109 <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.openecomp.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.openecomp.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>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500147 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -0700148 <groupId>org.onap.ccsdk.sli.core</groupId>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500149 <artifactId>sli-common</artifactId>
150 </dependency>
151 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -0700152 <groupId>org.onap.ccsdk.sli.core</groupId>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500153 <artifactId>sli-provider</artifactId>
154 </dependency>
155 <dependency>
156 <groupId>org.openecomp.appc</groupId>
157 <artifactId>appc-config-params-provider</artifactId>
158 <version>${project.version}</version>
159 </dependency>
160 <dependency>
161 <artifactId>sal-test-model</artifactId>
162 <groupId>org.opendaylight.controller</groupId>
163 <scope>test</scope>
164 </dependency>
165 <dependency>
166 <artifactId>sal-rest-connector</artifactId>
167 <groupId>org.opendaylight.netconf</groupId>
168 <scope>test</scope>
169 </dependency>
170 <dependency>
171 <groupId>org.opendaylight.controller</groupId>
172 <artifactId>sal-binding-broker-impl</artifactId>
173 <scope>test</scope>
174 </dependency>
175 <dependency>
176 <groupId>org.opendaylight.controller</groupId>
177 <artifactId>sal-binding-broker-impl</artifactId>
178 <version>${odl.mdsal.version}</version>
179 <classifier>tests</classifier>
180 <type>test-jar</type>
181 <scope>test</scope>
182 </dependency>
183 <dependency>
184 <groupId>com.att.eelf</groupId>
185 <artifactId>eelf-core</artifactId>
186 </dependency>
187 <dependency>
188 <groupId>junit</groupId>
189 <artifactId>junit</artifactId>
190 <scope>test</scope>
191 </dependency>
192 <dependency>
193 <groupId>org.apache.commons</groupId>
194 <artifactId>commons-lang3</artifactId>
195 </dependency>
196 <dependency>
197 <groupId>org.json</groupId>
198 <artifactId>json</artifactId>
199 </dependency>
200 <dependency>
Patrick Brady76706002017-09-04 21:37:25 -0700201 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500202 <artifactId>sql-resource-provider</artifactId>
Patrick Brady76706002017-09-04 21:37:25 -0700203 <version>${ccsdk.sli.adaptors.version}</version>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500204 <scope>compile</scope>
205 </dependency>
Ramya Balajic0eaebb2017-09-11 15:50:25 -0400206 <dependency>
207 <groupId>org.powermock</groupId>
208 <artifactId>powermock-api-mockito</artifactId>
209 <scope>test</scope>
210 </dependency>
211 <dependency>
212 <groupId>org.mockito</groupId>
213 <artifactId>mockito-core</artifactId>
214 <scope>test</scope>
215 </dependency>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500216 </dependencies>
217</project>