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