Merge changes I7b176f78,I82a66404,Ieec67b75
[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.3.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>${netty.version}</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>com.google.code.findbugs</groupId>
39                         <artifactId>jsr305</artifactId>
40                         <version>2.0.1</version>
41                 </dependency>
42                 <dependency>
43                         <groupId>org.slf4j</groupId>
44                         <artifactId>slf4j-api</artifactId>
45                         <version>${slf4j.version}</version>
46                 </dependency>
47                 <dependency>
48                         <groupId>org.opendaylight.bgpcep</groupId>
49                         <artifactId>mockito-configuration</artifactId>
50             <version>${project.version}</version>
51                         <scope>test</scope>
52                 </dependency>
53         </dependencies>
54
55         <build>
56                 <plugins>
57                         <plugin>
58                                 <groupId>org.apache.felix</groupId>
59                                 <artifactId>maven-bundle-plugin</artifactId>
60                                 <version>${maven.bundle.version}</version>
61                                 <extensions>true</extensions>
62                                 <configuration>
63                                         <instructions>
64                                                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
65                                                 <Import-Package>
66                                                         com.google.common.base,
67                                                         com.google.common.collect,
68                                                         org.opendaylight.protocol.concepts,
69                                                         org.slf4j,
70                             javax.net.ssl,
71                             org.opendaylight.protocol.util,
72                                                         javax.annotation,
73                                                         javax.management,
74                                                         io.netty.*,
75                                                 </Import-Package>
76                                                 <Export-Package>
77                                                         org.opendaylight.protocol.framework,
78                                                 </Export-Package>
79                                         </instructions>
80                                 </configuration>
81                         </plugin>
82                         <plugin>
83                                 <groupId>org.apache.maven.plugins</groupId>
84                                 <artifactId>maven-jar-plugin</artifactId>
85                                 <version>2.4</version>
86                                 <executions>
87                                         <execution>
88                                                 <phase>package</phase>
89                                                 <goals>
90                                                         <goal>test-jar</goal>
91                                                 </goals>
92                                         </execution>
93                                 </executions>
94                         </plugin>
95                 </plugins>
96         </build>
97
98         <distributionManagement>
99                 <site>
100                         <id>${project.artifactId}</id>
101                         <name>COMMON-PROTOCOL Module site</name>
102                         <url>${basedir}/target/site/${project.artifactId}</url>
103                 </site>
104         </distributionManagement>
105
106 </project>