Initial framework migration to netty.
[bgpcep.git] / framework / 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>protocol-parent</artifactId>
9                 <version>0.2.0-SNAPSHOT</version>
10         </parent>
11
12         <modelVersion>4.0.0</modelVersion>
13         <artifactId>framework</artifactId>
14         <description>Common protocol framework</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>org.opendaylight.bgpcep</groupId>
24                         <artifactId>util</artifactId>
25             <version>${project.version}</version>
26         </dependency>
27         <dependency>
28                         <groupId>io.netty</groupId>
29                         <artifactId>netty-all</artifactId>
30                         <version>4.0.0.CR9</version>
31                 </dependency>
32                 <dependency>
33                         <groupId>com.google.guava</groupId>
34                         <artifactId>guava</artifactId>
35                         <version>${guava.version}</version>
36                 </dependency>
37                 <dependency>
38                         <groupId>org.slf4j</groupId>
39                         <artifactId>slf4j-api</artifactId>
40                         <version>${slf4j.version}</version>
41                 </dependency>
42                 <dependency>
43                         <groupId>org.opendaylight.bgpcep</groupId>
44                         <artifactId>mockito-configuration</artifactId>
45             <version>${project.version}</version>
46                         <scope>test</scope>
47                 </dependency>
48         </dependencies>
49
50         <build>
51                 <plugins>
52                         <plugin>
53                                 <groupId>org.apache.felix</groupId>
54                                 <artifactId>maven-bundle-plugin</artifactId>
55                                 <version>${maven.bundle.version}</version>
56                                 <extensions>true</extensions>
57                                 <configuration>
58                                         <instructions>
59                                                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
60                                                 <Import-Package>
61                                                         com.google.common.base,
62                                                         com.google.common.collect,
63                                                         org.opendaylight.protocol.concepts,
64                                                         org.slf4j,
65                             javax.net.ssl,
66                             org.opendaylight.protocol.util,
67                                                         javax.annotation,
68                                                         javax.management,
69                                                         io.netty.*,
70                                                 </Import-Package>
71                                                 <Export-Package>
72                                                         org.opendaylight.protocol.framework,
73                                                 </Export-Package>
74                                         </instructions>
75                                 </configuration>
76                         </plugin>
77                         <plugin>
78                                 <groupId>org.apache.maven.plugins</groupId>
79                                 <artifactId>maven-jar-plugin</artifactId>
80                                 <version>2.4</version>
81                                 <executions>
82                                         <execution>
83                                                 <phase>package</phase>
84                                                 <goals>
85                                                         <goal>test-jar</goal>
86                                                 </goals>
87                                         </execution>
88                                 </executions>
89                         </plugin>
90                 </plugins>
91         </build>
92
93         <distributionManagement>
94                 <site>
95                         <id>${project.artifactId}</id>
96                         <name>COMMON-PROTOCOL Module site</name>
97                         <url>${basedir}/target/site/${project.artifactId}</url>
98                 </site>
99         </distributionManagement>
100
101 </project>