Merge "BUG-99: fix OSGi errors"
[bgpcep.git] / pcep / impl / 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>pcep-parent</artifactId>
9                 <version>0.3.0-SNAPSHOT</version>
10         </parent>
11
12         <modelVersion>4.0.0</modelVersion>
13         <artifactId>pcep-impl</artifactId>
14         <description>PCE Protocol Implementation</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>pcep-api</artifactId>
25                         <version>${project.version}</version>
26                 </dependency>
27                 <dependency>
28                         <groupId>${project.groupId}</groupId>
29                         <artifactId>pcep-spi</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>util</artifactId>
40                         <version>${project.version}</version>
41                 </dependency>
42                 <dependency>
43                         <groupId>${project.groupId}</groupId>
44                         <artifactId>concepts</artifactId>
45                         <version>${project.version}</version>
46                 </dependency>
47         <dependency>
48                         <groupId>io.netty</groupId>
49                         <artifactId>netty-codec</artifactId>
50             <version>${netty.version}</version>
51                 </dependency>
52         <dependency>
53                         <groupId>io.netty</groupId>
54                         <artifactId>netty-common</artifactId>
55             <version>${netty.version}</version>
56                 </dependency>
57         <dependency>
58                         <groupId>io.netty</groupId>
59                         <artifactId>netty-transport</artifactId>
60             <version>${netty.version}</version>
61                 </dependency>
62                 <dependency>
63                         <groupId>com.google.guava</groupId>
64                         <artifactId>guava</artifactId>
65                         <version>${guava.version}</version>
66                 </dependency>
67                 <dependency>
68                         <groupId>com.google.code.findbugs</groupId>
69                         <artifactId>jsr305</artifactId>
70                         <version>2.0.1</version>
71                 </dependency>
72                 <dependency>
73                         <groupId>org.slf4j</groupId>
74                         <artifactId>slf4j-api</artifactId>
75                         <version>${slf4j.version}</version>
76                 </dependency>
77         <dependency>
78             <groupId>org.opendaylight.yangtools.model</groupId>
79             <artifactId>ietf-inet-types</artifactId>
80             <version>2010.09.24-SNAPSHOT</version>
81         </dependency>
82                 <dependency>
83                         <groupId>org.mockito</groupId>
84                         <artifactId>mockito-core</artifactId>
85             <version>${mockito.version}</version>
86                         <scope>test</scope>
87                 </dependency>
88                 <dependency>
89                         <groupId>${project.groupId}</groupId>
90                         <artifactId>mockito-configuration</artifactId>
91                         <version>${project.version}</version>
92                         <scope>test</scope>
93                 </dependency>
94                 <dependency>
95                         <groupId>${project.groupId}</groupId>
96                         <artifactId>framework</artifactId>
97                         <version>${project.version}</version>
98                         <scope>test</scope>
99                         <type>test-jar</type>
100                 </dependency>
101         </dependencies>
102
103         <build>
104                 <plugins>
105                         <plugin>
106                                 <groupId>org.apache.felix</groupId>
107                                 <artifactId>maven-bundle-plugin</artifactId>
108                                 <version>${maven.bundle.version}</version>
109                                 <extensions>true</extensions>
110                                 <configuration>
111                                         <instructions>
112                                                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
113                                                 <Import-Package>
114                                                         org.opendaylight.protocol.concepts,
115                                                         org.opendaylight.protocol.framework,
116                                                         com.google.common.base,
117                                                         com.google.common.collect,
118                                                         com.google.common.primitives,
119                                                         javax.annotation,
120                                                         javax.management,
121                             javax.net.ssl,
122                                                         org.opendaylight.protocol.pcep,
123                                                         org.opendaylight.protocol.pcep.concepts,
124                                                         org.opendaylight.protocol.pcep.message,
125                                                         org.opendaylight.protocol.pcep.object,
126                                                         org.opendaylight.protocol.pcep.subobject,
127                                                         org.opendaylight.protocol.pcep.tlv,
128                             org.opendaylight.protocol.util,
129                                                         org.slf4j,
130                                                         io.netty.channel, 
131                                                         io.netty.util.concurrent,
132                                                 </Import-Package>
133                                                 <Export-Package>
134                                                         org.opendaylight.protocol.pcep.impl.*,
135                                                 </Export-Package>
136                                         </instructions>
137                                 </configuration>
138                         </plugin>
139                         <plugin>
140                                 <groupId>org.apache.maven.plugins</groupId>
141                                 <artifactId>maven-jar-plugin</artifactId>
142                                 <version>2.4</version>
143                                 <executions>
144                                         <execution>
145                                                 <phase>package</phase>
146                                                 <goals>
147                                                         <goal>test-jar</goal>
148                                                 </goals>
149                                         </execution>
150                                 </executions>
151                         </plugin>
152                 </plugins>
153         </build>
154
155         <distributionManagement>
156                 <site>
157                         <id>${project.artifactId}</id>
158                         <name>PCEP-IMPL Module site</name>
159                         <url>${basedir}/target/site/${project.artifactId}</url>
160                 </site>
161         </distributionManagement>
162
163 </project>