Unify YANG->DTO generation plugin definition
[bgpcep.git] / bgp / parser-api / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
6         <parent>
7                 <groupId>org.opendaylight.bgpcep</groupId>
8                 <artifactId>bgp-parent</artifactId>
9                 <version>0.3.0-SNAPSHOT</version>
10         </parent>
11
12         <modelVersion>4.0.0</modelVersion>
13         <artifactId>bgp-parser-api</artifactId>
14         <description>BGP Parser API</description>
15         <packaging>bundle</packaging>
16         <name>${project.artifactId}</name>
17         <prerequisites>
18                 <maven>3.0.4</maven>
19         </prerequisites>
20
21         <dependencies>
22                 <dependency>
23                         <groupId>${project.groupId}</groupId>
24                         <artifactId>concepts</artifactId>
25                 </dependency>
26                 <dependency>
27                         <groupId>${project.groupId}</groupId>
28                         <artifactId>util</artifactId>
29                 </dependency>
30                 <dependency>
31                         <groupId>${project.groupId}</groupId>
32                         <artifactId>framework</artifactId>
33                 </dependency>
34                 <dependency>
35                         <groupId>${project.groupId}</groupId>
36                         <artifactId>bgp-concepts</artifactId>
37                 </dependency>
38                 <dependency>
39                         <groupId>com.google.guava</groupId>
40                         <artifactId>guava</artifactId>
41                 </dependency>
42                 <dependency>
43                         <groupId>org.slf4j</groupId>
44                         <artifactId>slf4j-api</artifactId>
45         </dependency>
46
47         <dependency>
48             <groupId>org.opendaylight.yangtools</groupId>
49             <artifactId>yang-binding</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>org.opendaylight.yangtools</groupId>
53             <artifactId>yang-common</artifactId>
54         </dependency>
55
56         <dependency>
57             <groupId>org.opendaylight.yangtools.model</groupId>
58             <artifactId>ietf-inet-types</artifactId>
59             <version>${ietf.types.version}</version>
60         </dependency>
61         <dependency>
62             <groupId>junit</groupId>
63             <artifactId>junit</artifactId>
64         </dependency>
65         </dependencies>
66
67         <build>
68                 <plugins>
69             <plugin>
70                 <groupId>org.opendaylight.yangtools</groupId>
71                 <artifactId>yang-maven-plugin</artifactId>
72             </plugin>
73                         <plugin>
74                                 <groupId>org.apache.felix</groupId>
75                                 <artifactId>maven-bundle-plugin</artifactId>
76                                 <version>${maven.bundle.version}</version>
77                                 <extensions>true</extensions>
78                                 <configuration>
79                                         <instructions>
80                                                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
81                                                 <Export-Package>
82                             org.opendaylight.protocol.bgp.parser,
83                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130918.*,
84                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev130918.*,
85                                                 </Export-Package>
86                                         </instructions>
87                                 </configuration>
88                         </plugin>
89                 </plugins>
90         </build>
91
92         <distributionManagement>
93                 <site>
94                         <id>${project.artifactId}</id>
95                         <name>BGP-PARSER-API Module site</name>
96                         <url>${basedir}/target/site/${project.artifactId}</url>
97                 </site>
98         </distributionManagement>
99
100 </project>