Revert removal of deprecated constructor in AbstractDispatcher
[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                         <version>${project.version}</version>
26                 </dependency>
27                 <dependency>
28                         <groupId>com.google.code.findbugs</groupId>
29                         <artifactId>jsr305</artifactId>
30                         <version>2.0.1</version>
31                 </dependency>
32                 <dependency>
33                         <groupId>com.google.guava</groupId>
34                         <artifactId>guava</artifactId>
35                         <version>${guava.version}</version>
36                 </dependency>
37                  <!--
38             FIXME: this is in support of the generated code. This should not
39                    be here, but the plugin should bring it in.
40         -->
41         <dependency>
42             <groupId>org.opendaylight.yangtools</groupId>
43             <artifactId>yang-binding</artifactId>
44             <version>${yang.binding.version}</version>
45         </dependency>
46         <dependency>
47             <groupId>org.opendaylight.yangtools</groupId>
48             <artifactId>yang-common</artifactId>
49             <version>${yangtools.version}</version>
50         </dependency>
51
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         <dependency>
63             <groupId>junit</groupId>
64             <artifactId>junit</artifactId>
65         </dependency>
66         </dependencies>
67
68         <build>
69         <plugins>
70                         <plugin>
71                <groupId>org.opendaylight.yangtools</groupId>
72                <artifactId>yang-maven-plugin</artifactId>
73                <version>${yangtools.version}</version>
74                <executions>
75                    <execution>
76                        <goals>
77                            <goal>generate-sources</goal>
78                        </goals>
79                        <configuration>
80                            <yangFilesRootDir>src/main/yang</yangFilesRootDir>
81                            <codeGenerators>
82                                <generator>
83                                    <codeGeneratorClass>
84                                        org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
85                                    </codeGeneratorClass>
86                                    <outputBaseDir>
87                                        target/generated-sources/sal
88                                    </outputBaseDir>
89                                </generator>
90                            </codeGenerators>
91                            <inspectDependencies>true</inspectDependencies>
92                        </configuration>
93                    </execution>
94                </executions>
95                <dependencies>
96                    <dependency>
97                        <groupId>org.opendaylight.yangtools</groupId>
98                        <artifactId>maven-sal-api-gen-plugin</artifactId>
99                        <version>${yang.binding.version}</version>
100                        <type>jar</type>
101                    </dependency>
102                </dependencies>
103            </plugin>
104                         <plugin>
105                                 <groupId>org.apache.felix</groupId>
106                                 <artifactId>maven-bundle-plugin</artifactId>
107                                 <version>${maven.bundle.version}</version>
108                                 <extensions>true</extensions>
109                                 <configuration>
110                                         <instructions>
111                                                 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
112                                                 <Export-Package>
113                             org.opendaylight.protocol.concepts,
114                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.iana.rev130816.*,
115                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ieee754.rev130819.*,
116                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.nps.concepts.rev130930.*,
117                                                 </Export-Package>
118                                         </instructions>
119                                 </configuration>
120                         </plugin>
121                 </plugins>
122         </build>
123
124         <distributionManagement>
125                 <site>
126                         <id>${project.artifactId}</id>
127                         <name>NPS-CONCEPTS Module site</name>
128                         <url>${basedir}/target/site/${project.artifactId}</url>
129                 </site>
130         </distributionManagement>
131
132 </project>