Simplify bundle plugin configuration
[bgpcep.git] / bgp / concepts / 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>bgp-parent</artifactId>
9         <version>0.3.0-SNAPSHOT</version>
10         </parent>
11
12         <modelVersion>4.0.0</modelVersion>
13         <artifactId>bgp-concepts</artifactId>
14         <description>Basic BGP concepts</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>com.google.guava</groupId>
28                         <artifactId>guava</artifactId>
29         </dependency>
30
31         <!--
32             FIXME: this is in support of the generated code. This should not
33                    be here, but the plugin should bring it in.
34         -->
35         <dependency>
36             <groupId>org.opendaylight.yangtools</groupId>
37             <artifactId>yang-binding</artifactId>
38         </dependency>
39         <dependency>
40             <groupId>org.opendaylight.yangtools</groupId>
41             <artifactId>yang-common</artifactId>
42         </dependency>
43
44         <!--
45              FIXME: these are IETF models which are pre-generated in SAL infra.
46                     This should not be here, but rather should somehow be
47                     discovered by the plugin.
48         -->
49         <dependency>
50             <groupId>org.opendaylight.yangtools.model</groupId>
51             <artifactId>ietf-inet-types</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>junit</groupId>
55             <artifactId>junit</artifactId>
56         </dependency>
57         </dependencies>
58
59     <build>
60         <plugins>
61             <plugin>
62                 <groupId>org.opendaylight.yangtools</groupId>
63                 <artifactId>yang-maven-plugin</artifactId>
64             </plugin>
65             <plugin>
66                 <groupId>org.apache.felix</groupId>
67                 <artifactId>maven-bundle-plugin</artifactId>
68                 <extensions>true</extensions>
69                 <configuration>
70                     <instructions>
71                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
72                     </instructions>
73                 </configuration>
74             </plugin>
75         </plugins>
76     </build>
77 </project>