Simplify maven site configuration
[bgpcep.git] / 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>protocol-parent</artifactId>
9                 <version>0.3.0-SNAPSHOT</version>
10         </parent>
11
12         <modelVersion>4.0.0</modelVersion>
13         <artifactId>concepts</artifactId>
14         <description>Basic protocol 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>util</artifactId>
25         </dependency>
26
27                 <dependency>
28                         <groupId>org.slf4j</groupId>
29                         <artifactId>slf4j-api</artifactId>
30         </dependency>
31                 <dependency>
32                         <groupId>com.google.code.findbugs</groupId>
33                         <artifactId>jsr305</artifactId>
34                 </dependency>
35                 <dependency>
36                         <groupId>com.google.guava</groupId>
37                         <artifactId>guava</artifactId>
38         </dependency>
39
40                  <!--
41             FIXME: this is in support of the generated code. This should not
42                    be here, but the plugin should bring it in.
43         -->
44         <dependency>
45             <groupId>org.opendaylight.yangtools</groupId>
46             <artifactId>yang-binding</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>org.opendaylight.yangtools</groupId>
50             <artifactId>yang-common</artifactId>
51         </dependency>
52         <!--
53              FIXME: these are IETF models which are pre-generated in SAL infra.
54                     This should not be here, but rather should somehow be
55                     discovered by the plugin.
56         -->
57         <dependency>
58             <groupId>org.opendaylight.yangtools.model</groupId>
59             <artifactId>ietf-inet-types</artifactId>
60         </dependency>
61
62         <!-- Testing dependencies -->
63         <dependency>
64             <groupId>junit</groupId>
65             <artifactId>junit</artifactId>
66         </dependency>
67         </dependencies>
68
69         <build>
70         <plugins>
71                         <plugin>
72                 <groupId>org.opendaylight.yangtools</groupId>
73                 <artifactId>yang-maven-plugin</artifactId>
74             </plugin>
75             <plugin>
76                                 <groupId>org.apache.felix</groupId>
77                                 <artifactId>maven-bundle-plugin</artifactId>
78                                 <version>${maven.bundle.version}</version>
79                                 <extensions>true</extensions>
80                                 <configuration>
81                                         <instructions>
82                                                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
83                                                 <Export-Package>
84                             org.opendaylight.protocol.concepts,
85                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.iana.rev130816.*,
86                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ieee754.rev130819.*,
87                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.network.concepts.rev131125.*,
88                                                 </Export-Package>
89                                         </instructions>
90                                 </configuration>
91                         </plugin>
92                 </plugins>
93         </build>
94 </project>