Unify version management: PCEP and its dependencies
[bgpcep.git] / pcep / spi / 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-spi</artifactId>
14         <description>PCE Protocol SPI</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         </dependency>
26
27                 <dependency>
28                         <groupId>${project.groupId}</groupId>
29                         <artifactId>concepts</artifactId>
30         </dependency>
31
32                 <dependency>
33                         <groupId>org.slf4j</groupId>
34                         <artifactId>slf4j-api</artifactId>
35         </dependency>
36
37         <!-- FIXME: move into pcep-spi-osgi -->
38         <dependency>
39             <groupId>org.osgi</groupId>
40             <artifactId>org.osgi.core</artifactId>
41             <version>${osgi.version}</version>
42             <scope>provided</scope>
43         </dependency>
44
45         <!-- Testing dependencies -->
46                 <dependency>
47                         <groupId>${project.groupId}</groupId>
48                         <artifactId>mockito-configuration</artifactId>
49         </dependency>
50         </dependencies>
51
52         <build>
53         <plugins>
54            <plugin>
55                <groupId>org.apache.felix</groupId>
56                <artifactId>maven-bundle-plugin</artifactId>
57                <version>${maven.bundle.version}</version>
58                <extensions>true</extensions>
59                <configuration>
60                    <instructions>
61                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
62                        <Export-Package>
63                            org.opendaylight.protocol.pcep.spi,
64                            org.opendaylight.protocol.pcep.spi.osgi,
65                        </Export-Package>
66                        <Private-Package>
67                            org.opendaylight.protocol.pcep.spi.pojo,
68                        </Private-Package>
69                    </instructions>
70                </configuration>
71            </plugin>
72                 </plugins>
73         </build>
74
75         <distributionManagement>
76                 <site>
77                         <id>${project.artifactId}</id>
78                         <name>PCEP-SPI Module site</name>
79                         <url>${basedir}/target/site/${project.artifactId}</url>
80                 </site>
81         </distributionManagement>
82
83 </project>