9e7f438890878e22db37025186817b1bcea0dc4c
[appc.git] / appc-sequence-generator / appc-sequence-generator-bundle / pom.xml
1 <?xml version="1.0"?>
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 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
25          xmlns="http://maven.apache.org/POM/4.0.0"
26          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
27     <modelVersion>4.0.0</modelVersion>
28     <parent>
29         <groupId>org.onap.appc</groupId>
30         <artifactId>appc-sequence-generator</artifactId>
31         <version>1.4.0-SNAPSHOT</version>
32     </parent>
33     <artifactId>appc-sequence-generator-bundle</artifactId>
34     <name>appc-sequence-generator-bundle</name>
35     <packaging>bundle</packaging>
36
37     <build>
38         <plugins>
39             <plugin>
40                 <groupId>org.apache.felix</groupId>
41                 <artifactId>maven-bundle-plugin</artifactId>
42                 <version>${bundle.plugin.version}</version>
43                 <extensions>true</extensions>
44                 <configuration>
45                     <instructions>
46                         <Bundle-SymbolicName>appc-sequence-generator-bundle</Bundle-SymbolicName>
47                         <!--                        <Bundle-Activator>org.onap.appc.seqgen.SequenceGeneratorActivator</Bundle-Activator>-->
48                         <Export-Package>org.onap.appc.seqgen.*</Export-Package>
49                         <Import-Package>org.onap.appc.domainmodel.lcm,*;resolution:=optional</Import-Package>
50                         <DynamicImport-Package>*</DynamicImport-Package>
51                         <Embed-Transitive>true</Embed-Transitive>
52                     </instructions>
53                 </configuration>
54             </plugin>
55             <plugin>
56                 <groupId>org.opendaylight.yangtools</groupId>
57                 <artifactId>yang-maven-plugin</artifactId>
58                 <version>${odl.yangtools.version}</version>
59                 <executions>
60                     <execution>
61                         <id>config</id>
62                         <goals>
63                             <goal>generate-sources</goal>
64                         </goals>
65                         <configuration>
66                             <codeGenerators>
67                                 <generator>
68                                     <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
69                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
70                                     <additionalConfiguration>
71                                         <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
72                                     </additionalConfiguration>
73                                 </generator>
74                                 <generator>
75                                     <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
76                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
77                                 </generator>
78                             </codeGenerators>
79                             <inspectDependencies>true</inspectDependencies>
80                         </configuration>
81                     </execution>
82                 </executions>
83                 <dependencies>
84                     <dependency>
85                         <groupId>org.opendaylight.mdsal</groupId>
86                         <artifactId>maven-sal-api-gen-plugin</artifactId>
87                         <version>${odl.sal.api.gen.plugin.version}</version>
88                         <type>jar</type>
89                     </dependency>
90                     <dependency>
91                         <groupId>org.opendaylight.controller</groupId>
92                         <artifactId>yang-jmx-generator-plugin</artifactId>
93                         <version>${odl.yang.jmx.generator.version}</version>
94                     </dependency>
95                 </dependencies>
96             </plugin>
97             <plugin>
98                 <groupId>org.codehaus.mojo</groupId>
99                 <artifactId>build-helper-maven-plugin</artifactId>
100                 <executions>
101                     <execution>
102                         <id>attach-artifacts</id>
103                         <goals>
104                             <goal>attach-artifact</goal>
105                         </goals>
106                         <phase>package</phase>
107                         <configuration>
108                             <artifacts>
109                                 <artifact>
110                                     <file>${project.build.directory}/classes/initial/appc-sequence-generator.xml</file>
111                                     <type>xml</type>
112                                     <classifier>config</classifier>
113                                 </artifact>
114                             </artifacts>
115                         </configuration>
116                     </execution>
117                 </executions>
118             </plugin>
119         </plugins>
120     </build>
121
122     <dependencies>
123         <dependency>
124             <groupId>junit</groupId>
125             <artifactId>junit</artifactId>
126             <scope>test</scope>
127         </dependency>
128         <dependency>
129             <groupId>org.opendaylight.controller</groupId>
130             <artifactId>config-api</artifactId>
131         </dependency>
132         <dependency>
133             <groupId>org.opendaylight.controller</groupId>
134             <artifactId>sal-binding-config</artifactId>
135         </dependency>
136         <dependency>
137             <groupId>org.opendaylight.controller</groupId>
138             <artifactId>sal-binding-api</artifactId>
139         </dependency>
140         <dependency>
141             <groupId>org.opendaylight.controller</groupId>
142             <artifactId>sal-common-util</artifactId>
143         </dependency>
144         <dependency>
145             <artifactId>sal-test-model</artifactId>
146             <groupId>org.opendaylight.controller</groupId>
147             <scope>test</scope>
148         </dependency>
149         <dependency>
150             <artifactId>sal-rest-connector</artifactId>
151             <groupId>org.opendaylight.netconf</groupId>
152             <scope>test</scope>
153         </dependency>
154         <dependency>
155             <groupId>org.opendaylight.controller</groupId>
156             <artifactId>sal-binding-broker-impl</artifactId>
157             <scope>test</scope>
158         </dependency>
159         <dependency>
160             <groupId>org.opendaylight.controller</groupId>
161             <artifactId>sal-binding-broker-impl</artifactId>
162             <classifier>tests</classifier>
163             <version>${odl.mdsal.version}</version>
164             <type>test-jar</type>
165             <scope>test</scope>
166         </dependency>
167         <dependency>
168             <groupId>org.onap.appc</groupId>
169             <artifactId>appc-dg-dependency-model</artifactId>
170             <version>${project.version}</version>
171         </dependency>
172         <dependency>
173           <groupId>com.fasterxml.jackson.core</groupId>
174           <artifactId>jackson-core</artifactId>
175         </dependency>
176         <dependency>
177           <groupId>com.fasterxml.jackson.core</groupId>
178           <artifactId>jackson-databind</artifactId>
179         </dependency>
180         <dependency>
181           <groupId>com.fasterxml.jackson.core</groupId>
182           <artifactId>jackson-annotations</artifactId>
183         </dependency>
184         <dependency>
185             <groupId>org.onap.ccsdk.sli.core</groupId>
186             <artifactId>sli-common</artifactId>
187         </dependency>
188         <dependency>
189             <groupId>org.onap.ccsdk.sli.core</groupId>
190             <artifactId>sli-provider</artifactId>
191         </dependency>
192         <dependency>
193             <groupId>org.onap.appc</groupId>
194             <artifactId>appc-dg-domain-model-lib</artifactId>
195             <version>${project.version}</version>
196         </dependency>
197         <dependency>
198             <groupId>org.onap.appc</groupId>
199             <artifactId>domain-model-lib</artifactId>
200             <version>${project.version}</version>
201         </dependency>
202         <dependency>
203             <groupId>org.apache.velocity</groupId>
204             <artifactId>velocity</artifactId>
205             <version>1.7</version>
206             </dependency>
207          <dependency>
208             <groupId>org.onap.ccsdk.sli.adaptors</groupId>
209             <artifactId>sql-resource-provider</artifactId>
210             <version>${ccsdk.sli.adaptors.version}</version>
211         </dependency>
212         <dependency>
213              <groupId>commons-io</groupId>
214              <artifactId>commons-io</artifactId>
215         </dependency>
216
217         <dependency>
218             <groupId>org.onap.appc</groupId>
219             <artifactId>appc-sequence-generator-model</artifactId>
220             <version>${project.version}</version>
221         </dependency>
222     </dependencies>
223
224 </project>