Merge "Unify YANG->DTO generation plugin definition"
[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             <version>${ietf.types.version}</version>
61         </dependency>
62
63         <!-- Testing dependencies -->
64         <dependency>
65             <groupId>junit</groupId>
66             <artifactId>junit</artifactId>
67         </dependency>
68         </dependencies>
69
70         <build>
71         <plugins>
72                         <plugin>
73                 <groupId>org.opendaylight.yangtools</groupId>
74                 <artifactId>yang-maven-plugin</artifactId>
75             </plugin>
76             <plugin>
77                                 <groupId>org.apache.felix</groupId>
78                                 <artifactId>maven-bundle-plugin</artifactId>
79                                 <version>${maven.bundle.version}</version>
80                                 <extensions>true</extensions>
81                                 <configuration>
82                                         <instructions>
83                                                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
84                                                 <Export-Package>
85                             org.opendaylight.protocol.concepts,
86                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.iana.rev130816.*,
87                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ieee754.rev130819.*,
88                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.network.concepts.rev131125.*,
89                                                 </Export-Package>
90                                         </instructions>
91                                 </configuration>
92                         </plugin>
93                 </plugins>
94         </build>
95
96         <distributionManagement>
97                 <site>
98                         <id>${project.artifactId}</id>
99                         <name>CONCEPTS Module site</name>
100                         <url>${basedir}/target/site/${project.artifactId}</url>
101                 </site>
102         </distributionManagement>
103
104 </project>