Simplify bundle plugin configuration
[bgpcep.git] / pcep / api / 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-api</artifactId>
14         <description>PCE Protocol API</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>concepts</artifactId>
25                 </dependency>
26                 <dependency>
27                         <groupId>${project.groupId}</groupId>
28                         <artifactId>framework</artifactId>
29                 </dependency>
30                 <dependency>
31                         <groupId>${project.groupId}</groupId>
32                         <artifactId>util</artifactId>
33                 </dependency>
34                 <dependency>
35                         <groupId>${project.groupId}</groupId>
36                         <artifactId>rsvp-api</artifactId>
37                 </dependency>
38         <dependency>
39                         <groupId>io.netty</groupId>
40                         <artifactId>netty-transport</artifactId>
41                 </dependency>
42                 <dependency>
43                         <groupId>com.google.guava</groupId>
44                         <artifactId>guava</artifactId>
45                 </dependency>
46                 <dependency>
47                         <groupId>org.slf4j</groupId>
48                         <artifactId>slf4j-api</artifactId>
49                 </dependency>
50
51         <!--
52             FIXME: this is in support of the generated code. This should not
53                    be here, but the plugin should bring it in.
54         -->
55         <dependency>
56             <groupId>org.opendaylight.yangtools</groupId>
57             <artifactId>yang-binding</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>org.opendaylight.yangtools</groupId>
61             <artifactId>yang-common</artifactId>
62         </dependency>
63
64         <!--
65              FIXME: these are IETF models which are pre-generated in SAL infra.
66                     This should not be here, but rather should somehow be
67                     discovered by the plugin.
68         -->
69         <dependency>
70             <groupId>org.opendaylight.yangtools.model</groupId>
71             <artifactId>ietf-inet-types</artifactId>
72         </dependency>
73
74         <!-- Testing dependencies -->
75         <dependency>
76             <groupId>junit</groupId>
77             <artifactId>junit</artifactId>
78         </dependency>
79                 <dependency>
80                         <groupId>${project.groupId}</groupId>
81                         <artifactId>mockito-configuration</artifactId>
82         </dependency>
83         </dependencies>
84
85         <build>
86         <plugins>
87
88             <plugin>
89                 <groupId>org.opendaylight.yangtools</groupId>
90                 <artifactId>yang-maven-plugin</artifactId>
91             </plugin>
92             <plugin>
93                 <groupId>org.apache.felix</groupId>
94                 <artifactId>maven-bundle-plugin</artifactId>
95                 <extensions>true</extensions>
96                 <configuration>
97                     <instructions>
98                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
99                     </instructions>
100                 </configuration>
101             </plugin>
102         </plugins>
103     </build>
104 </project>