Make Binding(Runtime)Generator a proper service
[mdsal.git] / binding / mdsal-binding-generator-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11     <modelVersion>4.0.0</modelVersion>
12     <parent>
13         <groupId>org.opendaylight.mdsal</groupId>
14         <artifactId>dom-parent</artifactId>
15         <version>6.0.0-SNAPSHOT</version>
16         <relativePath>../../dom/dom-parent</relativePath>
17     </parent>
18
19     <artifactId>mdsal-binding-generator-impl</artifactId>
20     <packaging>bundle</packaging>
21
22     <dependencies>
23         <dependency>
24             <groupId>org.opendaylight.yangtools</groupId>
25             <artifactId>yang-data-api</artifactId>
26         </dependency>
27         <dependency>
28             <groupId>org.opendaylight.yangtools</groupId>
29             <artifactId>yang-parser-impl</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>org.opendaylight.mdsal</groupId>
33             <artifactId>mdsal-binding-generator-api</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>org.opendaylight.mdsal</groupId>
37             <artifactId>mdsal-binding-generator-util</artifactId>
38         </dependency>
39
40         <dependency>
41             <groupId>javax.inject</groupId>
42             <artifactId>javax.inject</artifactId>
43             <optional>true</optional>
44         </dependency>
45         <!--dependency>
46             <groupId>javax.annotation</groupId>
47             <artifactId>javax.annotation-api</artifactId>
48             <optional>true</optional>
49         </dependency-->
50         <dependency>
51             <groupId>org.kohsuke.metainf-services</groupId>
52             <artifactId>metainf-services</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>org.osgi</groupId>
56             <artifactId>org.osgi.core</artifactId>
57         </dependency>
58
59         <dependency>
60             <groupId>org.opendaylight.yangtools</groupId>
61             <artifactId>mockito-configuration</artifactId>
62         </dependency>
63         <dependency>
64             <groupId>org.opendaylight.yangtools</groupId>
65             <artifactId>yang-test-util</artifactId>
66         </dependency>
67     </dependencies>
68
69     <build>
70         <plugins>
71             <plugin>
72                 <groupId>org.apache.felix</groupId>
73                 <artifactId>maven-bundle-plugin</artifactId>
74                 <extensions>true</extensions>
75                 <configuration>
76                     <instructions>
77                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
78                         <Bundle-Activator>org.opendaylight.mdsal.binding.generator.impl.Activator</Bundle-Activator>
79                         <Export-Package>
80                             {local-packages},
81                             org.opendaylight.mdsal.binding.generator.impl,
82                             ;-split-package:=error
83                         </Export-Package>
84                     </instructions>
85                 </configuration>
86             </plugin>
87         </plugins>
88     </build>
89 </project>