Simplify bundle plugin configuration
[bgpcep.git] / topology / segment-routing / 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>topology-parent</artifactId>
9                 <version>0.3.0-SNAPSHOT</version>
10         </parent>
11
12         <modelVersion>4.0.0</modelVersion>
13         <artifactId>topology-segment-routing</artifactId>
14         <description>Segment Routing Topology extensions</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>topology-tunnel-api</artifactId>
25                 </dependency>
26         <dependency>
27             <groupId>org.opendaylight.yangtools</groupId>
28             <artifactId>yang-binding</artifactId>
29         </dependency>
30         <dependency>
31             <groupId>org.opendaylight.yangtools</groupId>
32             <artifactId>yang-common</artifactId>
33         </dependency>
34         </dependencies>
35
36         <build>
37         <plugins>
38            <plugin>
39                <groupId>org.opendaylight.yangtools</groupId>
40                <artifactId>yang-maven-plugin</artifactId>
41            </plugin>
42            <plugin>
43                <groupId>org.apache.felix</groupId>
44                <artifactId>maven-bundle-plugin</artifactId>
45                <extensions>true</extensions>
46                <configuration>
47                    <instructions>
48                        <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
49                    </instructions>
50                </configuration>
51            </plugin>
52                 </plugins>
53         </build>
54 </project>