BUG-63: remove dependency on netty-all
[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             <version>${project.version}</version>
26                 </dependency>
27                 <dependency>
28                         <groupId>${project.groupId}</groupId>
29                         <artifactId>util</artifactId>
30             <version>${project.version}</version>
31                 </dependency>
32                 <dependency>
33                         <groupId>${project.groupId}</groupId>
34                         <artifactId>framework</artifactId>
35             <version>${project.version}</version>
36                 </dependency>
37                 <dependency>
38                         <groupId>${project.groupId}</groupId>
39                         <artifactId>bgp-linkstate</artifactId>
40             <version>${project.version}</version>
41                 </dependency>
42                 <dependency>
43                         <groupId>${project.groupId}</groupId>
44                         <artifactId>bgp-concepts</artifactId>
45             <version>${project.version}</version>
46                 </dependency>
47                 <dependency>
48                         <groupId>com.google.guava</groupId>
49                         <artifactId>guava</artifactId>
50                         <version>${guava.version}</version>
51                 </dependency>
52                 <dependency>
53                         <groupId>org.slf4j</groupId>
54                         <artifactId>slf4j-api</artifactId>
55                         <version>${slf4j.version}</version>
56         </dependency>
57         <dependency>
58             <groupId>org.opendaylight.yangtools.model</groupId>
59             <artifactId>ietf-inet-types</artifactId>
60             <version>2010.09.24-SNAPSHOT</version>
61         </dependency>
62         </dependencies>
63
64         <build>
65                 <plugins>
66             <plugin>
67                 <groupId>org.opendaylight.yangtools</groupId>
68                 <artifactId>yang-maven-plugin</artifactId>
69                 <version>${yangtools.version}</version>
70                 <executions>
71                     <execution>
72                         <goals>
73                             <goal>generate-sources</goal>
74                         </goals>
75                         <configuration>
76                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
77                             <codeGenerators>
78                                 <generator>
79                                     <codeGeneratorClass>
80                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
81                                     </codeGeneratorClass>
82                                     <outputBaseDir>
83                                         target/generated-sources/sal
84                                     </outputBaseDir>
85                                 </generator>
86                             </codeGenerators>
87                             <inspectDependencies>true</inspectDependencies>
88                         </configuration>
89                     </execution>
90                 </executions>
91                 <dependencies>
92                     <dependency>
93                         <groupId>org.opendaylight.yangtools</groupId>
94                         <artifactId>maven-sal-api-gen-plugin</artifactId>
95                         <version>${yangtools.version}</version>
96                         <type>jar</type>
97                     </dependency>
98                 </dependencies>
99             </plugin>
100                         <plugin>
101                                 <groupId>org.apache.felix</groupId>
102                                 <artifactId>maven-bundle-plugin</artifactId>
103                                 <version>${maven.bundle.version}</version>
104                                 <extensions>true</extensions>
105                                 <configuration>
106                                         <instructions>
107                                                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
108                                                 <Import-Package>
109                                                         org.opendaylight.protocol.bgp.concepts, 
110                                                         org.opendaylight.protocol.concepts,
111                                                         org.opendaylight.protocol.framework,
112                                                         org.opendaylight.protocol.concepts, 
113                                                         org.opendaylight.protocol.util,
114                                                         com.google.common.primitives, 
115                                                         com.google.common.collect, 
116                                                         org.opendaylight.protocol.bgp.linkstate,
117                                                         com.google.common.base,
118                                                         com.google.guava,
119                                                         org.slf4j,
120                                                 </Import-Package>
121                                                 <Export-Package>
122                                                         org.opendaylight.protocol.bgp.parser,
123                                                 </Export-Package>
124                                         </instructions>
125                                 </configuration>
126                         </plugin>
127                 </plugins>
128         </build>
129
130         <distributionManagement>
131                 <site>
132                         <id>${project.artifactId}</id>
133                         <name>BGP-PARSER-API Module site</name>
134                         <url>${basedir}/target/site/${project.artifactId}</url>
135                 </site>
136         </distributionManagement>
137
138 </project>